2011-04-21 16:12:21 +02:00
|
|
|
#
|
|
|
|
# spec file for package bibtool
|
|
|
|
#
|
2015-07-12 23:12:38 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-04-21 16:12:21 +02:00
|
|
|
# Copyright (c) 2011 Guido Berhoerster.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2015-07-12 23:12:38 +02:00
|
|
|
|
2011-04-21 16:12:21 +02:00
|
|
|
Name: bibtool
|
2015-07-12 23:12:38 +02:00
|
|
|
Version: 2.60
|
|
|
|
Release: 0
|
2011-04-21 16:12:21 +02:00
|
|
|
Summary: Tool for Manipulating BibTeX Databases
|
2015-07-15 12:26:46 +02:00
|
|
|
License: GPL-1.0+ and CC-BY-SA-3.0
|
2011-04-21 16:12:21 +02:00
|
|
|
Group: Productivity/Publishing/TeX/Utilities
|
2015-07-12 23:12:38 +02:00
|
|
|
Url: http://www.gerd-neugebauer.de/software/TeX/BibTool/index.en.html
|
|
|
|
Source0: http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-%{version}.tar.gz
|
|
|
|
Source1: http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-%{version}.tar.gz.asc
|
|
|
|
Source2: %{name}.keyring
|
2012-03-13 17:02:27 +01:00
|
|
|
Patch1: bibtool-use-system-regex.patch
|
2015-07-12 23:12:38 +02:00
|
|
|
BuildRequires: automake
|
2012-08-19 00:25:43 +02:00
|
|
|
BuildRequires: texlive-amsfonts
|
|
|
|
BuildRequires: texlive-bibtex
|
2015-07-12 23:12:38 +02:00
|
|
|
BuildRequires: texlive-devel
|
|
|
|
BuildRequires: texlive-latex
|
|
|
|
BuildRequires: texlive-makeindex
|
2011-04-21 16:12:21 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
BibTool is a tool for manipulating BibTeX databases. BibTeX provides a means to
|
|
|
|
integrate citations into LaTeX documents. BibTool allows the manipulation of
|
|
|
|
BibTeX files which goes beyond the possibilities - and intentions - of BibTeX.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for bibtool
|
|
|
|
Group: Documentation/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains the documentation for bibtool.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n BibTool
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
ln -s makefile Makefile
|
|
|
|
make %{?_smp_mflags} doc
|
2012-03-13 17:02:27 +01:00
|
|
|
pdflatex Changes.tex
|
2011-04-21 16:12:21 +02:00
|
|
|
mkdir examples
|
2015-07-12 23:12:38 +02:00
|
|
|
sed 's|#!%{_prefix}/local/bin/tclsh|#!%{_bindir}/tclsh|' Tcl/bibtool.tcl \
|
2011-04-21 16:12:21 +02:00
|
|
|
>examples/bibtool.tcl
|
2015-07-12 23:12:38 +02:00
|
|
|
sed 's|#!%{_prefix}/local/bin/perl|#!%{_bindir}/perl|' Perl/bibtool.pl \
|
2011-04-21 16:12:21 +02:00
|
|
|
>examples/bibtool.pl
|
|
|
|
|
|
|
|
%install
|
|
|
|
make INSTALLPREFIX=%{buildroot} install
|
|
|
|
make INSTALLPREFIX=%{buildroot} install-man
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2012-03-13 17:02:27 +01:00
|
|
|
%doc COPYING README
|
2014-08-26 09:40:34 +02:00
|
|
|
%attr(0644,root,root) %{_mandir}/man1/bibtool.1*
|
2011-04-21 16:12:21 +02:00
|
|
|
%{_bindir}/bibtool
|
|
|
|
%{_libdir}/BibTool
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
2014-08-26 09:40:34 +02:00
|
|
|
%doc COPYING doc/bibtool.pdf doc/ref_card.pdf doc/c_lib.pdf Changes.pdf examples/
|
2011-04-21 16:12:21 +02:00
|
|
|
|
|
|
|
%changelog
|