]> git.pld-linux.org Git - packages/bibclean.git/blob - bibclean.spec
- release 1
[packages/bibclean.git] / bibclean.spec
1 # TODO:
2 # - patch Makefile to make clean build using DESTDIR
3 # - human-like bibcleanrc init file location
4 Summary:        BibTeX prettyprinter, portability verifier, and syntax checker
5 Summary(pl):    Narzêdzie do ³adnego drukowania, kontroli przeno¶no¶ci i sk³adni BibTeXa
6 Name:           bibclean
7 Version:        2.11.4
8 Release:        1
9 License:        GPL v2
10 Group:          Applications
11 Source0:        ftp://ftp.math.utah.edu/pub/tex/bib/%{name}-%{version}.tar.bz2
12 # Source0-md5:  7fbcae38a6227831dccd6f147260b3dc
13 URL:            http://www.ecst.csuchico.edu/~jacobsd/bib/tools/bibtex.html
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 BibTeX prettyprinter, portability verifier, and syntax checker. Some
20 other tools require that this be used before they operate, so they
21 don't have to parse arbitrary BibTeX.
22
23 %description -l pl
24 Narzêdzie do ³adnego drukowania, kontroli przeno¶no¶ci i sk³adni
25 BibTeXa. Niektóre inne narzêdzia wymagaj± tego przed u¿yciem, dziêki
26 czemu nie musz± przetwarzaæ dowolnego BibTeXa.
27
28 %prep
29 %setup -q
30
31 %build
32 %{__aclocal}
33 %{__autoconf}
34 %configure
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/etc/env.d}
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT \
43         prefix=$RPM_BUILD_ROOT%{_prefix} \
44         mandir=$RPM_BUILD_ROOT%{_mandir}/man1
45
46 echo "#BIBCLEANEXT=.ini" > $RPM_BUILD_ROOT/etc/env.d/BIBCLEANEXT
47 echo "#BIBINPUTS=\$PATH" > $RPM_BUILD_ROOT/etc/env.d/BIBINPUTS
48 # Will that work?
49 echo "BIBCLEANINI=/etc/bibcleanrc" > $RPM_BUILD_ROOT/etc/env.d/BIBCLEANINI
50
51 mv -f $RPM_BUILD_ROOT%{_bindir}/.bibcleanrc $RPM_BUILD_ROOT/etc/bibcleanrc
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc ChangeLog README *.txt *.html *.pdf *.hlp *.bok *.org *.ltx *.eok
59 %attr(755,root,root) %{_bindir}/*
60 %config(noreplace) %verify(not size mtime md5) /etc/bibcleanrc
61 %config(noreplace) %verify(not size mtime md5) /etc/env.d/*
62 %{_mandir}/man1/*.1*
This page took 0.044533 seconds and 3 git commands to generate.