suse-xsl-stylesheets/suse-xsl-stylesheets.spec

234 lines
6.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package suse-xsl-stylesheets
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: suse-xsl-stylesheets
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
Version: 2.0.6
Release: 0
###############################################################
#
# ATTENTION: Do NOT edit this file outside of
# https://svn.code.sf.net/p/daps/svn/trunk/daps/\
# suse/packaging/suse-xsl-stylesheets.spec
#
# Your changes will be lost on the next update
# If you do not have access to the SVN repository, notify
# <fsundermeyer@opensuse.org> and <toms@opensuse.org>
# or send a patch
#
################################################################
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
%define dbstyles %{_datadir}/xml/docbook/stylesheet/nwalsh/current
%define susexsl_catalog catalog-for-%{name}.xml
%define db_xml_dir %{_datadir}/xml/docbook
%define suse_styles_dir %{db_xml_dir}/stylesheet
Summary: SUSE-Branded Stylesheets for DocBook
License: GPL-2.0 or GPL-3.0
Group: Productivity/Publishing/XML
Url: http://sourceforge.net/p/daps/suse-xslt
Source0: %{name}-%{version}.tar.bz2
Source1: susexsl-fetch-source-git
Source2: %{name}.rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: aspell
BuildRequires: aspell-en
BuildRequires: docbook-xsl-stylesheets >= 1.77
BuildRequires: docbook5-xsl-stylesheets >= 1.77
BuildRequires: fdupes
BuildRequires: libxml2-tools
BuildRequires: libxslt
BuildRequires: make
# Only needed to fix the "have choice" error between xerces-j2 and crimson
%if 0%{?suse_version} == 1210
BuildRequires: xerces-j2
%endif
BuildRequires: fontpackages-devel
BuildRequires: trang
Requires: docbook_4
Requires: docbook_5
Requires: docbook-xsl-stylesheets >= 1.77
Requires: docbook5-xsl-stylesheets >= 1.77
Requires: libxslt
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
Requires: aspell-en
Recommends: daps
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
#------
# Fonts
#------
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
# Western fallback: currently necessary for building with XEP, it seems.
Requires: ghostscript-fonts-std
# Western fallback 2: These should make the Ghostscript fonts unnecessary.
Requires: gnu-free-fonts
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
# "Generic" font for use in cases where we don't want one of the gnu-free-fonts
Requires: dejavu-fonts
# FONTS USED IN "suse" (aka "suse2005") STYLESHEETS
# Proprietary Western:
Recommends: agfa-fonts
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
# Fallback for proprietary Western:
Requires: liberation-fonts
# Japanese:
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
Requires: sazanami-fonts
# Korean:
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
Requires: un-fonts
# Chinese:
Requires: wqy-microhei-fonts
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
# FONTS USED IN "suse2013" STYLESHEETS
# Western fonts:
Requires: google-opensans-fonts
Requires: sil-charis-fonts
# Monospace -- dejavu-fonts, already required
# Western fonts fallback -- gnu-free-fonts, already required
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
# Chinese simplified -- wqy-microhei-fonts, already required
# Chinese traditional:
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
Requires: arphic-uming-fonts
# Japanese:
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
Requires: ipa-pgothic-fonts
Requires: ipa-pmincho-fonts
# Korean -- un-fonts, already required
# Arabic:
Accepting request 416410 from home:stfnknorr:branches:Documentation:Tools Stable release of the SUSE XSL stylesheets 2.0.6: Find issues in our GitHub tracker at https://github.com/openSUSE/suse-xsl/issues/NUMBER * Schema - Completely removed schemas from SUSE XSL Stylesheets: Schemas can now be found at https://github.com/openSUSE/geekodoc * SUSE Word List for aspell - Added more words, many of which were found in SUSE release notes * Stylesheets (PDF) - Allow disabling secondary branding (Geeko Tail) via parameter: enable.secondary.branding=0 * Stylesheets (XHTML) - Added syntax highlighting for screens - To enable, add language="..." to your screen - Recognized languages are: bash, c++, css, diff, html, xml, http, ini, json, java, javascript, makefile, nginx, php, perl, python, ruby, sql, crmsh, dockerfile, lisp, yaml - Report Bug Links: Fixed ampersands in Bugzilla URLs - Report Bug Links: Fixed JavaScript responsible for GitHub labels * Common Stylesheet Changes - Fixed a number of L10N issues in CJK and European languages (suse-xsl #218, suse-xsl #51, suse-xsl #200, suse-xsl #82, suse-xsl #87, suse-xsl #79) - Reverted back to VERSION.xsl as used by upstream for compatibility - Improved screen trimming behavior to fix screens that contain whitespace at beginning and end * Packaging - Added more fonts to requires to avoid broken foreign-language PDF builds in the build service - Removed mentions of schemas from spec file (see top) OBS-URL: https://build.opensuse.org/request/show/416410 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=102
2016-08-01 14:01:07 +00:00
Requires: arabic-amiri-fonts
%description
These are SUSE-branded XSLT 1.0 stylesheets for DocBook 4 and 5 that are be used
to create the HTML, PDF, and EPUB versions of SUSE documentation. These
stylesheets are based on the original DocBook XSLT 1.0 stylesheets.
This package also provides descriptions of two XML formats which authors can
use: The NovDoc DTD, a subset of the DocBook 4 DTD and the SUSEdoc schema, a
subset of the DocBook 5 schema.
#--------------------------------------------------------------------------
%prep
%setup -q -n %{name}
#--------------------------------------------------------------------------
%build
%__make %{?_smp_mflags}
#--------------------------------------------------------------------------
%install
make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%_libdir
# create symlinks:
%fdupes -s $RPM_BUILD_ROOT/%{_datadir}
#----------------------
%post
# XML Catalogs
#
# remove existing entries first - needed for
# zypper in, since it does not call postun
# delete ...
if [ "2" = "$1" ]; then
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--del %{name} || true
fi
# ... and (re)add it again
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--add %{_sysconfdir}/xml/%{susexsl_catalog}
%reconfigure_fonts_post
exit 0
#----------------------
%postun
#
# Remove catalog entries
#
# delete catalog entries
# only run if package is really uninstalled ($1 = 0) and not
# in case of an update
#
if [ "0" = "$1" ]; then
if [ ! -f %{_sysconfdir}/xml/%{suse_schemas_catalog} -a -x /usr/bin/edit-xml-catalog ] ; then
# susexsl entry
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--del %{name}
fi
%reconfigure_fonts_post
fi
exit 0
#----------------------
%posttrans
%reconfigure_fonts_posttrans
#----------------------
%files
%defattr(-,root,root)
# Directories
%dir %{_datadir}/suse-xsl-stylesheets
%dir %{_datadir}/suse-xsl-stylesheets/aspell
%dir %{suse_styles_dir}
%dir %{suse_styles_dir}/suse
%dir %{suse_styles_dir}/suse-ns
%dir %{suse_styles_dir}/suse2013
%dir %{suse_styles_dir}/suse2013-ns
%dir %{suse_styles_dir}/daps2013
%dir %{suse_styles_dir}/daps2013-ns
%dir %{suse_styles_dir}/opensuse2013
%dir %{suse_styles_dir}/opensuse2013-ns
%dir %{_ttfontsdir}
%dir %{_defaultdocdir}/%{name}
# stylesheets
%{suse_styles_dir}/suse/*
%{suse_styles_dir}/suse-ns/*
%{suse_styles_dir}/suse2013/*
%{suse_styles_dir}/suse2013-ns/*
%{suse_styles_dir}/daps2013/*
%{suse_styles_dir}/daps2013-ns/*
%{suse_styles_dir}/opensuse2013/*
%{suse_styles_dir}/opensuse2013-ns/*
# Catalogs
%config %{_sysconfdir}/xml/*.xml
# Fonts
%{_ttfontsdir}/*
# Documentation
%doc %{_defaultdocdir}/%{name}/*
# SUSE aspell dictionary
%{_datadir}/suse-xsl-stylesheets/aspell/en_US-suse-addendum.rws
#----------------------
%changelog