]> git.pld-linux.org Git - packages/bibcount.git/blob - bibcount.spec
a579e61b68c18e7995f9372579bf7d40a9262dd4
[packages/bibcount.git] / bibcount.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Counts bibliography entries by type
3 Name:           bibcount
4 Version:        0.1
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}/*
This page took 0.207534 seconds and 2 git commands to generate.