[12300] | 1 | Name: docbook5-style-xsl |
---|
| 2 | Version: 1.79.2 |
---|
| 3 | Release: 9%{?_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: Norman Walsh's XSL stylesheets for DocBook 5.X |
---|
| 6 | |
---|
| 7 | Vendor: Project Vine |
---|
| 8 | Distribution: Vine Linux |
---|
| 9 | |
---|
| 10 | # Package is licensed as MIT/X (http://wiki.docbook.org/topic/DocBookLicense), |
---|
| 11 | # some .js files under ./slides/browser/ are licensed MPLv1.1 |
---|
| 12 | License: MIT and MPLv1.1 |
---|
| 13 | URL: https://github.com/docbook/xslt10-stylesheets |
---|
| 14 | |
---|
| 15 | Provides: docbook-xsl-ns = %{version} |
---|
| 16 | # xml-common was using /usr/share/xml until 0.6.3-8. |
---|
| 17 | Requires: xml-common >= 0.6.3-8 |
---|
| 18 | # libxml2 required because of usage of /usr/bin/xmlcatalog |
---|
| 19 | Requires(post): libxml2 >= 2.4.8 |
---|
| 20 | Requires(postun): libxml2 >= 2.4.8 |
---|
| 21 | Conflicts: passivetex < 1.21 |
---|
| 22 | |
---|
| 23 | BuildArch: noarch |
---|
| 24 | Source0: https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F{%version}/docbook-xsl-%{version}.tar.bz2 |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | These XSL namespace aware stylesheets allow you to transform any |
---|
| 28 | DocBook 5 document to other formats, such as HTML, manpages, FO, |
---|
| 29 | XHMTL and other formats. They are highly customizable. For more |
---|
| 30 | information see W3C page about XSL. |
---|
| 31 | |
---|
| 32 | #Don't ship Java extensions in Fedora as they are not compiled from the source |
---|
| 33 | #Shiping sources instead of binary jars was requested by |
---|
| 34 | #https://lists.oasis-open.org/archives/docbook-apps/201408/msg00008.html |
---|
| 35 | #Sources available in the docbook stylesheets svn repository, but not packaged. |
---|
| 36 | %if 0%{?rhel} >= 7 |
---|
| 37 | %package extensions |
---|
| 38 | Summary: Norman Walsh's XSL stylesheets extensions for DocBook 5.X |
---|
| 39 | # Package is licensed as MIT/X (http://wiki.docbook.org/topic/DocBookLicense), |
---|
| 40 | # some .js files under ./slides/browser/ are licensed MPLv1.1 |
---|
| 41 | License: MIT and ASL 2.0 |
---|
| 42 | Requires: docbook-xsl-ns = %{version} |
---|
| 43 | |
---|
| 44 | %description extensions |
---|
| 45 | This package contains Java extensions for XSL namespace aware stylesheets. |
---|
| 46 | %endif |
---|
| 47 | |
---|
| 48 | %prep |
---|
| 49 | %setup -q -n docbook-xsl-%{version} |
---|
| 50 | #remove .gitignore files |
---|
| 51 | rm -rf $(find -name '.gitignore' -type f) |
---|
| 52 | #make ruby scripts executable |
---|
| 53 | chmod +x epub/bin/dbtoepub |
---|
| 54 | |
---|
| 55 | %build |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | DESTDIR=$RPM_BUILD_ROOT |
---|
| 59 | mkdir -p $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version |
---|
| 60 | cp -a [[:lower:]]* $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/ |
---|
| 61 | cp -a VERSION $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/VERSION.xsl |
---|
| 62 | ln -s VERSION.xsl \ |
---|
| 63 | $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/VERSION |
---|
| 64 | ln -s xsl-ns-stylesheets-%{version} \ |
---|
| 65 | $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets |
---|
| 66 | |
---|
| 67 | # Don't ship install shell script. |
---|
| 68 | rm -rf $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets/install.sh |
---|
| 69 | |
---|
| 70 | %files |
---|
| 71 | %license COPYING |
---|
| 72 | %doc BUGS |
---|
| 73 | %doc README |
---|
| 74 | %doc TODO NEWS |
---|
| 75 | %doc RELEASE-NOTES.* |
---|
| 76 | %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version} |
---|
| 77 | %{_datadir}/sgml/docbook/xsl-ns-stylesheets |
---|
| 78 | %exclude %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions |
---|
| 79 | |
---|
| 80 | %if 0%{?rhel} >= 7 |
---|
| 81 | %files extensions |
---|
| 82 | %license extensions/LICENSE.txt |
---|
| 83 | %doc extensions/README.txt |
---|
| 84 | %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions |
---|
| 85 | %endif |
---|
| 86 | |
---|
| 87 | %post |
---|
| 88 | CATALOG=%{_sysconfdir}/xml/catalog |
---|
| 89 | %{_bindir}/xmlcatalog --noout --add "rewriteSystem" \ |
---|
| 90 | "http://cdn.docbook.org/release/xsl/%{version}" \ |
---|
| 91 | "file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG |
---|
| 92 | %{_bindir}/xmlcatalog --noout --add "rewriteURI" \ |
---|
| 93 | "http://cdn.docbook.org/release/xsl/%{version}" \ |
---|
| 94 | "file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG |
---|
| 95 | %{_bindir}/xmlcatalog --noout --add "rewriteSystem" \ |
---|
| 96 | "http://cdn.docbook.org/release/xsl/current/" \ |
---|
| 97 | "file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG |
---|
| 98 | %{_bindir}/xmlcatalog --noout --add "rewriteURI" \ |
---|
| 99 | "http://cdn.docbook.org/release/xsl/current/" \ |
---|
| 100 | "file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG |
---|
| 101 | |
---|
| 102 | %{_bindir}/xmlcatalog --noout --add "rewriteSystem" \ |
---|
| 103 | "http://docbook.sourceforge.net/release/xsl-ns/current" \ |
---|
| 104 | "file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG |
---|
| 105 | %{_bindir}/xmlcatalog --noout --add "rewriteURI" \ |
---|
| 106 | "http://docbook.sourceforge.net/release/xsl-ns/current" \ |
---|
| 107 | "file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG |
---|
| 108 | |
---|
| 109 | %postun |
---|
| 110 | # remove entries only on removal of package |
---|
| 111 | if [ "$1" = 0 ]; then |
---|
| 112 | CATALOG=%{_sysconfdir}/xml/catalog |
---|
| 113 | %{_bindir}/xmlcatalog --noout --del \ |
---|
| 114 | "file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG |
---|
| 115 | fi |
---|
| 116 | |
---|
| 117 | %changelog |
---|
| 118 | * Tue Oct 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.79.2-9 |
---|
| 119 | - initial build for Vine Linux. |
---|
| 120 | |
---|
| 121 | * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-8 |
---|
| 122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
| 123 | |
---|
| 124 | * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-7 |
---|
| 125 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
| 126 | |
---|
| 127 | * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-6 |
---|
| 128 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 129 | |
---|
| 130 | * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-5 |
---|
| 131 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
| 132 | |
---|
| 133 | * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-4 |
---|
| 134 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
| 135 | |
---|
| 136 | * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.2-3 |
---|
| 137 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
| 138 | |
---|
| 139 | * Tue Jan 03 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-2 |
---|
| 140 | - keep the old sourceforge URI rewrites at least temporarily |
---|
| 141 | |
---|
| 142 | * Mon Jan 02 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-1 |
---|
| 143 | - new upstream release 1.79.2 |
---|
| 144 | - upstream moved to github, switch online content to docbook CDN |
---|
| 145 | |
---|
| 146 | * Fri Jul 08 2016 Ondrej Vasik <ovasik@redhat.com> - 1.79.1-1 |
---|
| 147 | - new upstream release 1.79.1 |
---|
| 148 | |
---|
| 149 | * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.78.1-8 |
---|
| 150 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
| 151 | |
---|
| 152 | * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78.1-7 |
---|
| 153 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
| 154 | |
---|
| 155 | * Fri Sep 05 2014 Ondrej Vasik <ovasik@redhat.com> 1.78.1-6 |
---|
| 156 | - Don't ship Java extensions on Fedora until compiled from |
---|
| 157 | sources |
---|
| 158 | |
---|
| 159 | * Wed Jul 16 2014 Ondrej Vasik <ovasik@redhat.com> 1.78.1-5 |
---|
| 160 | - fix the extensions inclusion |
---|
| 161 | |
---|
| 162 | * Wed Jul 16 2014 Ondrej Vasik <ovasik@redhat.com> 1.78.1-4 |
---|
| 163 | - include extensions in extensions subpackage (#1084491) |
---|
| 164 | |
---|
| 165 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78.1-3 |
---|
| 166 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 167 | |
---|
| 168 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78.1-2 |
---|
| 169 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 170 | |
---|
| 171 | * Mon Mar 18 2013 Ondrej Vasik <ovasik@redhat.com> 1.78.1-1 |
---|
| 172 | - new upstream release 1.78.1 |
---|
| 173 | |
---|
| 174 | * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78.0-3 |
---|
| 175 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 176 | |
---|
| 177 | * Thu Jan 03 2013 Ondrej Vasik <ovasik@redhat.com> 1.78.0-2 |
---|
| 178 | - resolve missing VERSION.xsl (#891459) |
---|
| 179 | |
---|
| 180 | * Thu Dec 20 2012 Ondrej Vasik <ovasik@redhat.com> 1.78.0-1 |
---|
| 181 | - new upstream release 1.78.0 |
---|
| 182 | |
---|
| 183 | * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.77.1-2 |
---|
| 184 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 185 | |
---|
| 186 | * Tue Jun 05 2012 Ondrej Vasik <ovasik@redhat.com> 1.77.1-1 |
---|
| 187 | - new upstream release 1.77.1 |
---|
| 188 | |
---|
| 189 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.76.1-2 |
---|
| 190 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 191 | |
---|
| 192 | * Tue Nov 02 2010 Ondrej Vasik <ovasik@redhat.com> 1.76.1-1 |
---|
| 193 | - new upstream release 1.76.1 |
---|
| 194 | |
---|
| 195 | * Mon Sep 06 2010 Ondrej Vasik <ovasik@redhat.com> 1.76.0-1 |
---|
| 196 | - new upstream release 1.76.0 |
---|
| 197 | |
---|
| 198 | * Tue Feb 23 2010 Ondrej Vasik <ovasik@redhat.com> 1.75.2-4 |
---|
| 199 | - fix the licenses, use better URL |
---|
| 200 | |
---|
| 201 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.75.2-3 |
---|
| 202 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 203 | |
---|
| 204 | * Wed Jul 22 2009 Ondrej Vasik <ovasik@redhat.com> 1.75.2-2 |
---|
| 205 | - upstream changed tarballs after release |
---|
| 206 | |
---|
| 207 | * Tue Jul 21 2009 Ondrej Vasik <ovasik@redhat.com> 1.75.2-1 |
---|
| 208 | - new upstream release 1.75.2 |
---|
| 209 | |
---|
| 210 | * Thu May 28 2009 Ondrej Vasik <ovasik@redhat.com> 1.75.1-1 |
---|
| 211 | - new upstream release 1.75.1 |
---|
| 212 | |
---|
| 213 | * Mon May 11 2009 Ondrej Vasik <ovasik@redhat.com> 1.75.0-1 |
---|
| 214 | - new upstream release 1.75.0 |
---|
| 215 | |
---|
| 216 | * Wed Mar 11 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.3-1 |
---|
| 217 | - new upstream release 1.74.3 |
---|
| 218 | |
---|
| 219 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.74.2-2 |
---|
| 220 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 221 | |
---|
| 222 | * Fri Feb 20 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.2-1 |
---|
| 223 | - new upstream release 1.74.2 |
---|
| 224 | |
---|
| 225 | * Wed Feb 18 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.1-1 |
---|
| 226 | - new upstream release 1.74.1 |
---|
| 227 | |
---|
| 228 | * Fri Feb 13 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.0-2 |
---|
| 229 | - Ship VERSION file (#485297) , ship RELEASE-NOTES |
---|
| 230 | |
---|
| 231 | * Mon Nov 10 2008 Ondrej Vasik <ovasik@redhat.com> 1.74.0-1 |
---|
| 232 | - Initial Fedora release |
---|