%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) # Debuginfo is not useful for OCaml programs since gdb doesn't know about OCaml %global debug_package %{nil} Name: bibtex2html Version: 1.97 Release: 7%{?dist} Summary: Collection of tools for translating from BibTeX to HTML Group: Applications/Publishing License: GPLv2 URL: http://www.lri.fr/~filliatr/bibtex2html/index.en.html Source0: http://www.lri.fr/~filliatr/ftp/bibtex2html/%{name}-%{version}.tar.gz BuildRequires: ocaml >= 3.10.0 BuildRequires: perl BuildRequires: tex(latex) BuildRequires: texlive-preprint BuildRequires: hevea ExcludeArch: sparc64 s390 s390x ppc64 %description bibtex2html is a collection of tools for translating from BibTeX to HTML. They allow to produce, from a set of bibliography files in BibTeX format, a bibliography in HTML format. %prep %setup -q sed -i 's/-cclib -lstr//' Makefile.in for file in CHANGES README ; do mv $file timestamp && \ iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp && \ touch -r timestamp $file && \ rm timestamp done %build %configure make %{?_smp_mflags} %install %{__perl} -pi -e 's|^BINDIR=.*|BINDIR=%{buildroot}%{_bindir}|g;' Makefile %{__perl} -pi -e 's|^MANDIR =.*|MANDIR=%{buildroot}%{_mandir}|g;' Makefile make install %files %doc CHANGES README GPL COPYING manual.pdf manual.html %{_mandir}/man1/*.1.gz %{_bindir}/* %changelog * Fri Aug 15 2014 Fedora Release Engineering - 1.97-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.97-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.97-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Apr 03 2013 Guido Grazioli - 1.97-4 - Fix FTBFS * Wed Feb 13 2013 Fedora Release Engineering - 1.97-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.97-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon May 14 2012 Guido Grazioli - 1.97-1 - Update to 1.97 - Adapt to current packaging guidelines * Thu Jan 12 2012 Fedora Release Engineering - 1.96-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 19 2011 Guido Grazioli - 1.96-1 - Upstream 1.96 - Fix FTBFS * Mon Feb 07 2011 Fedora Release Engineering - 1.95-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Oct 02 2009 Guido Grazioli - 1.95-1 - Upstream 1.95 * Fri Oct 02 2009 Guido Grazioli - 1.94-1 - Upstream 1.94 * Tue Sep 22 2009 Dennis Gilmore - 1.93-5 - ExcludeArch sparc64 s390 s390x * Fri Jul 24 2009 Fedora Release Engineering - 1.93-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Mar 19 2009 Guido Grazioli 1.93-3 - added manual (no html on ppc64 until hevea available) * Wed Mar 18 2009 Guido Grazioli 1.93-2 - sanitized charset conversion - added smp make flags * Tue Mar 17 2009 Guido Grazioli 1.93-1 - initial packaging