Blob Blame History Raw
Name:           pss
Version:        1.40
Release:        1%{?dist}
Summary:        A power-tool for searching inside source code files

Group:          Development/Tools
License:        Public Domain
URL:            https://github.com/eliben/pss
Source0:        https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildRequires:  python3-devel, python3-setuptools
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
%{__python3} setup.py install -O1  --root $RPM_BUILD_ROOT
#rm $RPM_BUILD_ROOT/usr/bin/pss.py


%files
%doc README.rst LICENSE CHANGES
%{_bindir}/pss
%{python3_sitelib}/pss*



%changelog
* Thu Apr 09 2015 Kushal Das <kushal@fedoraprojects.org> 1.40-1
- New release of the tool on Python3

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.38-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Fri Dec 06 2013 Pierre-Yves Chibon <pingou@pingoured>fr - 1.38-2
- Change BR from python-setuptools-devel to python-setuptools
  See https://fedoraproject.org/wiki/Changes/Remove_Python-setuptools-devel

* Wed Aug 28 2013 Kushal Das <kushal@fedoraprojects.org> 1.38-1
- new release of the tool

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Wed Dec 19 2012 Kushal Das <kushal@fedoraprojects.org> 0.35-3
- removing few macros

* Fri Dec 14 2012 Kushal Das <kushal@fedoraprojects.org> 0.35-2
- updated based on suggestions in review request

* Mon Nov 19 2012 Kushal Das <kushal@fedoraprojects.org> 0.35-1
- Initial package creation