Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

4 changed files with 100 additions and 15 deletions

View File

@ -1 +0,0 @@
42c66d90d5febfccc192b0726bcf1554af6eb792 SOURCES/docbook-xsl-1.79.2.tar.bz2

9
.gitignore vendored
View File

@ -1 +1,8 @@
SOURCES/docbook-xsl-1.79.2.tar.bz2
docbook-xsl-ns-1.75.2.tar.bz2
/docbook-xsl-ns-1.76.0.tar.bz2
/docbook-xsl-ns-1.76.1.tar.bz2
/docbook-xsl-ns-1.77.1.tar.bz2
/docbook-xsl-ns-1.78.0.tar.bz2
/docbook-xsl-ns-1.78.1.tar.bz2
/docbook-xsl-ns-1.79.1.tar.bz2
/docbook-xsl-1.79.2.tar.bz2

View File

@ -1,13 +1,18 @@
# Don't ship Java extensions in Fedora as they are not compiled from the source
# Shipping 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.
%bcond extensions 0
Name: docbook5-style-xsl
Version: 1.79.2
Release: 5%{?dist}
Group: Applications/Text
Release: 23%{?dist}
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
License: DocBook-Schema AND (MIT OR GPL-2.0-only) AND MIT AND BSD-3-Clause AND BSD-2-Clause AND Apache-2.0 AND DocBook-XML AND Zlib AND EPL-1.0 AND W3C-20150513 AND LicenseRef-W3C-Document-2023
URL: https://github.com/docbook/xslt10-stylesheets
Provides: docbook-xsl-ns = %{version}
@ -27,18 +32,20 @@ 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.
#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
%if %{with extensions}
%package extensions
Group: Applications/Text
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}
# Provide an alternative to removed JAR files via Fedora Packages
# lucene-core.jar (lucene-core-3.0.0.jar), lucene-analysis-common.jar (lucene-analyzers-3.0.0.jar)
Requires: lucene-core lucene-analysis-common
# ant-apache-xalan2.jar (xalan27.jar)
Requires: ant-apache-xalan2
# tagsoup.jar (tagsoup-1.2.1.jar)
Requires: tagsoup
%description extensions
This package contains Java extensions for XSL namespace aware stylesheets.
@ -46,11 +53,24 @@ This package contains Java extensions for XSL namespace aware stylesheets.
%prep
%setup -q -n docbook-xsl-%{version}
#remove .gitignore files
# Remove .gitignore files
rm -rf $(find -name '.gitignore' -type f)
#make ruby scripts executable
# Remove ant buildsystem
find . -name build.xml -delete
# Remove binary JAR files
rm -f extensions/*.jar
rm -fr tools/
# Make ruby scripts executable
chmod +x epub/bin/dbtoepub
# Remove misc
rm slides/slidy/scripts/slidy.js.gz
rm roundtrip/template.dot
%build
%install
@ -67,7 +87,6 @@ ln -s xsl-ns-stylesheets-%{version} \
rm -rf $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets/install.sh
%files
%defattr (-,root,root,-)
%doc BUGS
%doc README COPYING
%doc TODO NEWS
@ -76,7 +95,7 @@ rm -rf $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets/install.sh
%{_datadir}/sgml/docbook/xsl-ns-stylesheets
%exclude %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions
%if 0%{?rhel} >= 7
%if %{with extensions}
%files extensions
%doc extensions/README.txt extensions/LICENSE.txt
%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions
@ -113,6 +132,65 @@ if [ "$1" = 0 ]; then
fi
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.79.2-23
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Wed Aug 21 2024 Ales Nezbeda <anezbeda@redhat.com> - 1.79.2-22
- Add missing SPDX licenses to license tag
- https://gitlab.com/fedora/legal/fedora-license-data/-/issues/396#note_1975708712
- Related: RHEL-37894
* Wed Jul 24 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 1.79.2-21
- Drop unused tools directory
- Limit Java dependency to extensions subpackage
* Sat Jun 29 2024 Ondrej Sloup <osloup@redhat.com> - 1.79.2-20
- Remove binary JAR files and replace them with available dependencies
- Related: RHEL-37894
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.79.2-19
- Bump release for June 2024 mass rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (docbook-xsl-1.79.2.tar.bz2) = dc5a2f08a804d0b2badb167b11fe22d53d7861e6238690e09507d09a696e7dce6b0da6e0dbfe84275db23d71006a4b89e3348eb271052341091a26395ec5862c