2 # - fix it - seems to be broken
3 %include /usr/lib/rpm/macros.perl
4 Summary: Text based interactive searching
5 Summary(pl.UTF-8): Interaktywne przeszukiwanie oparte na tekście
11 Source0: http://www.ecst.csuchico.edu/~jacobsd/bib/archives/%{name}
12 # Source0-md5: d86e2f751c83e1cf15317a1be45c2941
13 URL: http://www.ecst.csuchico.edu/~jacobsd/bib/tools/bibtex.html
14 BuildRequires: perl-base
15 BuildRequires: rpm-perlprov
16 BuildRequires: sed >= 4.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Text based interactive searching. Stores information in associative
21 arrays, so is extremely fast once the database is loaded, but it
22 requires a lot of memory for large databases.
24 %description -l pl.UTF-8
25 Interaktywne przeszukiwanie oparte na tekście. Program zapisuje
26 informacje w tablicach asocjacyjnych, więc po załadowaniu bazy jest
27 bardzo szybki, ale wymaga dużo pamięci dla dużych baz danych.
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_bindir}
35 install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}
36 sed -i -e 's#/usr/local/bin/perl#/usr/bin/perl#' $RPM_BUILD_ROOT%{_bindir}/%{name}
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_bindir}/*