]> 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 %include        /usr/lib/rpm/macros.perl
2 Summary:        Counts bibliography entries by type
3 Summary(pl.UTF-8):      Zliczanie wpisów bibliografii w zależności od rodzaju
4 Name:           bibcount
5 Version:        1.0
6 Release:        1
7 License:        unknown
8 Group:          Applications
9 Source0:        http://www.ecst.csuchico.edu/~jacobsd/bib/archives/%{name}
10 # Source0-md5:  6ef4985c4e5fbd5780c6d186c17add08
11 URL:            http://www.ecst.csuchico.edu/~jacobsd/bib/tools/bibtex.html
12 BuildRequires:  perl-base
13 BuildRequires:  rpm-perlprov
14 BuildRequires:  sed >= 4.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Counts bibliography entries by type.
19
20 %description -l pl.UTF-8
21 bibcount zlicza wpisy bibliografii w zależności od rodzaju.
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}/*
This page took 0.090126 seconds and 3 git commands to generate.