| 1 |
Summary: A Tool for manipulating BibTeX data bases
|
| 2 |
Name: BibTool
|
| 3 |
Version: 2.48
|
| 4 |
Release: 9%{?dist}
|
| 5 |
Group: Applications/Publishing
|
| 6 |
Source: ftp://ftp.dante.de/tex-archive/biblio/bibtex/utils/bibtool/BibTool-%{version}.tar.gz
|
| 7 |
URL: http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html
|
| 8 |
Patch0: BibTool-2.48-regex_DESTDIR.patch
|
| 9 |
License: GPL+
|
| 10 |
BuildRequires: tetex-latex
|
| 11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 12 |
|
| 13 |
%description
|
| 14 |
BibTeX provides an easy to use means to integrate citations and
|
| 15 |
bibliographies into LaTeX documents. But the user is left alone with
|
| 16 |
the management of the BibTeX files. The program BibTool is intended to
|
| 17 |
fill this gap. BibTool allows the manipulation of BibTeX files which
|
| 18 |
goes beyond the possibilities --- and intentions --- of BibTeX.
|
| 19 |
|
| 20 |
%prep
|
| 21 |
%setup -q
|
| 22 |
%patch0 -p1 -b .regex_DESTDIR
|
| 23 |
sed -i -e 's%^#!/usr/local/bin/tclsh%#! %{_bindir}/tclsh%' Tcl/bibtool.tcl
|
| 24 |
sed -i -e 's%^#!/usr/local/bin/perl%#! %{_bindir}/perl%' Perl/bibtool.pl
|
| 25 |
# configure will recreate the directory, but only with config.h within
|
| 26 |
rm -rf regex-0.12
|
| 27 |
|
| 28 |
%build
|
| 29 |
%configure --libdir=%{_datadir}
|
| 30 |
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
| 31 |
make doc
|
| 32 |
|
| 33 |
%install
|
| 34 |
rm -rf $RPM_BUILD_ROOT
|
| 35 |
make install install-man DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
| 36 |
|
| 37 |
%clean
|
| 38 |
rm -rf $RPM_BUILD_ROOT
|
| 39 |
|
| 40 |
%files
|
| 41 |
%defattr(-,root,root,-)
|
| 42 |
%doc Changes.xml COPYING INSTALL README THANKS
|
| 43 |
%doc Doc/bibtool.dvi Doc/ref_card.dvi
|
| 44 |
%doc Perl/ Tcl/
|
| 45 |
%{_bindir}/bibtool
|
| 46 |
%{_datadir}/BibTool/
|
| 47 |
%{_mandir}/man1/bibtool.1*
|
| 48 |
|
| 49 |
%changelog
|
| 50 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.48-9
|
| 51 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 52 |
|
| 53 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.48-8
|
| 54 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 55 |
|
| 56 |
* Thu Feb 14 2008 Patrice Dumas <pertusus@free.fr> 2.48-7
|
| 57 |
- add #define __USE_GNU since in regex GNU extensions are used
|
| 58 |
- keep timestamps and fix man page permissions
|
| 59 |
|
| 60 |
* Mon Jan 29 2007 Patrice Dumas <pertusus@free.fr> 2.48-6
|
| 61 |
- use system regex (#225108)
|
| 62 |
- honor optflags (#225108)
|
| 63 |
- merge honor_DESTDIR diff with regex changes in regex_DESTDIR
|
| 64 |
- don't ship c_lib.dvi
|
| 65 |
|
| 66 |
* Sun Sep 10 2006 Patrice Dumas <pertusus@free.fr> 2.48-5
|
| 67 |
- rebuild for FC6
|
| 68 |
|
| 69 |
* Thu Feb 16 2006 Patrice Dumas <pertusus@free.fr> 2.48-4
|
| 70 |
- rebuild for fc5
|
| 71 |
|
| 72 |
* Fri Sep 2 2005 Patrice Dumas <pertusus@free.fr> 2.48-3
|
| 73 |
- change shebangs in example scripts
|
| 74 |
|
| 75 |
* Thu Jul 14 2005 Patrice Dumas <pertusus@free.fr> 2.48-2
|
| 76 |
- update to 2.48
|
| 77 |
- use fedora template
|
| 78 |
|
| 79 |
* Mon Sep 10 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.44-1mdk
|
| 80 |
- added in contribs by Guillaume Rousse <g.rousse@linux-mandrake.com>
|
| 81 |
- first mdk release
|