2 # - fix it - seems to be broken
3 %include /usr/lib/rpm/macros.perl
4 Summary: Text based interactive searching
10 Source0: http://www.ecst.csuchico.edu/~jacobsd/bib/archives/%{name}
11 # Source0-md5: d86e2f751c83e1cf15317a1be45c2941
12 URL: http://www.ecst.csuchico.edu/~jacobsd/bib/tools/bibtex.html
13 BuildRequires: perl-base
14 BuildRequires: rpm-perlprov
15 BuildRequires: sed >= 4.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Text based interactive searching. Stores information in associative arrays,
20 so is extremely fast once the database is loaded, but it requires a lot of
21 memory for large databases.
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT%{_bindir}
29 install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}
30 sed -i -e 's#/usr/local/bin/perl#/usr/bin/perl#' $RPM_BUILD_ROOT%{_bindir}/%{name}
33 rm -rf $RPM_BUILD_ROOT
36 %defattr(644,root,root,755)
37 %attr(755,root,root) %{_bindir}/*