]>
Commit | Line | Data |
---|---|---|
58ebd954 PG |
1 | %include /usr/lib/rpm/macros.perl |
2 | Summary: Counts bibliography entries by type | |
3 | Name: bibcount | |
58dd154f | 4 | Version: 1.0 |
58ebd954 PG |
5 | Release: 0.9 |
6 | License: ??? | |
7 | Group: Applications | |
8 | Source0: http://www.ecst.csuchico.edu/~jacobsd/bib/archives/%{name} | |
9 | # Source0-md5: 6ef4985c4e5fbd5780c6d186c17add08 | |
10 | URL: http://www.ecst.csuchico.edu/~jacobsd/bib/tools/bibtex.html | |
11 | BuildRequires: perl-base | |
12 | BuildRequires: rpm-perlprov | |
13 | BuildRequires: sed >= 4.0 | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Counts bibliography entries by type | |
18 | ||
19 | %prep | |
20 | ||
21 | %install | |
22 | rm -rf $RPM_BUILD_ROOT | |
23 | install -d $RPM_BUILD_ROOT%{_bindir} | |
24 | ||
25 | install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir} | |
26 | sed -i -e 's#/usr/local/bin/perl#/usr/bin/perl#' $RPM_BUILD_ROOT%{_bindir}/%{name} | |
27 | ||
28 | %clean | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | %files | |
32 | %defattr(644,root,root,755) | |
33 | %attr(755,root,root) %{_bindir}/* |