]> git.pld-linux.org Git - packages/bibcount.git/blob - bibcount.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/bibcount.git] / bibcount.spec
1 Summary:        Counts bibliography entries by type
2 Summary(pl.UTF-8):      Zliczanie wpisów bibliografii w zależności od rodzaju
3 Name:           bibcount
4 Version:        1.0
5 Release:        1
6 License:        unknown
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 %description -l pl.UTF-8
20 bibcount zlicza wpisy bibliografii w zależności od rodzaju.
21
22 %prep
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT%{_bindir}
27
28 install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}
29 sed -i -e 's#/usr/local/bin/perl#/usr/bin/perl#' $RPM_BUILD_ROOT%{_bindir}/%{name}
30
31 %clean
32 rm -rf $RPM_BUILD_ROOT
33
34 %files
35 %defattr(644,root,root,755)
36 %attr(755,root,root) %{_bindir}/*
This page took 0.152085 seconds and 3 git commands to generate.