new upstream release 1.79.2 - upstream moved to github , switch online content to docbook CDN

This commit is contained in:
Ondřej Vašík 2017-01-02 14:05:18 +01:00
parent 23365309bd
commit 89351caa6a

View File

@ -1,5 +1,5 @@
Name: docbook5-style-xsl
Version: 1.79.1
Version: 1.79.2
Release: 1%{?dist}
Group: Applications/Text
@ -8,7 +8,7 @@ Summary: Norman Walsh's XSL stylesheets for DocBook 5.X
# Package is licensed as MIT/X (http://wiki.docbook.org/topic/DocBookLicense),
# some .js files under ./slides/browser/ are licensed MPLv1.1
License: MIT and MPLv1.1
URL: http://wiki.docbook.org/DocBookXslStylesheets
URL: https://github.com/docbook/xslt10-stylesheets
Provides: docbook-xsl-ns = %{version}
# xml-common was using /usr/share/xml until 0.6.3-8.
@ -19,7 +19,7 @@ Requires(postun): libxml2 >= 2.4.8
Conflicts: passivetex < 1.21
BuildArch: noarch
Source0: http://downloads.sourceforge.net/docbook/docbook-xsl-ns-%{version}.tar.bz2
Source0: https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F{%version}/docbook-xsl-%{version}.tar.bz2
%description
These XSL namespace aware stylesheets allow you to transform any
@ -45,7 +45,7 @@ This package contains Java extensions for XSL namespace aware stylesheets.
%endif
%prep
%setup -q -n docbook-xsl-ns-%{version}
%setup -q -n docbook-xsl-%{version}
#remove .gitignore files
rm -rf $(find -name '.gitignore' -type f)
#make ruby scripts executable
@ -85,16 +85,16 @@ rm -rf $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets/install.sh
%post
CATALOG=%{_sysconfdir}/xml/catalog
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl-ns/%{version}" \
"http://cdn.docbook.org/release/xsl/%{version}" \
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl-ns/%{version}" \
"http://cdn.docbook.org/release/xsl/%{version}" \
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl-ns/current" \
"http://cdn.docbook.org/release/xsl/current/" \
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl-ns/current" \
"http://cdn.docbook.org/release/xsl/current/" \
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
@ -107,6 +107,10 @@ if [ "$1" = 0 ]; then
fi
%changelog
* Mon Jan 02 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-1
- new upstream release 1.79.2
- upstream moved to github, switch online content to docbook CDN
* Fri Jul 08 2016 Ondrej Vasik <ovasik@redhat.com> - 1.79.1-1
- new upstream release 1.79.1