Summary: Approximate grep
-Summary(pl): Wersja grep dopuszczaj±ca b³êdy
+Summary(pl.UTF-8): Wersja grep dopuszczająca błędy
Name: agrep
Version: 2.04
-Release: 5
+Release: 6
License: distributable not for profit, free use
Group: Applications/Text
Source0: ftp://ftp.cs.arizona.edu/agrep/%{name}-%{version}.tar.Z
+# Source0-md5: abc645404d3926a57c3f5e86a6e89ee9
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%description
+%description
Tool for fast text searching allowing errors. It's similar to egrep
(or grep or fgrep), but it is much more general and usually faster.
-%description -l pl
-agrep jest narzêdziem podobnym do grep, ale umo¿liwia przeszukiwanie
-przybli¿one.
+%description -l pl.UTF-8
+agrep jest narzędziem podobnym do grep, ale umożliwia przeszukiwanie
+przybliżone.
%prep
-%setup -q
+%setup -q
%build
-%{__make} CFLAGS="%{rpmcflags}"
+%{__make} \
+ CFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
install agrep $RPM_BUILD_ROOT%{_bindir}/agrep
install agrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/agrep.1
-gzip -9nf COPYRIGHT README agrep.algorithms agrep.chronicle contribution.list
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc COPYRIGHT README agrep.algorithms agrep.chronicle contribution.list
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*