]> git.pld-linux.org Git - packages/bibclean.git/blame - bibclean.spec
- typo
[packages/bibclean.git] / bibclean.spec
CommitLineData
b9384401
PG
1# TODO:
2# - patch Makefile to make clean build using DESTDIR
3# - human-like bibcleanrc init file location
4Summary: BibTeX prettyprinter, portability verifier, and syntax checker
5Name: bibclean
6Version: 2.11.4
7Release: 0.9
8License: GPL v2
9Group: Applications
10Source0: ftp://ftp.math.utah.edu/pub/tex/bib/%{name}-%{version}.tar.bz2
11# Source0-md5: 7fbcae38a6227831dccd6f147260b3dc
12URL: http://www.ecst.csuchico.edu/~jacobsd/bib/tools/bibtex.html
13BuildRequires: autoconf
14BuildRequires: automake
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18BibTeX prettyprinter, portability verifier, and syntax checker. Some other
19tools require that this be used before they operate, so they don't have to
20parse arbitrary BibTeX.
21
22%prep
23%setup -q
24
25%build
26%{__aclocal}
27%{__autoconf}
28%configure
29%{__make}
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/etc/env.d}
34
35%{__make} install \
36 DESTDIR=$RPM_BUILD_ROOT \
37 prefix=$RPM_BUILD_ROOT%{_prefix} \
38 mandir=$RPM_BUILD_ROOT%{_mandir}/man1
39
40echo "#BIBCLEANEXT=.ini" > $RPM_BUILD_ROOT/etc/env.d/BIBCLEANEXT
41echo "#BIBINPUTS=\$PATH" > $RPM_BUILD_ROOT/etc/env.d/BIBINPUTS
42# Will that work?
43echo "BIBCLEANINI=/etc/bibcleanrc" > $RPM_BUILD_ROOT/etc/env.d/BIBCLEANINI
44
45mv -f $RPM_BUILD_ROOT%{_bindir}/.bibcleanrc $RPM_BUILD_ROOT/etc/bibcleanrc
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc ChangeLog README *.txt *.html *.pdf *.hlp *.bok *.org *.ltx *.eok
53%attr(755,root,root) %{_bindir}/*
ffee9b89 54%attr(644,root,root) %config(noreplace) /etc/bibcleanrc
b9384401
PG
55%config(noreplace) /etc/env.d/*
56%{_mandir}/man1/*.1*
This page took 0.059118 seconds and 4 git commands to generate.