Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 9208feefd481761e5e1b8b6a0afd7ef7 > files > 2

grin-1.1.1-3mdv2010.0.src.rpm

%define name grin
%define version  1.1.1
%define release %mkrel 3

Summary: A grep-like program for searching directories full of source code
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
License: BSD
Group: Text tools
Url: https://svn.enthought.com/enthought/wiki/Grin
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: python-argparse
BuildRequires: python-devel, python-argparse, python-setuptools
BuildArch: noarch

%description
Grin is a tool for searching through directories full of source code. Although
similar to grep, it has a number of unique features:

* Recurse directories by default.
* Do not go into directories with specified names.
* Do not search files with specified extensions.
* Be able to show context lines before and after matched lines.
* Python regex syntax.
* Unless suppressed via a command line option, display the filename regardless
  of the number of files.
* Accept a file (or stdin) with a list of newline-separated filenames.
* Grep through gzipped text files.
* Be useful as a library to build custom tools quickly.

%prep
%setup -q

%install
%__rm -rf %{buildroot}
%__python setup.py install --root=%{buildroot} --record=FILELIST

%clean
%__rm -rf %{buildroot}

%files -f FILELIST
%defattr(-,root,root)
%doc *.txt examples/



%changelog
* Fri Sep 11 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.1.1-3mdv2010.0
+ Revision: 437815
- rebuild

* Tue Jan 06 2009 Funda Wang <fundawang@mandriva.org> 1.1.1-2mdv2009.1
+ Revision: 325579
- rebuild

* Wed Dec 10 2008 Lev Givon <lev@mandriva.org> 1.1.1-1mdv2009.1
+ Revision: 312530
- Update to 1.1.1.

* Thu Jul 17 2008 Lev Givon <lev@mandriva.org> 1.1-1mdv2009.0
+ Revision: 237805
- import grin


* Thu Jul 17 2008 Lev Givon <lev@mandriva.org> 1.1-1mdv2008.1
- Package for Mandriva.