Hello community, here is the log from the commit of package dblatex for openSUSE:Factory checked in at Mon Aug 15 14:09:21 CEST 2011. -------- --- dblatex/dblatex.changes 2009-08-09 12:32:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/dblatex/dblatex.changes 2011-08-12 15:16:31.000000000 +0200 @@ -1,0 +2,18 @@ +Fri Aug 12 12:59:37 UTC 2011 - toms@suse.de + +- Merged spec file with Publishing +- Added sed call to remove shebang lines in *.py files + +------------------------------------------------------------------- +Sat Jun 5 08:41:10 UTC 2010 - bernhard@bwalle.de + +Updated to version 0.3: + * Upgrade to recent Debian scripts (error handlers). + * Improve the table rendering by adding a table-width Processing + Instruction. + * Add the parameters: + - default.table.width. + - biblioentry.numbered. + * A number of bug fixes. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- dblatex-0.2.7.tar.bz2 setup.patch New: ---- dblatex-0.3.tar.bz2 dblatex-rpmlintrc dblatex-setup.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dblatex.spec ++++++ --- /var/tmp/diff_new_pack.abxvNx/_old 2011-08-15 14:07:31.000000000 +0200 +++ /var/tmp/diff_new_pack.abxvNx/_new 2011-08-15 14:07:31.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package dblatex (Version 0.2.7) +# spec file for package dblatex # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,62 +16,68 @@ # +%define name dblatex +%define _version 0.3 +%define release 1 + Summary: DocBook to LaTeX Publishing -Name: dblatex -Version: 0.2.7 -Release: 3 +Name: %{name} +Version: %{_version} +Release: 1 Source0: %{name}-%{version}.tar.bz2 -Patch0: setup.patch -License: GPL v2 or later +Source1: %{name}-rpmlintrc +Patch0: %{name}-setup.patch +License: GPL Group: Productivity/Publishing/DocBook BuildRoot: %{_tmppath}/%{name}-%{version}-build -Prefix: %{_prefix} -BuildRequires: ImageMagick libxslt python-devel python-setuptools transfig +BuildArch: noarch +BuildRequires: ImageMagick dos2unix grep libxslt python-devel pyxml transfig +Requires: pyxml Url: http://dblatex.sourceforge.net -# Take care of renaming: -%if %suse_version > 1020 Requires: docbook_4 texlive texlive-latex texlive-bin texlive-bin-latex BuildRequires: texlive texlive-bin texlive-bin-latex texlive-latex -%else -Requires: docbook_4 tetex te_latex -BuildRequires: docbook_4 te_latex tetex -%endif +%py_requires %description -dblatex is a program that transforms your SGML/XMLDocBook documents to -DVI, PostScript or PDF by translating them into pure LaTeX as a first -process. MathML 2.0 markups are supported, too. It started as a clone -of DB2LaTeX. - - +dblatex is a program that transforms your SGML/XMLDocBook +documents to DVI, PostScript or PDF by translating them +into pure LaTeX as a first process. MathML 2.0 markups +are supported, too. It started as a clone of DB2LaTeX. Authors: -------- - Beno�t Guillon <marsgui@users.sourceforge.net> + Benoît Guillon <marsgui@users.sourceforge.net> Andreas Hoenen <andreas.hoenen@arcor.de> %prep %setup -q -%patch0 -%{__cp} docs/manual.pdf . +%patch0 -p1 +%__cp docs/manual.pdf . + +# Remove any She-bang lines +sed -i '/#!/usr//d' lib/dbtexmf/dblatex/xetex/fsencoder.py \ + lib/dbtexmf/dblatex/xetex/fontspec.py \ + lib/dbtexmf/dblatex/xetex/fsconfig.py %build -env CFLAGS="$RPM_OPT_FLAGS" python setup.py build +env CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install -python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES -# Correct misplaced manual -#[ -f $RPM_BUILD_ROOT/usr/share/doc/dblatex/manual.pdf ] && rm -rf $RPM_BUILD_ROOT/usr/share/doc/dblatex/ +%{__python} setup.py install \ + --prefix=%{_prefix} \ + --root=$RPM_BUILD_ROOT \ + --record-rpm=INSTALLED_FILES + +[ -e %{py_sitedir}/dbtexmf/dblatex/xetex/fontspec.py ] && \ + dos2unix %{py_sitedir}/dbtexmf/dblatex/xetex/fontspec.py +%{__grep} -v -e '%dir %{_defaultdocdir}$' INSTALLED_FILES > _tmp +%{__mv} _tmp INSTALLED_FILES %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) -%doc manual.pdf -%{_datadir}/%{name} -%{_mandir}/man1/%{name}* -%{python_sitelib}/dbtexmf %changelog ++++++ dblatex-0.2.7.tar.bz2 -> dblatex-0.3.tar.bz2 ++++++ ++++ 50654 lines of diff (skipped) ++++++ dblatex-rpmlintrc ++++++ # addFilter("files-duplicate")++++++ dblatex-setup.patch ++++++ --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/setup.py +++ b/setup.py @@ -403,8 +403,8 @@ if __name__ == "__main__": package_dir={'dbtexmf':'lib/dbtexmf'}, package_data={'dbtexmf.core':['sgmlent.txt']}, data_files=[('share/dblatex', ['xsl', 'latex']), - ('share/doc/dblatex', pdfdocs), - ('share/doc/dblatex', htmldoc), + ('share/doc/packages/dblatex', pdfdocs), + ('share/doc/packages/dblatex', htmldoc), ('share/man/man1', ['docs/manpage/dblatex.1.gz'])], scripts=['scripts/dblatex'], cmdclass={'build_scripts': BuildScripts, ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org