Compare commits

..

No commits in common. 'c9' and 'i10ce' have entirely different histories.
c9 ... i10ce

@ -1,12 +1,19 @@
# 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 Name: docbook5-style-xsl
Version: 1.79.2 Version: 1.79.2
Release: 13%{?dist} Release: 22%{?dist}
Summary: Norman Walsh's XSL stylesheets for DocBook 5.X Summary: Norman Walsh's XSL stylesheets for DocBook 5.X
# Package is licensed as MIT/X (http://wiki.docbook.org/topic/DocBookLicense), # Package is licensed as MIT/X (http://wiki.docbook.org/topic/DocBookLicense),
# some .js files under ./slides/browser/ are licensed MPLv1.1 # some .js files under ./slides/browser/ are licensed MPLv1.1
License: MIT and MPLv1.1 # Automatically converted from old format: MIT and MPLv1.1 - review is highly recommended.
License: LicenseRef-Callaway-MIT AND LicenseRef-Callaway-MPLv1.1
URL: https://github.com/docbook/xslt10-stylesheets URL: https://github.com/docbook/xslt10-stylesheets
Provides: docbook-xsl-ns = %{version} Provides: docbook-xsl-ns = %{version}
@ -26,17 +33,21 @@ DocBook 5 document to other formats, such as HTML, manpages, FO,
XHMTL and other formats. They are highly customizable. For more XHMTL and other formats. They are highly customizable. For more
information see W3C page about XSL. information see W3C page about XSL.
#Don't ship Java extensions in Fedora as they are not compiled from the source %if %{with extensions}
#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
%package extensions %package extensions
Summary: Norman Walsh's XSL stylesheets extensions for DocBook 5.X Summary: Norman Walsh's XSL stylesheets extensions for DocBook 5.X
# Package is licensed as MIT/X (http://wiki.docbook.org/topic/DocBookLicense), # Package is licensed as MIT/X (http://wiki.docbook.org/topic/DocBookLicense),
# some .js files under ./slides/browser/ are licensed MPLv1.1 # some .js files under ./slides/browser/ are licensed MPLv1.1
License: MIT and ASL 2.0 # Automatically converted from old format: MIT and ASL 2.0 - review is highly recommended.
License: LicenseRef-Callaway-MIT AND Apache-2.0
Requires: docbook-xsl-ns = %{version} 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 %description extensions
This package contains Java extensions for XSL namespace aware stylesheets. This package contains Java extensions for XSL namespace aware stylesheets.
@ -44,11 +55,24 @@ This package contains Java extensions for XSL namespace aware stylesheets.
%prep %prep
%setup -q -n docbook-xsl-%{version} %setup -q -n docbook-xsl-%{version}
#remove .gitignore files
# Remove .gitignore files
rm -rf $(find -name '.gitignore' -type f) 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 chmod +x epub/bin/dbtoepub
# Remove misc
rm slides/slidy/scripts/slidy.js.gz
rm roundtrip/template.dot
%build %build
%install %install
@ -73,7 +97,7 @@ rm -rf $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets/install.sh
%{_datadir}/sgml/docbook/xsl-ns-stylesheets %{_datadir}/sgml/docbook/xsl-ns-stylesheets
%exclude %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions %exclude %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions
%if 0%{?rhel} >= 7 %if %{with extensions}
%files extensions %files extensions
%doc extensions/README.txt extensions/LICENSE.txt %doc extensions/README.txt extensions/LICENSE.txt
%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions
@ -110,12 +134,42 @@ if [ "$1" = 0 ]; then
fi fi
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.79.2-13 * Thu Dec 12 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.79.2-22
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for MSVSphere 10
Related: rhbz#1991688
* Wed Aug 28 2024 Miroslav Suchý <msuchy@redhat.com> - 1.79.2-22
- convert license to SPDX
* Tue Jul 23 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 1.79.2-21
- Drop unused tools directory
- Limit Java dependency to extensions subpackage
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jun 29 2024 Ondrej Sloup <osloup@redhat.com> - 1.79.2-19
- Remove binary JAR files and replace them with available dependencies (rhbz#2260534)
* 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
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.79.2-12 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-12
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-11 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save