]> git.pld-linux.org Git - packages/bibclean.git/blame - bibclean.spec
- converted to UTF-8
[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
1a03404e 5Summary(pl.UTF-8): Narzędzie do ładnego drukowania, kontroli przenośności i składni BibTeXa
b9384401
PG
6Name: bibclean
7Version: 2.11.4
b7d3ba4a 8Release: 4
b9384401
PG
9License: GPL v2
10Group: Applications
11Source0: ftp://ftp.math.utah.edu/pub/tex/bib/%{name}-%{version}.tar.bz2
12# Source0-md5: 7fbcae38a6227831dccd6f147260b3dc
13URL: http://www.ecst.csuchico.edu/~jacobsd/bib/tools/bibtex.html
14BuildRequires: autoconf
15BuildRequires: automake
b7d3ba4a 16BuildRequires: rpmbuild(macros) >= 1.318
b9384401
PG
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
e8b2a785
JB
20BibTeX prettyprinter, portability verifier, and syntax checker. Some
21other tools require that this be used before they operate, so they
22don't have to parse arbitrary BibTeX.
23
1a03404e
JR
24%description -l pl.UTF-8
25Narzędzie do ładnego drukowania, kontroli przenośności i składni
26BibTeXa. Niektóre inne narzędzia wymagają tego przed użyciem, dzięki
27czemu nie muszą przetwarzać dowolnego BibTeXa.
b9384401
PG
28
29%prep
30%setup -q
31
32%build
33%{__aclocal}
34%{__autoconf}
35%configure
36%{__make}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/etc/env.d}
41
42%{__make} install \
dc170c37 43 CP="cp -p" \
b9384401
PG
44 DESTDIR=$RPM_BUILD_ROOT \
45 prefix=$RPM_BUILD_ROOT%{_prefix} \
46 mandir=$RPM_BUILD_ROOT%{_mandir}/man1
47
18660453
ER
48echo '#BIBCLEANEXT=.ini' > $RPM_BUILD_ROOT/etc/env.d/BIBCLEANEXT
49echo '#BIBINPUTS=$PATH' > $RPM_BUILD_ROOT/etc/env.d/BIBINPUTS
b9384401 50# Will that work?
18660453 51echo 'BIBCLEANINI=%{_sysconfdir}/bibcleanrc' > $RPM_BUILD_ROOT/etc/env.d/BIBCLEANINI
b9384401 52
cbd90534 53mv -f $RPM_BUILD_ROOT%{_bindir}/.bibcleanrc $RPM_BUILD_ROOT%{_sysconfdir}/bibcleanrc
b9384401
PG
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
18660453
ER
58%post
59%env_update
60
61%postun
62%env_update
63
b9384401
PG
64%files
65%defattr(644,root,root,755)
66%doc ChangeLog README *.txt *.html *.pdf *.hlp *.bok *.org *.ltx *.eok
67%attr(755,root,root) %{_bindir}/*
cbd90534
ER
68%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bibcleanrc
69%config(noreplace) %verify(not md5 mtime size) /etc/env.d/*
b9384401 70%{_mandir}/man1/*.1*
This page took 0.069353 seconds and 4 git commands to generate.