Name: pss Version: 0.35 Release: 3%{?dist} Summary: A power-tool for searching inside source code files Group: Development/Tools License: Public Domain URL: https://bitbucket.org/eliben/pss Source0: https://bitbucket.org/eliben/pss/downloads/%{name}-%{version}.tar.gz BuildRequires: python2-devel, python-setuptools-devel BuildArch: noarch %description pss is a power-tool for searching inside source code files. pss searches recursively within a directory tree, knows which extensions and file names to search and which to ignore, automatically skips directories you wouldn't want to search in (for example .svn or .git), colors its output in a helpful way, and does much more. %prep %setup -q %build %{__python} setup.py build %install %{__python} setup.py install -O1 --root $RPM_BUILD_ROOT rm $RPM_BUILD_ROOT/usr/bin/pss.py %files %doc README LICENSE CHANGES %{_bindir}/pss %{python_sitelib}/pss* %changelog * Wed Dec 19 2012 Kushal Das 0.35-3 - removing few macros * Fri Dec 14 2012 Kushal Das 0.35-2 - updated based on suggestions in review request * Mon Nov 19 2012 Kushal Das 0.35-1 - Initial package creation