- 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
This commit is contained in:
Guido Berhoerster 2012-03-13 16:02:27 +00:00 committed by Git OBS Bridge
parent f16a604f49
commit 68414f4132
7 changed files with 43 additions and 48 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:869b55eb5cb3a48709282367be7fca3c288e97c8d1ec2987ed2ecc34c575cfc3
size 521196

3
BibTool-2.54.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cff868ca4ea6c25be53edbcee548ea7fad961be0e7e5888b24f6d30dab8a3eb3
size 744530

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,7 @@
diff -urNp BibTool.orig/AutoConf/makefile.in BibTool/AutoConf/makefile.in Index: 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 --- BibTool.orig/AutoConf/makefile.in
+++ BibTool/AutoConf/makefile.in
@@ -220,9 +220,9 @@ NON_ANSI_DEFS = @DEFS@ @@ -220,9 +220,9 @@ NON_ANSI_DEFS = @DEFS@
REGEX_DIR = regex-0.12 REGEX_DIR = regex-0.12
# #
@ -13,7 +14,7 @@ diff -urNp BibTool.orig/AutoConf/makefile.in BibTool/AutoConf/makefile.in
# ------------------------------------------------------- # -------------------------------------------------------
# Kpathsea Library support. # Kpathsea Library support.
@@ -473,8 +473,8 @@ $(OFILES): $(MAKEFILE) @@ -477,8 +477,8 @@ $(OFILES): $(MAKEFILE)
# __________________________________________________________________ # __________________________________________________________________
# Targets from the GNU Regular Expression Library. # Targets from the GNU Regular Expression Library.
@ -24,7 +25,7 @@ diff -urNp BibTool.orig/AutoConf/makefile.in BibTool/AutoConf/makefile.in
bibtcl: bibtcl:
@@ -503,7 +503,7 @@ test check: @@ -510,7 +510,7 @@ test check:
(cd Test; $(MAKE)) (cd Test; $(MAKE))
libbib.a: $(OLIBFILES) libbib.a: $(OLIBFILES)
@ -33,9 +34,10 @@ diff -urNp BibTool.orig/AutoConf/makefile.in BibTool/AutoConf/makefile.in
$(RANLIB) $@ $(RANLIB) $@
depend: depend:
diff -urNp BibTool.orig/rewrite.c BibTool/rewrite.c Index: 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 --- BibTool.orig/rewrite.c
+++ BibTool/rewrite.c
@@ -24,7 +24,8 @@ @@ -24,7 +24,8 @@
#include <bibtool/rewrite.h> #include <bibtool/rewrite.h>

View File

@ -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 Thu Dec 22 00:25:08 UTC 2011 - gber@opensuse.org

View File

@ -17,16 +17,14 @@
# #
Name: bibtool Name: bibtool
Version: 2.51 Version: 2.54
Release: 1 Release: 1
License: GPL-1.0+ License: GPL-1.0+
Summary: Tool for Manipulating BibTeX Databases Summary: Tool for Manipulating BibTeX Databases
Url: http://bibtool.sarovar.org/ Url: http://bibtool.sarovar.org/
Group: Productivity/Publishing/TeX/Utilities Group: Productivity/Publishing/TeX/Utilities
Source: BibTool-%{version}.tar.bz2 Source: BibTool-%{version}.tar.gz
Patch0: %{name}-honor-cflags.patch Patch1: bibtool-use-system-regex.patch
Patch1: %{name}-use-system-regex.patch
Patch2: %{name}-fix-libkpathsea-detection.patch
BuildRequires: texlive-latex BuildRequires: texlive-latex
BuildRequires: texlive-devel BuildRequires: texlive-devel
BuildRequires: automake 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. BibTeX files which goes beyond the possibilities - and intentions - of BibTeX.
%package doc %package doc
License: GPLv1 License: GPL-1.0+
Summary: Documentation for bibtool Summary: Documentation for bibtool
Group: Documentation/Other Group: Documentation/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -49,9 +47,7 @@ This package contains the documentation for bibtool.
%prep %prep
%setup -q -n BibTool %setup -q -n BibTool
%patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
autoreconf -fi autoreconf -fi
@ -59,12 +55,12 @@ autoreconf -fi
make %{?_smp_mflags} make %{?_smp_mflags}
ln -s makefile Makefile ln -s makefile Makefile
make %{?_smp_mflags} doc make %{?_smp_mflags} doc
pdflatex Changes.tex
mkdir examples mkdir examples
sed 's|#!/usr/local/bin/tclsh|#!/usr/bin/tclsh|' Tcl/bibtool.tcl \ sed 's|#!/usr/local/bin/tclsh|#!/usr/bin/tclsh|' Tcl/bibtool.tcl \
>examples/bibtool.tcl >examples/bibtool.tcl
sed 's|#!/usr/local/bin/perl|#!/usr/bin/perl|' Perl/bibtool.pl \ sed 's|#!/usr/local/bin/perl|#!/usr/bin/perl|' Perl/bibtool.pl \
>examples/bibtool.pl >examples/bibtool.pl
chmod 755 examples/*
%install %install
make INSTALLPREFIX=%{buildroot} install make INSTALLPREFIX=%{buildroot} install
@ -75,13 +71,13 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README examples %doc COPYING README
%doc %attr(0644,root,root) %{_mandir}/man1/bibtool.1* %doc %attr(0644,root,root) %{_mandir}/man1/bibtool.1*
%{_bindir}/bibtool %{_bindir}/bibtool
%{_libdir}/BibTool %{_libdir}/BibTool
%files doc %files doc
%defattr(-,root,root,-) %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 %changelog