2009-01-14 13:10:07 +00:00
|
|
|
Name: docbook5-style-xsl
|
2017-01-02 13:05:18 +00:00
|
|
|
Version: 1.79.2
|
2024-06-24 15:40:34 +00:00
|
|
|
Release: 19%{?dist}
|
2009-01-14 13:10:07 +00:00
|
|
|
|
|
|
|
Summary: Norman Walsh's XSL stylesheets for DocBook 5.X
|
|
|
|
|
2010-02-23 13:45:28 +00:00
|
|
|
# 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
|
2017-01-02 13:05:18 +00:00
|
|
|
URL: https://github.com/docbook/xslt10-stylesheets
|
2009-01-14 13:10:07 +00:00
|
|
|
|
|
|
|
Provides: docbook-xsl-ns = %{version}
|
|
|
|
# xml-common was using /usr/share/xml until 0.6.3-8.
|
|
|
|
Requires: xml-common >= 0.6.3-8
|
|
|
|
# libxml2 required because of usage of /usr/bin/xmlcatalog
|
|
|
|
Requires(post): libxml2 >= 2.4.8
|
|
|
|
Requires(postun): libxml2 >= 2.4.8
|
|
|
|
Conflicts: passivetex < 1.21
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2017-01-02 13:05:18 +00:00
|
|
|
Source0: https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F{%version}/docbook-xsl-%{version}.tar.bz2
|
2009-01-14 13:10:07 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
These XSL namespace aware stylesheets allow you to transform any
|
|
|
|
DocBook 5 document to other formats, such as HTML, manpages, FO,
|
|
|
|
XHMTL and other formats. They are highly customizable. For more
|
|
|
|
information see W3C page about XSL.
|
|
|
|
|
2014-09-05 15:15:42 +00:00
|
|
|
#Don't ship Java extensions in Fedora as they are not compiled from the source
|
|
|
|
#Shiping sources instead of binary jars was requested by
|
|
|
|
#https://lists.oasis-open.org/archives/docbook-apps/201408/msg00008.html
|
|
|
|
#Sources available in the docbook stylesheets svn repository, but not packaged.
|
|
|
|
%if 0%{?rhel} >= 7
|
2014-07-16 10:55:13 +00:00
|
|
|
%package extensions
|
|
|
|
Summary: Norman Walsh's XSL stylesheets extensions 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 ASL 2.0
|
|
|
|
Requires: docbook-xsl-ns = %{version}
|
|
|
|
|
|
|
|
%description extensions
|
|
|
|
This package contains Java extensions for XSL namespace aware stylesheets.
|
2014-09-05 15:15:42 +00:00
|
|
|
%endif
|
2014-07-16 10:55:13 +00:00
|
|
|
|
2009-01-14 13:10:07 +00:00
|
|
|
%prep
|
2017-01-02 13:05:18 +00:00
|
|
|
%setup -q -n docbook-xsl-%{version}
|
2009-01-14 13:10:07 +00:00
|
|
|
#remove .gitignore files
|
|
|
|
rm -rf $(find -name '.gitignore' -type f)
|
|
|
|
#make ruby scripts executable
|
|
|
|
chmod +x epub/bin/dbtoepub
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
mkdir -p $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version
|
|
|
|
cp -a [[:lower:]]* $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/
|
2013-01-03 09:02:17 +00:00
|
|
|
cp -a VERSION $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/VERSION.xsl
|
|
|
|
ln -s VERSION.xsl \
|
|
|
|
$DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/VERSION
|
2009-01-14 13:10:07 +00:00
|
|
|
ln -s xsl-ns-stylesheets-%{version} \
|
|
|
|
$DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets
|
|
|
|
|
|
|
|
# Don't ship install shell script.
|
|
|
|
rm -rf $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets/install.sh
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc BUGS
|
|
|
|
%doc README COPYING
|
|
|
|
%doc TODO NEWS
|
2009-02-13 10:19:45 +00:00
|
|
|
%doc RELEASE-NOTES.*
|
2009-01-14 13:10:07 +00:00
|
|
|
%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}
|
|
|
|
%{_datadir}/sgml/docbook/xsl-ns-stylesheets
|
2014-07-16 19:23:43 +00:00
|
|
|
%exclude %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions
|
2014-07-16 10:55:13 +00:00
|
|
|
|
2014-09-05 15:15:42 +00:00
|
|
|
%if 0%{?rhel} >= 7
|
2014-07-16 10:55:13 +00:00
|
|
|
%files extensions
|
|
|
|
%doc extensions/README.txt extensions/LICENSE.txt
|
2014-07-16 19:23:43 +00:00
|
|
|
%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions
|
2014-09-05 15:15:42 +00:00
|
|
|
%endif
|
2009-01-14 13:10:07 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
CATALOG=%{_sysconfdir}/xml/catalog
|
|
|
|
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
|
2017-01-02 13:05:18 +00:00
|
|
|
"http://cdn.docbook.org/release/xsl/%{version}" \
|
2009-01-14 13:10:07 +00:00
|
|
|
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
|
|
|
|
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
|
2017-01-02 13:05:18 +00:00
|
|
|
"http://cdn.docbook.org/release/xsl/%{version}" \
|
2009-01-14 13:10:07 +00:00
|
|
|
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
|
|
|
|
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
|
2017-01-02 13:05:18 +00:00
|
|
|
"http://cdn.docbook.org/release/xsl/current/" \
|
2009-01-14 13:10:07 +00:00
|
|
|
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
|
|
|
|
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
|
2017-01-02 13:05:18 +00:00
|
|
|
"http://cdn.docbook.org/release/xsl/current/" \
|
2009-01-14 13:10:07 +00:00
|
|
|
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
|
|
|
|
|
2017-01-03 09:29:11 +00:00
|
|
|
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
|
|
|
|
"http://docbook.sourceforge.net/release/xsl-ns/current" \
|
|
|
|
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
|
|
|
|
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
|
|
|
|
"http://docbook.sourceforge.net/release/xsl-ns/current" \
|
|
|
|
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
|
2009-01-14 13:10:07 +00:00
|
|
|
|
|
|
|
%postun
|
|
|
|
# remove entries only on removal of package
|
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
CATALOG=%{_sysconfdir}/xml/catalog
|
|
|
|
%{_bindir}/xmlcatalog --noout --del \
|
|
|
|
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
|
|
|
|
fi
|
|
|
|
|
|
|
|
%changelog
|
2024-06-24 15:40:34 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.79.2-19
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-24 09:41:17 +00:00
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 17:25:06 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-19 17:44:23 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 01:39:21 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 00:45:07 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 00:54:05 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 21:00:34 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 03:38:26 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 15:37:17 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-28 16:06:59 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-24 22:15:07 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 17:27:26 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 23:02:43 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 07:08:40 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-26 06:25:09 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 08:31:55 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-03 09:29:11 +00:00
|
|
|
* Tue Jan 03 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-2
|
|
|
|
- keep the old sourceforge URI rewrites at least temporarily
|
|
|
|
|
2017-01-02 13:05:18 +00:00
|
|
|
* 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
|
|
|
|
|
2016-07-08 08:57:51 +00:00
|
|
|
* Fri Jul 08 2016 Ondrej Vasik <ovasik@redhat.com> - 1.79.1-1
|
|
|
|
- new upstream release 1.79.1
|
|
|
|
|
2016-02-03 18:53:37 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.78.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 04:17:25 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-09-05 15:15:42 +00:00
|
|
|
* Fri Sep 05 2014 Ondrej Vasik <ovasik@redhat.com> 1.78.1-6
|
|
|
|
- Don't ship Java extensions on Fedora until compiled from
|
|
|
|
sources
|
|
|
|
|
2014-07-16 19:23:43 +00:00
|
|
|
* Wed Jul 16 2014 Ondrej Vasik <ovasik@redhat.com> 1.78.1-5
|
|
|
|
- fix the extensions inclusion
|
|
|
|
|
2014-07-16 10:56:34 +00:00
|
|
|
* Wed Jul 16 2014 Ondrej Vasik <ovasik@redhat.com> 1.78.1-4
|
2014-07-16 10:55:13 +00:00
|
|
|
- include extensions in extensions subpackage (#1084491)
|
|
|
|
|
2014-06-07 07:49:50 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 07:38:15 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-18 08:04:30 +00:00
|
|
|
* Mon Mar 18 2013 Ondrej Vasik <ovasik@redhat.com> 1.78.1-1
|
|
|
|
- new upstream release 1.78.1
|
|
|
|
|
2013-02-13 19:56:40 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-03 09:02:17 +00:00
|
|
|
* Thu Jan 03 2013 Ondrej Vasik <ovasik@redhat.com> 1.78.0-2
|
|
|
|
- resolve missing VERSION.xsl (#891459)
|
|
|
|
|
2012-12-20 11:19:22 +00:00
|
|
|
* Thu Dec 20 2012 Ondrej Vasik <ovasik@redhat.com> 1.78.0-1
|
|
|
|
- new upstream release 1.78.0
|
|
|
|
|
2012-07-18 21:07:42 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.77.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-05 05:40:16 +00:00
|
|
|
* Tue Jun 05 2012 Ondrej Vasik <ovasik@redhat.com> 1.77.1-1
|
|
|
|
- new upstream release 1.77.1
|
|
|
|
|
2012-01-13 00:55:33 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.76.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2010-11-02 09:49:16 +00:00
|
|
|
* Tue Nov 02 2010 Ondrej Vasik <ovasik@redhat.com> 1.76.1-1
|
|
|
|
- new upstream release 1.76.1
|
|
|
|
|
2010-09-06 08:13:03 +00:00
|
|
|
* Mon Sep 06 2010 Ondrej Vasik <ovasik@redhat.com> 1.76.0-1
|
2010-09-06 08:10:50 +00:00
|
|
|
- new upstream release 1.76.0
|
|
|
|
|
2010-02-23 13:45:28 +00:00
|
|
|
* Tue Feb 23 2010 Ondrej Vasik <ovasik@redhat.com> 1.75.2-4
|
|
|
|
- fix the licenses, use better URL
|
|
|
|
|
2009-07-24 20:26:56 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.75.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-22 01:15:19 +00:00
|
|
|
* Wed Jul 22 2009 Ondrej Vasik <ovasik@redhat.com> 1.75.2-2
|
|
|
|
- upstream changed tarballs after release
|
|
|
|
|
2009-07-21 08:46:05 +00:00
|
|
|
* Tue Jul 21 2009 Ondrej Vasik <ovasik@redhat.com> 1.75.2-1
|
|
|
|
- new upstream release 1.75.2
|
|
|
|
|
2009-05-28 06:32:09 +00:00
|
|
|
* Thu May 28 2009 Ondrej Vasik <ovasik@redhat.com> 1.75.1-1
|
|
|
|
- new upstream release 1.75.1
|
|
|
|
|
2009-05-11 09:19:49 +00:00
|
|
|
* Mon May 11 2009 Ondrej Vasik <ovasik@redhat.com> 1.75.0-1
|
|
|
|
- new upstream release 1.75.0
|
|
|
|
|
2009-03-11 22:08:27 +00:00
|
|
|
* Wed Mar 11 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.3-1
|
|
|
|
- new upstream release 1.74.3
|
|
|
|
|
2009-02-24 12:24:09 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.74.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-20 09:05:35 +00:00
|
|
|
* Fri Feb 20 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.2-1
|
|
|
|
- new upstream release 1.74.2
|
|
|
|
|
2009-02-18 11:04:04 +00:00
|
|
|
* Wed Feb 18 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.1-1
|
|
|
|
- new upstream release 1.74.1
|
|
|
|
|
2009-02-13 10:19:45 +00:00
|
|
|
* Fri Feb 13 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.0-2
|
|
|
|
- Ship VERSION file (#485297) , ship RELEASE-NOTES
|
|
|
|
|
2009-01-14 13:10:07 +00:00
|
|
|
* Mon Nov 10 2008 Ondrej Vasik <ovasik@redhat.com> 1.74.0-1
|
|
|
|
- Initial Fedora release
|