Summary: A Tool for manipulating BibTeX data bases Name: BibTool Version: 2.48 Release: 8%{?dist} Group: Applications/Publishing Source: ftp://ftp.dante.de/tex-archive/biblio/bibtex/utils/bibtool/BibTool-%{version}.tar.gz URL: http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html Patch0: BibTool-2.48-regex_DESTDIR.patch License: GPL+ BuildRequires: tetex-latex BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description BibTeX provides an easy to use means to integrate citations and bibliographies into LaTeX documents. But the user is left alone with the management of the BibTeX files. The program BibTool is intended to fill this gap. BibTool allows the manipulation of BibTeX files which goes beyond the possibilities --- and intentions --- of BibTeX. %prep %setup -q %patch0 -p1 -b .regex_DESTDIR sed -i -e 's%^#!/usr/local/bin/tclsh%#! %{_bindir}/tclsh%' Tcl/bibtool.tcl sed -i -e 's%^#!/usr/local/bin/perl%#! %{_bindir}/perl%' Perl/bibtool.pl # configure will recreate the directory, but only with config.h within rm -rf regex-0.12 %build %configure --libdir=%{_datadir} make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" make doc %install rm -rf $RPM_BUILD_ROOT make install install-man DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes.xml COPYING INSTALL README THANKS %doc Doc/bibtool.dvi Doc/ref_card.dvi %doc Perl/ Tcl/ %{_bindir}/bibtool %{_datadir}/BibTool/ %{_mandir}/man1/bibtool.1* %changelog * Mon Feb 23 2009 Fedora Release Engineering - 2.48-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 14 2008 Patrice Dumas 2.48-7 - add #define __USE_GNU since in regex GNU extensions are used - keep timestamps and fix man page permissions * Mon Jan 29 2007 Patrice Dumas 2.48-6 - use system regex (#225108) - honor optflags (#225108) - merge honor_DESTDIR diff with regex changes in regex_DESTDIR - don't ship c_lib.dvi * Sun Sep 10 2006 Patrice Dumas 2.48-5 - rebuild for FC6 * Thu Feb 16 2006 Patrice Dumas 2.48-4 - rebuild for fc5 * Fri Sep 2 2005 Patrice Dumas 2.48-3 - change shebangs in example scripts * Thu Jul 14 2005 Patrice Dumas 2.48-2 - update to 2.48 - use fedora template * Mon Sep 10 2001 Lenny Cartier 2.44-1mdk - added in contribs by Guillaume Rousse - first mdk release