Hello community,

here is the log from the commit of package suse-xsl-stylesheets for 
openSUSE:Factory checked in at 2012-05-08 10:29:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old)
 and      /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-xsl-stylesheets", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ 
/work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new/suse-xsl-stylesheets.changes
   2012-05-08 10:29:56.000000000 +0200
@@ -0,0 +1,166 @@
+-------------------------------------------------------------------
+Thu May  3 07:11:08 UTC 2012 - [email protected]
+
+- Version 1.9.6:
+  - fo: Fixed xref to external target; use article title instead of book title
+  - fo: Make formal titles float, but don't indent screen (or other objects)
+    Removed test for xep.extensions and moved float=none and clear=both
+    attributes to fo/mode-object.title.markup.xsl
+    (only needed for XEP)
+
+-------------------------------------------------------------------
+Wed Apr 25 14:13:28 UTC 2012 - [email protected]
+
+- Version 1.9.5:
+  - removes suse aspell wordlist
+  - package is norach again
+
+-------------------------------------------------------------------
+Tue Apr 24 15:15:47 UTC 2012 - [email protected]
+
+- Version 1.9.4:
+Fixed the following bugs:
+- Ticket#48: Replace Obsolete PI Mechanism for product names and numbers 
+  Preliminary, need to test it
+- Added setinfo in set for Novdoc DTD
+
+-------------------------------------------------------------------
+Tue Apr 17 09:21:36 UTC 2012 - [email protected]
+
+Version 1.9.3:
+Fixed the following bugs:
+- Ticket#69: Improve Space Between Formal Titles and Verbatim Text
+- Ticket#58: SUSE Branding: Quick Start Layout (I)
+- Ticket#59: SUSE Branding: Quick Start Layout (II)
+- Ticket#34: SUSE Branding: Stylesheets produce invalid HTML 4.01
+             Transitional
+- bnc#703489: FOP: Problems with Tables (reported upstream)
+- bnc#706459: FOP: Distance Between Page Number and Left/Right Footer
+- bnc#706464: FOP: Space Between Figure/Procedure XYZ and Title
+- bnc#706475: FOP: Some Issues with Callouts
+- bnc#706479: FOP: Line Break in <ulink> Elements
+- bnc#708637: HTML: susedoc/daps stylesheets produce invalid HTML 4.01
+              Transitional (Moved to Ticket#68) 
+
+-------------------------------------------------------------------
+Fri Mar 30 19:24:42 UTC 2012 - [email protected]
+
+Version 1.9.2:
+
+* Bugfixes:
+  - fixed SGML catalog entry generation when updating the package
+  - fixed path to admon graphics in fo stylesheets
+  - added svg admonition graphics for fo builds
+  - Fixed empty fo:table-cell with fo:block to make FOP happy
+  - Added missing booktitlepage.color.logo parameter to fo 
+    stylesheets
+  - Renamed obsolete dtdroot to styleroot in fo stylesheets
+  - fixed broken callout generation for XEP and FOP
+
+* Added more flexibilty to flyer layout: headline url can now
+    be set per suse-quickstart pi with attribute url
+
+-------------------------------------------------------------------
+Tue Mar 20 14:34:57 UTC 2012 - [email protected]
+
+* Bugfix: fixed %postun routine, so catalog entries only get removed
+          on a real package installation
+
+-------------------------------------------------------------------
+Tue Mar 20 09:26:57 UTC 2012 - [email protected]
+
+- Improved webhelp
+- Fixed Ticket#55 (Toc in PDF)
+
+-------------------------------------------------------------------
+Thu Mar 15 21:35:47 UTC 2012 - [email protected]
+
+* Installing aspell wordlist to libdir makes this package
+  architecture-specific 
+
+-------------------------------------------------------------------
+Thu Mar 15 21:29:59 UTC 2012 - [email protected]
+
+* Fixed installation procedure for aspell wordlist 
+
+-------------------------------------------------------------------
+Wed Mar 14 14:36:00 UTC 2012 - [email protected]
+
+Bugfix: - aspell wordlist is now installed in teh correct place
+        - fixed path to fo draft image in fo stylesheets
+
+-------------------------------------------------------------------
+Thu Mar  8 11:31:08 UTC 2012 - [email protected]
+
+* aspell-en-huge only seems to be available on x86-64, making it
+a recommendation 
+
+-------------------------------------------------------------------
+Tue Mar  6 10:03:40 UTC 2012 - [email protected]
+
+* Moved suse-aspell wordlist from daps to this package 
+
+-------------------------------------------------------------------
+Fri Feb 24 14:55:21 UTC 2012 - [email protected]
+
+Bugfix: Moved images/admon/* and images/navig/* to images/
+        in order to restore compatability to the original
+        DocBook stylesheets 
+
+-------------------------------------------------------------------
+Wed Feb 15 08:48:35 UTC 2012 - [email protected]
+
+Bugfix: Use absolute images paths in .fo files
+
+-------------------------------------------------------------------
+Fri Feb 10 10:15:30 UTC 2012 - [email protected]
+
+Bugfix: Added Catalog entries for the URI to
+        /etc/xml/suse-catalog.xml  
+
+-------------------------------------------------------------------
+Fri Feb 10 09:18:58 UTC 2012 - [email protected]
+
+Enhancement: Created general URI for SUSE XSLT Stylesheets
+             (ticket #39) 
+
+-------------------------------------------------------------------
+Wed Feb  8 15:23:15 UTC 2012 - [email protected]
+
+Bugfix: More path fixes 
+
+-------------------------------------------------------------------
+Wed Feb  8 14:35:28 UTC 2012 - [email protected]
+
+Bugfix:  Fixed import paths for flyer and pocket
+
+-------------------------------------------------------------------
+Wed Feb  8 14:15:51 UTC 2012 - [email protected]
+
+Bugfix:  Created fo subdirectories for flyer and pocket
+
+-------------------------------------------------------------------
+Wed Feb  8 12:57:20 UTC 2012 - [email protected]
+
+Bugfix: Includes must _not_ point to daps-xslt
+
+-------------------------------------------------------------------
+Wed Feb  8 12:40:10 UTC 2012 - [email protected]
+
+Added missing profiling stylesheet 
+
+-------------------------------------------------------------------
+Tue Feb  7 16:19:40 UTC 2012 - [email protected]
+
+More Bugfixes: First stable version 
+
+-------------------------------------------------------------------
+Tue Feb  7 15:55:49 UTC 2012 - [email protected]
+
+Bugfix: Stylesheet files were not packed 
+
+-------------------------------------------------------------------
+Tue Feb  7 14:26:16 UTC 2012 - [email protected]
+
+Initial version of a seperate SUSE stylesheets package
+

New:
----
  suse-xsl-stylesheets-1.9.6.tar.bz2
  suse-xsl-stylesheets.changes
  suse-xsl-stylesheets.rpmlintrc
  suse-xsl-stylesheets.spec
  susexsl-fetch-source

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ suse-xsl-stylesheets.spec ++++++
#
# spec file for package suse-xsl-stylesheets
#
# Copyright (c) 2011, 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
#

###############################################################
# 
# ATTENTION: Do NOT edit this file outside of
#            https://svn.code.sf.net/p/daps/svn/trunk/daps/\
#            suse-xslt/packaging/suse-xsl-stylesheets.spec
#
#  Your changes will be lost on the next update
#  If you do not have access to the SVN repository, notify
#  <[email protected]> and <[email protected]>
#  or send a patch
#
################################################################


Name:           suse-xsl-stylesheets
Version:        1.9.6

%define dtdversion      1.0
%define dtdname         novdoc
%define regcat          %{_bindir}/sgml-register-catalog
%define dbstyles        %{_datadir}/xml/docbook/stylesheet/nwalsh/current
%define novdoc_catalog  for-catalog-%{dtdname}-%{dtdversion}.xml
%define susexsl_catalog for-catalog-%{name}.xml

Release:        1
Summary:        SUSE-branded Docbook stylesheets for XSLT 1.0
License:        GPL-2.0 or GPL-3.0
Group:          Productivity/Publishing/XML
URL:            http://sourceforge.net/p/daps/suse-xslt
Source0:        %{name}-%{version}.tar.bz2
Source1:        susexsl-fetch-source
Source2:        %{name}.rpmlintrc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

BuildRequires:  docbook-xsl-stylesheets >= 1.75
BuildRequires:  fdupes
BuildRequires:  libxslt
BuildRequires:  make
BuildRequires:  trang 

Requires:       docbook
Requires:       docbook-xsl-stylesheets >= 1.75
Requires:       libxslt

Recommends:     daps
Recommends:     docbook5
Recommends:     docbook5-xsl-stylesheets

%description
SUSE-branded DocBook stylesheets for XSLT 1.0

Extensions for the DocBook XSLT 1.0 stylesheets that provide SUSE branding 
for PDF, HTML, and ePUB. This package also provides the NovDoc DTD, a subset of
the DocBook 4 DTD.

#--------------------------------------------------------------------------
%prep
%setup -q -n %{name}

#--------------------------------------------------------------------------
%build
%__make  %{?_smp_mflags}

#--------------------------------------------------------------------------
%install
make install DESTDIR=$RPM_BUILD_ROOT

# create symlinks:
%fdupes -s $RPM_BUILD_ROOT/%{_datadir}

#----------------------
%post
# register catalogs
#
# SGML CATALOG
#
if [ -x %{regcat} ]; then
  %{regcat} -a %{_datadir}/sgml/CATALOG.%{dtdname}-%{dtdversion} >/dev/null 
2>&1 || true
fi
# XML Catalogs
#
# remove existing entries first - needed for
# zypper in, since it does not call postun
# delete ...
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
  --del %{dtdname}-%{dtdversion}
# ... and add it again
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
  --add /etc/xml/%{novdoc_catalog}
# delete ...
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
  --del %{name}
# ... and add it again
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
  --add /etc/xml/%{susexsl_catalog}

exit 0

#----------------------
%postun
#
# Remove catalog entries
#
# delete catalog entries
# only run if package is really uninstalled ($1 = 0) and not
# in case of an update
#
if [ 0 = $1 ]; then 
  if [ ! -f %{_sysconfdir}/xml/%{novdoc_catalog} -a -x 
/usr/bin/edit-xml-catalog ] ; then
    # SGML: novdoc dtd entry
        echo "######################## deleting catalog in postun"
    %{regcat} -r %{_datadir}/sgml/CATALOG.%{dtdname}-%{dtdversion} >/dev/null 
2>&1 || true
    # XML
    # novdoc dtd entry
    edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
        --del %{dtdname}-%{dtdversion}
    # susexsl entry
    edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
        --del %{name}
  fi
fi

exit 0


#----------------------
%files
%defattr(-,root,root)

# Directories
%dir %{_datadir}/xml/docbook/stylesheet/suse

%dir %{_datadir}/xml/%{dtdname}
%dir %{_datadir}/xml/%{dtdname}/schema
%dir %{_datadir}/xml/%{dtdname}/schema/*
%dir %{_datadir}/xml/%{dtdname}/schema/*/1.0

%dir %{_defaultdocdir}/%{name}

# stylesheets
%{_datadir}/xml/docbook/stylesheet/suse/*

# NovDoc Schemas
%{_datadir}/xml/%{dtdname}/schema/dtd/%{dtdversion}/*
%{_datadir}/xml/%{dtdname}/schema/rng/%{dtdversion}/*

# Catalogs
%config /var/lib/sgml/CATALOG.*
%{_datadir}/sgml/CATALOG.*
%config %{_sysconfdir}/xml/*.xml

# Documentation
%doc %{_defaultdocdir}/%{name}/*

#----------------------
%changelog
++++++ suse-xsl-stylesheets.rpmlintrc ++++++
addFilter("explicit-lib-dependency libxslt")
++++++ susexsl-fetch-source ++++++
#!/bin/bash
#
# Create suse-xsl-stylesheet source tarball from SVN
#
# Copyright (C) 2011,2012 Frank Sundermeyer <[email protected]>
#
# Author:
# Frank Sundermeyer <[email protected]>

#set -x

NAME=suse-xsl-stylesheets
VERSION=
SPECFILE=${NAME}.spec
SRC_DIR=suse
NOVDOC_DIR=schema
SVNPATH=svn://svn.code.sf.net/p/daps/svn/trunk/daps
TMPDIR=$(mktemp -q -d --tmpdir susexsl_XXXXXXXX)
EXCLUDES=${TMPDIR}/${NAME}/${SRC_DIR}/packaging/exclude-files_for_susexsl_package.txt

#----------
# Functions
#----------

# exit on error
#
function exit_on_error {
    echo -e "$1"
    #rm -rf $TMPDIR
    exit 1
}
#-----
# MAIN
#-----
#
# This script needs to be called from the suse-xsl-stylesheet osc checkout
# directory, so lets check whethter we are in the correct directory
#
if [[ ! -s ${NAME}.spec && ! -d .osc ]]; then
    echo "Looks like you are not in the ${NAME} checkout directory."
    read -p "Continue anyway (y/n) [n]: " CONT
    if [[ n = $CONT || N = $CONT ]]; then
        exit_on_error "Aborted by user."
    fi
fi

#
# Export daps from SVN 
#
svn export -q $SVNPATH ${TMPDIR}/${NAME} || exit_on_error "SVN export failed"

#
# Get the version number
#
VERSION=$(egrep "^Version:\s*" ${TMPDIR}/${NAME}/${SRC_DIR}/packaging/$SPECFILE 
| sed 's/^Version:\s*//')

if [[ -z $VERSION ]]; then
    exit_on_error "Couldn't get version number from spec-file."
fi

#
# Create the tarball
#
export BZIP2=--best
tar cfh ${NAME}-${VERSION}.tar -C ${TMPDIR}/${NAME} \
    --exclude-from=$EXCLUDES --transform=s:suse/:suse-xsl-stylesheets/: \
    ${SRC_DIR} || exit_on_error "Failed to create the tarball."
# suse/aspell is excluded from tarball, because we only need one file, which we
# manually add here
tar rf ${NAME}-${VERSION}.tar -C ${TMPDIR}/${NAME} \
    --transform=s:suse:suse-xsl-stylesheets: \
    ${SRC_DIR}/aspell/suse_aspell.rws || exit_on_error "Failed to add aspell 
dictionary to the tarball."
bzip2 -9f ${NAME}-${VERSION}.tar
echo "Successfully created ${NAME}-${VERSION}.tar.bz2"

#
# Copy the spec file if necessary
#
diff -q $SPECFILE ${TMPDIR}/${NAME}/${SRC_DIR}/packaging/$SPECFILE >/dev/null
if [[ 0 = $? ]]; then
    echo "spec file is up-to-date"
else
    cp ${TMPDIR}/${NAME}/${SRC_DIR}/packaging/$SPECFILE . || exit_on_error 
"Failed to copy the specfile."
    echo "Successfully updated the spec file."
fi
    
rm -rf ${TMPDIR}

exit 0
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to