- initial release. It works
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 12 Jul 2004 21:46:17 +0000 (21:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bibclean.spec -> 1.1

bibclean.spec [new file with mode: 0644]

diff --git a/bibclean.spec b/bibclean.spec
new file mode 100644 (file)
index 0000000..b7e776d
--- /dev/null
@@ -0,0 +1,56 @@
+# TODO:
+# - patch Makefile to make clean build using DESTDIR
+# - human-like bibcleanrc init file location
+Summary:       BibTeX prettyprinter, portability verifier, and syntax checker
+Name:          bibclean
+Version:       2.11.4
+Release:       0.9
+License:       GPL v2
+Group:         Applications
+Source0:       ftp://ftp.math.utah.edu/pub/tex/bib/%{name}-%{version}.tar.bz2
+# Source0-md5: 7fbcae38a6227831dccd6f147260b3dc
+URL:           http://www.ecst.csuchico.edu/~jacobsd/bib/tools/bibtex.html
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+BibTeX prettyprinter, portability verifier, and syntax checker. Some other
+tools require that this be used before they operate, so they don't have to
+parse arbitrary BibTeX.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/etc/env.d}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       mandir=$RPM_BUILD_ROOT%{_mandir}/man1
+
+echo "#BIBCLEANEXT=.ini" > $RPM_BUILD_ROOT/etc/env.d/BIBCLEANEXT
+echo "#BIBINPUTS=\$PATH" > $RPM_BUILD_ROOT/etc/env.d/BIBINPUTS
+# Will that work?
+echo "BIBCLEANINI=/etc/bibcleanrc" > $RPM_BUILD_ROOT/etc/env.d/BIBCLEANINI
+
+mv -f $RPM_BUILD_ROOT%{_bindir}/.bibcleanrc $RPM_BUILD_ROOT/etc/bibcleanrc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README *.txt *.html *.pdf *.hlp *.bok *.org *.ltx *.eok
+%attr(755,root,root) %{_bindir}/*
+%attr(644,root,root) %config(noreplace) /etc/.bibcleanrc
+%config(noreplace) /etc/env.d/*
+%{_mandir}/man1/*.1*
This page took 0.124236 seconds and 4 git commands to generate.