]>
Commit | Line | Data |
---|---|---|
6e110393 PG |
1 | # TODO: |
2 | # - fix it - seems to be broken | |
d096325a PG |
3 | %include /usr/lib/rpm/macros.perl |
4 | Summary: Text based interactive searching | |
5 | Name: bibtv | |
6 | Version: 0.2.7 | |
7 | Release: 0.9 | |
8 | License: ??? | |
9 | Group: Applications | |
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) | |
17 | ||
18 | %description | |
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. | |
22 | ||
23 | %prep | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | install -d $RPM_BUILD_ROOT%{_bindir} | |
28 | ||
29 | install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir} | |
30 | sed -i -e 's#/usr/local/bin/perl#/usr/bin/perl#' $RPM_BUILD_ROOT%{_bindir}/%{name} | |
31 | ||
32 | %clean | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %files | |
36 | %defattr(644,root,root,755) | |
37 | %attr(755,root,root) %{_bindir}/* |