From 68414f4132c45138d05e5dbd8ee1a37997e0275e9c52af910e5cb82468f5dbfe Mon Sep 17 00:00:00 2001 From: Guido Berhoerster Date: Tue, 13 Mar 2012 16:02:27 +0000 Subject: [PATCH] - update to version 2.54 - command line parameter -V documented - resource key.make.alias added to create new @ALIAS records for any newly generated key - resource apply.alias added to expand the @ALIAS records - resource apply.include added to expand the @INCLUDE records - resource apply.modify added to expand the @MODIFY records - error message for -o without parameter added - fixed @ALIAS and @INCLUDE records not being printed - in tex.define spaces before the = are ignored instead of leading to unwanted definitions - the prepared makefiles for various operating systems missed an entry for crossref.[cho] - typo in help text and copyright year fixed - do not make example scripts in order to prevent unwanted dependency-generation - move examples to -doc subpackage and package the changelog - removed obsolete bibtool-fix-libkpathsea-detection.patch and bibtool-honor-cflags.patch OBS-URL: https://build.opensuse.org/package/show/Publishing/bibtool?expand=0&rev=3 --- BibTool-2.51.tar.bz2 | 3 --- BibTool-2.54.tar.gz | 3 +++ bibtool-fix-libkpathsea-detection.patch | 14 -------------- bibtool-honor-cflags.patch | 12 ------------ bibtool-use-system-regex.patch | 18 ++++++++++-------- bibtool.changes | 23 +++++++++++++++++++++++ bibtool.spec | 18 +++++++----------- 7 files changed, 43 insertions(+), 48 deletions(-) delete mode 100644 BibTool-2.51.tar.bz2 create mode 100644 BibTool-2.54.tar.gz delete mode 100644 bibtool-fix-libkpathsea-detection.patch delete mode 100644 bibtool-honor-cflags.patch diff --git a/BibTool-2.51.tar.bz2 b/BibTool-2.51.tar.bz2 deleted file mode 100644 index 8e535fe..0000000 --- a/BibTool-2.51.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:869b55eb5cb3a48709282367be7fca3c288e97c8d1ec2987ed2ecc34c575cfc3 -size 521196 diff --git a/BibTool-2.54.tar.gz b/BibTool-2.54.tar.gz new file mode 100644 index 0000000..0199275 --- /dev/null +++ b/BibTool-2.54.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cff868ca4ea6c25be53edbcee548ea7fad961be0e7e5888b24f6d30dab8a3eb3 +size 744530 diff --git a/bibtool-fix-libkpathsea-detection.patch b/bibtool-fix-libkpathsea-detection.patch deleted file mode 100644 index da15691..0000000 --- a/bibtool-fix-libkpathsea-detection.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ur BibTool.orig/configure.in BibTool/configure.in ---- BibTool.orig/configure.in 2010-02-27 12:40:16.000000000 +0100 -+++ BibTool/configure.in 2011-04-16 13:39:01.521999963 +0200 -@@ -78,6 +78,10 @@ - kpathsea_dir=$cand - kpathsea_def="-DHAVE_LIBKPATHSEA -I$cand" - kpathsea_lib=$cand/../lib/libkpathsea.a -+ elif test -f ${libdir}/libkpathsea.a; then -+ kpathsea_dir=$cand -+ kpathsea_def="-DHAVE_LIBKPATHSEA -I$cand" -+ kpathsea_lib=${libdir}/libkpathsea.a - else - if test -f $cand/kpathsea/STATIC/libkpathsea.a; then - kpathsea_lib=$cand/kpathsea/STATIC/libkpathsea.a diff --git a/bibtool-honor-cflags.patch b/bibtool-honor-cflags.patch deleted file mode 100644 index 5c57cdb..0000000 --- a/bibtool-honor-cflags.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urNp BibTool.orig/AutoConf/makefile.in BibTool/AutoConf/makefile.in ---- BibTool.orig/AutoConf/makefile.in 2010-04-02 17:47:35.000000000 +0200 -+++ BibTool/AutoConf/makefile.in 2011-04-04 18:43:55.000000000 +0200 -@@ -86,7 +86,7 @@ CC = @CC@ - # optimizer is turned on. - # - --CFLAGS = -+CFLAGS = @CFLAGS@ - # CFLAGS = -O - # GNU C - # CFLAGS = -g -Wall diff --git a/bibtool-use-system-regex.patch b/bibtool-use-system-regex.patch index 0a7bdd8..1d40430 100644 --- a/bibtool-use-system-regex.patch +++ b/bibtool-use-system-regex.patch @@ -1,6 +1,7 @@ -diff -urNp BibTool.orig/AutoConf/makefile.in BibTool/AutoConf/makefile.in ---- BibTool.orig/AutoConf/makefile.in 2011-04-04 18:43:55.000000000 +0200 -+++ BibTool/AutoConf/makefile.in 2011-04-04 18:57:14.000000000 +0200 +Index: BibTool/AutoConf/makefile.in +=================================================================== +--- BibTool.orig/AutoConf/makefile.in ++++ BibTool/AutoConf/makefile.in @@ -220,9 +220,9 @@ NON_ANSI_DEFS = @DEFS@ REGEX_DIR = regex-0.12 # @@ -13,7 +14,7 @@ diff -urNp BibTool.orig/AutoConf/makefile.in BibTool/AutoConf/makefile.in # ------------------------------------------------------- # Kpathsea Library support. -@@ -473,8 +473,8 @@ $(OFILES): $(MAKEFILE) +@@ -477,8 +477,8 @@ $(OFILES): $(MAKEFILE) # __________________________________________________________________ # Targets from the GNU Regular Expression Library. @@ -24,7 +25,7 @@ diff -urNp BibTool.orig/AutoConf/makefile.in BibTool/AutoConf/makefile.in bibtcl: -@@ -503,7 +503,7 @@ test check: +@@ -510,7 +510,7 @@ test check: (cd Test; $(MAKE)) libbib.a: $(OLIBFILES) @@ -33,9 +34,10 @@ diff -urNp BibTool.orig/AutoConf/makefile.in BibTool/AutoConf/makefile.in $(RANLIB) $@ depend: -diff -urNp BibTool.orig/rewrite.c BibTool/rewrite.c ---- BibTool.orig/rewrite.c 2010-02-27 12:40:16.000000000 +0100 -+++ BibTool/rewrite.c 2011-04-04 19:08:00.000000000 +0200 +Index: BibTool/rewrite.c +=================================================================== +--- BibTool.orig/rewrite.c ++++ BibTool/rewrite.c @@ -24,7 +24,8 @@ #include diff --git a/bibtool.changes b/bibtool.changes index 98973e6..8d0d480 100644 --- a/bibtool.changes +++ b/bibtool.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue Mar 13 15:39:58 UTC 2012 - gber@opensuse.org + +- update to version 2.54 + - command line parameter -V documented + - resource key.make.alias added to create new @ALIAS records for + any newly generated key + - resource apply.alias added to expand the @ALIAS records + - resource apply.include added to expand the @INCLUDE records + - resource apply.modify added to expand the @MODIFY records + - error message for -o without parameter added + - fixed @ALIAS and @INCLUDE records not being printed + - in tex.define spaces before the = are ignored instead of + leading to unwanted definitions + - the prepared makefiles for various operating systems missed an + entry for crossref.[cho] + - typo in help text and copyright year fixed +- do not make example scripts in order to prevent unwanted + dependency-generation +- move examples to -doc subpackage and package the changelog +- removed obsolete bibtool-fix-libkpathsea-detection.patch and + bibtool-honor-cflags.patch + ------------------------------------------------------------------- Thu Dec 22 00:25:08 UTC 2011 - gber@opensuse.org diff --git a/bibtool.spec b/bibtool.spec index d3fb1aa..3d42e29 100644 --- a/bibtool.spec +++ b/bibtool.spec @@ -17,16 +17,14 @@ # Name: bibtool -Version: 2.51 +Version: 2.54 Release: 1 License: GPL-1.0+ Summary: Tool for Manipulating BibTeX Databases Url: http://bibtool.sarovar.org/ Group: Productivity/Publishing/TeX/Utilities -Source: BibTool-%{version}.tar.bz2 -Patch0: %{name}-honor-cflags.patch -Patch1: %{name}-use-system-regex.patch -Patch2: %{name}-fix-libkpathsea-detection.patch +Source: BibTool-%{version}.tar.gz +Patch1: bibtool-use-system-regex.patch BuildRequires: texlive-latex BuildRequires: texlive-devel BuildRequires: automake @@ -38,7 +36,7 @@ integrate citations into LaTeX documents. BibTool allows the manipulation of BibTeX files which goes beyond the possibilities - and intentions - of BibTeX. %package doc -License: GPLv1 +License: GPL-1.0+ Summary: Documentation for bibtool Group: Documentation/Other Requires: %{name} = %{version} @@ -49,9 +47,7 @@ This package contains the documentation for bibtool. %prep %setup -q -n BibTool -%patch0 -p1 %patch1 -p1 -%patch2 -p1 %build autoreconf -fi @@ -59,12 +55,12 @@ autoreconf -fi make %{?_smp_mflags} ln -s makefile Makefile make %{?_smp_mflags} doc +pdflatex Changes.tex mkdir examples sed 's|#!/usr/local/bin/tclsh|#!/usr/bin/tclsh|' Tcl/bibtool.tcl \ >examples/bibtool.tcl sed 's|#!/usr/local/bin/perl|#!/usr/bin/perl|' Perl/bibtool.pl \ >examples/bibtool.pl -chmod 755 examples/* %install make INSTALLPREFIX=%{buildroot} install @@ -75,13 +71,13 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc COPYING README examples +%doc COPYING README %doc %attr(0644,root,root) %{_mandir}/man1/bibtool.1* %{_bindir}/bibtool %{_libdir}/BibTool %files doc %defattr(-,root,root,-) -%doc COPYING Doc/bibtool.pdf Doc/ref_card.pdf +%doc COPYING Doc/bibtool.pdf Doc/ref_card.pdf Changes.pdf examples/ %changelog