diff --git a/suse-xsl-stylesheets-1.9.tar.bz2 b/suse-xsl-stylesheets-1.9.tar.bz2 index 2ce2d3a..3c539ba 100644 --- a/suse-xsl-stylesheets-1.9.tar.bz2 +++ b/suse-xsl-stylesheets-1.9.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e3dae89febc45340a950c20dc81b5cc0c28e2d345cba0955712f011bf65c4a91 -size 205938 +oid sha256:5dc172854d16f8f8aea09726a4a2dbfbd9c4e1685c7cd6b94f8429b02fe4e08b +size 252206 diff --git a/suse-xsl-stylesheets.changes b/suse-xsl-stylesheets.changes index 7083f1e..428dc8d 100644 --- a/suse-xsl-stylesheets.changes +++ b/suse-xsl-stylesheets.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 6 10:03:40 UTC 2012 - fsundermeyer@opensuse.org + +* Moved suse-aspell wordlist from daps to this package + ------------------------------------------------------------------- Fri Feb 24 14:55:21 UTC 2012 - fsundermeyer@opensuse.org diff --git a/suse-xsl-stylesheets.spec b/suse-xsl-stylesheets.spec index 07c45a0..7646ee1 100644 --- a/suse-xsl-stylesheets.spec +++ b/suse-xsl-stylesheets.spec @@ -50,6 +50,7 @@ BuildRequires: libxslt BuildRequires: make BuildRequires: trang +Requires: aspell aspell-en aspell-en-huge Requires: docbook Requires: docbook-xsl-stylesheets >= 1.75 Requires: libxslt @@ -144,6 +145,8 @@ exit 0 %dir %{_datadir}/xml/%{dtdname}/schema/* %dir %{_datadir}/xml/%{dtdname}/schema/*/1.0 +%dir %{_datadir}/aspell-0.60/ + %dir %{_defaultdocdir}/%{name} # stylesheets @@ -161,5 +164,8 @@ exit 0 # Documentation %doc %{_defaultdocdir}/%{name}/* +# aspell +%{_datadir}/aspell-0.60/suse_aspell.rws + #---------------------- %changelog diff --git a/susexsl-fetch-source b/susexsl-fetch-source index 4526a12..a55cb9d 100644 --- a/susexsl-fetch-source +++ b/susexsl-fetch-source @@ -12,7 +12,7 @@ NAME=suse-xsl-stylesheets VERSION= SPECFILE=${NAME}.spec -SRC_DIR=suse-xslt +SRC_DIR=suse NOVDOC_DIR=schema SVNPATH=svn://svn.code.sf.net/p/daps/svn/trunk/daps TMPDIR=$(mktemp -q -d --tmpdir susexsl_XXXXXXXX) @@ -47,7 +47,7 @@ fi # # Export daps from SVN # -svn export $SVNPATH ${TMPDIR}/${NAME} || exit_on_error "SVN export failed" +svn export -q $SVNPATH ${TMPDIR}/${NAME} || exit_on_error "SVN export failed" # # Get the version number @@ -62,12 +62,14 @@ fi # Create the tarball # export BZIP2=--best -tar cvhf ${NAME}-${VERSION}.tar -C ${TMPDIR}/${NAME} \ - --exclude-from=$EXCLUDES --transform=s:suse-xslt:suse-xsl-stylesheets: \ +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." -tar rvhf ${NAME}-${VERSION}.tar -C ${TMPDIR}/${NAME} \ - --transform=s:${NOVDOC_DIR}:suse-xsl-stylesheets/${NOVDOC_DIR}: \ - $NOVDOC_DIR || exit_on_error "Failed to add $NOVDOC_DIR to 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"