1 %include /usr/lib/rpm/macros.perl
2 Summary: Extracts journals names
8 Source0: http://www.ecst.csuchico.edu/~jacobsd/bib/archives/%{name}
9 # Source0-md5: 711d05f757f91023e3822d73ff05e414
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)
17 Extracts journals names, which can be used to check for misspellings
23 rm -rf $RPM_BUILD_ROOT
24 install -d $RPM_BUILD_ROOT%{_bindir}
26 install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}
27 sed -i -e 's#/usr/local/bin/perl#/usr/bin/perl#' $RPM_BUILD_ROOT%{_bindir}/%{name}
30 rm -rf $RPM_BUILD_ROOT
33 %defattr(644,root,root,755)
34 %attr(755,root,root) %{_bindir}/*