From 0061d4fe9f37bdfefed1bde9a9607addb42f0165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 22 Jan 2024 09:18:36 +0100 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 svg-schema revision c417d237ab5eb064408cc764fe684e01 --- .gitattributes | 23 ++++++ CATALOG.svg-1.0 | 1 + CATALOG.svg-1.1 | 94 ++++++++++++++++++++++++ REC-SVG-20010904.zip | 3 + REC-SVG11-20030114.zip | 3 + rng.zip | 3 + svg-1.0.xml | 6 ++ svg-1.1.xml | 106 +++++++++++++++++++++++++++ svg-schema.changes | 128 +++++++++++++++++++++++++++++++++ svg-schema.spec | 158 +++++++++++++++++++++++++++++++++++++++++ 10 files changed, 525 insertions(+) create mode 100644 .gitattributes create mode 100644 CATALOG.svg-1.0 create mode 100644 CATALOG.svg-1.1 create mode 100644 REC-SVG-20010904.zip create mode 100644 REC-SVG11-20030114.zip create mode 100644 rng.zip create mode 100644 svg-1.0.xml create mode 100644 svg-1.1.xml create mode 100644 svg-schema.changes create mode 100644 svg-schema.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/CATALOG.svg-1.0 b/CATALOG.svg-1.0 new file mode 100644 index 0000000..8d839fe --- /dev/null +++ b/CATALOG.svg-1.0 @@ -0,0 +1 @@ +PUBLIC "-//W3C//DTD SVG 1.0//EN" "/usr/share/xml/svg/schema/dtd/1.0/svg10.dtd" diff --git a/CATALOG.svg-1.1 b/CATALOG.svg-1.1 new file mode 100644 index 0000000..04a5d3f --- /dev/null +++ b/CATALOG.svg-1.1 @@ -0,0 +1,94 @@ +PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-basic.dtd" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Modular Framework//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-framework.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Datatypes//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-datatypes.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Qualified Name//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-qname.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Basic Document Model//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-basic-model.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Basic Attribute Collection//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-basic-attribs.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Core Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-core-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Viewport Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-viewport-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Paint Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-paint-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Paint Opacity Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-opacity-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Graphics Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-graphics-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Document Events Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-docevents-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Graphical Element Events Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-graphevents-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Animation Events Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-animevents-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 XLink Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-xlink-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 External Resources Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-extresources-attrib.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Structure//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-structure.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Conditional Processing//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-conditional.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Image//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-image.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Style//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-style.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Shape//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-shape.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Text//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-text.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Color Profile//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-profile.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Gradient//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-gradient.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Pattern//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-pattern.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Basic Clip//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-basic-clip.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Mask//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-mask.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Basic Filter//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-basic-filter.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Hyperlinking//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-hyperlink.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 View//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-view.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Scripting//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-script.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Animation//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-animation.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Font//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-font.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Extensibility//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-extensibility.mod" +PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-basic.dtd" +PUBLIC "-//W3C//DTD SVG 1.1//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11.dtd" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Modular Framework//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-framework.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Datatypes//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-datatypes.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Qualified Name//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-qname.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Document Model//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-model.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Attribute Collection//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-attribs.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Core Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-core-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Container Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-container-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Viewport Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-viewport-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Paint Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-paint-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Paint Opacity Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-opacity-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Graphics Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-graphics-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Document Events Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-docevents-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Graphical Element Events Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-graphevents-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Animation Events Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-animevents-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 XLink Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-xlink-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 External Resources Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-extresources-attrib.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Structure//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-structure.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Conditional Processing//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-conditional.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Image//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-image.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Style//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-style.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Shape//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-shape.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Text//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-text.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Marker//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-marker.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Color Profile//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-profile.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Gradient//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-gradient.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Pattern//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-pattern.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Clip//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-clip.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Mask//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-mask.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Filter//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-filter.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Cursor//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-cursor.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Hyperlinking//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-hyperlink.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 View//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-view.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Scripting//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-script.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Animation//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-animation.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Font//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-font.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Extensibility//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-extensibility.mod" +PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-tiny.dtd" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Modular Framework//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-framework.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Datatypes//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-datatypes.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Qualified Name//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-qname.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Tiny Document Model//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-tiny-model.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Tiny Attribute Collection//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-tiny-attribs.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Core Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-core-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Basic Paint Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-basic-paint-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 Basic Graphics Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-basic-graphics-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 XLink Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-xlink-attrib.mod" +PUBLIC "-//W3C//ENTITIES SVG 1.1 External Resources Attribute//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-extresources-attrib.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Basic Structure//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-basic-structure.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Conditional Processing//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-conditional.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Image//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-image.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Shape//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-shape.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Basic Text//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-basic-text.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Hyperlinking//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-hyperlink.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Animation//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-animation.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Basic Font//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-basic-font.mod" +PUBLIC "-//W3C//ELEMENTS SVG 1.1 Extensibility//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg-extensibility.mod" +PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11-tiny.dtd" +PUBLIC "-//W3C//DTD SVG 1.1//EN" "/usr/share/xml/svg/schema/dtd/1.1/svg11.dtd" diff --git a/REC-SVG-20010904.zip b/REC-SVG-20010904.zip new file mode 100644 index 0000000..51c3e61 --- /dev/null +++ b/REC-SVG-20010904.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b57fae069de0f2eb4ca566faff86bb6811b55f9eb60c5bd3f96516f88618e68f +size 1225692 diff --git a/REC-SVG11-20030114.zip b/REC-SVG11-20030114.zip new file mode 100644 index 0000000..3c424cc --- /dev/null +++ b/REC-SVG11-20030114.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c1bcc191277f6a1a885628b61a1b3a2678519bebcc1f29e751a13e5183eeeff +size 1481895 diff --git a/rng.zip b/rng.zip new file mode 100644 index 0000000..f96a4a0 --- /dev/null +++ b/rng.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:995d72804ae518363080544999ea3f356fac168e193d0967ce9944fe0f8c31cf +size 48420 diff --git a/svg-1.0.xml b/svg-1.0.xml new file mode 100644 index 0000000..ac9c84c --- /dev/null +++ b/svg-1.0.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/svg-1.1.xml b/svg-1.1.xml new file mode 100644 index 0000000..a5a4696 --- /dev/null +++ b/svg-1.1.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg-schema.changes b/svg-schema.changes new file mode 100644 index 0000000..590ca80 --- /dev/null +++ b/svg-schema.changes @@ -0,0 +1,128 @@ +------------------------------------------------------------------- +Fri Jan 19 13:05:07 UTC 2024 - Martin Pluskal + +- Modernise spec file + +------------------------------------------------------------------- +Fri Jan 19 10:10:50 UTC 2024 - Frederic Crozat + +- Update urls to valid one and update REC-SVG11-20030114 zip file + with version including errata. + +------------------------------------------------------------------- +Thu Nov 15 09:41:42 UTC 2018 - Tomáš Chvátal + +- Provide still svg-dtd symbol to make sure things are still resolvable + +------------------------------------------------------------------- +Mon Sep 24 08:33:37 UTC 2018 - Martin Pluskal + +- Use correct form of requires(pre) + +------------------------------------------------------------------- +Sun Sep 23 14:32:52 UTC 2018 - thomas.schraitle@suse.com + +Several spec changes, but no version update: + - Use spec-cleaner + - Simplified unzip with -d option + - Split into svg-schema and svg-schema-doc + - Fix warnings + - Add missing "popd" + - General cleanup with structure & variables + - Apply %fdupes macro only to %{buildroot}%{_docdir} + +------------------------------------------------------------------- +Mon Jul 25 09:20:02 UTC 2016 - fvogt@suse.com + +- Use update-xml-catalog + +------------------------------------------------------------------- +Thu Dec 24 13:18:24 UTC 2009 - aj@suse.de + +- Use fdupes to reduce duplicate waste. + +- Only remove file from catalog if it disappeared. + +- Do not use release numbers, they're not needed anymore. + +------------------------------------------------------------------- +Wed May 2 13:34:02 CEST 2007 - ke@suse.de + +- Rename svg-dtd to svg-schema +- Add RNG schema files as proposed by Thomas Schraitle. + +------------------------------------------------------------------- +Thu Mar 29 11:11:37 CEST 2007 - ke@suse.de + +- Add BuildRequires: unzip + +------------------------------------------------------------------- +Tue Feb 27 09:23:13 CET 2007 - ke@suse.de + +- Fix fix typo in postun script; reported by Florian La Roche [# + 249023]. + +------------------------------------------------------------------- +Thu Jan 11 15:06:35 CET 2007 - ke@suse.de + +- Remove /usr/share/xml from the files list. + +------------------------------------------------------------------- +Wed Jan 25 21:48:12 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Jun 29 15:18:13 CEST 2005 - ke@suse.de + +- Provide XML catalog entries for "-//W3C//ENTITIES SVG 1.1" and + "-//W3C//ELEMENTS SVG 1.1"; reported by Berthold Gunreben. + +------------------------------------------------------------------- +Tue Jun 28 14:10:49 CEST 2005 - ke@suse.de + +- Remove wrong references in svg-1.1.xml catalog file. + +------------------------------------------------------------------- +Tue Jun 28 09:35:23 CEST 2005 - ke@suse.de + +- Add systemIds to the catalog files. +- Stop creating compat links. + +------------------------------------------------------------------- +Mon Feb 23 15:10:27 CET 2004 - hmacht@suse.de + +- added option # norootforbuild in specfile + +------------------------------------------------------------------- +Thu Feb 12 13:39:41 CET 2004 - ke@suse.de + +- Adjust directories according to FHS 2.3: + * Move DTDs to /usr/share/xml/svg/schema/dtd. + * Provide compatibility links for SL =< 9.0 (log this info in + /var/adm/SuSEconfig/run-sgmldir-links for later processing). + +------------------------------------------------------------------- +Thu Jan 22 17:06:53 CET 2004 - ro@suse.de + +- added "exit 0" as temporary workaround to postinstall + +------------------------------------------------------------------- +Fri Jun 6 10:23:30 CEST 2003 - ke@suse.de + +- Add version 1.1. +- Use absolute links. +- Use edit-xml-catalog to register xml catalog fragments. + +------------------------------------------------------------------- +Mon Feb 24 13:56:42 CET 2003 - ke@suse.de + +- In %post drop brain dead file check which cause re-creation of an + empty xml catalog file; reported by Thomas Schraitle [# 24186]. + +------------------------------------------------------------------- +Fri Dec 6 13:17:27 CET 2002 - ke@suse.de + +- New package: SVG 1.0; cf. [# 12050]. + + diff --git a/svg-schema.spec b/svg-schema.spec new file mode 100644 index 0000000..686efa8 --- /dev/null +++ b/svg-schema.spec @@ -0,0 +1,158 @@ +# +# spec file for package svg-schema +# +# Copyright (c) 2024 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%define regcat %{_bindir}/sgml-register-catalog +%define all_cat svg-1.0 svg-1.1 +# +%define sgml_dir %{_datadir}/sgml +%define sgml_var_dir %{_localstatedir}/lib/sgml +# +%define xml_dir %{_datadir}/xml +%define xml_mod_dir %{xml_dir}/svg +%define xml_mod_dtd_dir %{xml_mod_dir}/schema/dtd +%define xml_mod_rng_dir %{xml_mod_dir}/schema/rng +%define xml_mod_custom_dir %{xml_mod_dir}/custom +%define xml_mod_style_dir %{xml_mod_dir}/stylesheet +%define xml_mod_style_prod_dir %{xml_mod_style_dir} +%define xml_sysconf_dir %{_sysconfdir}/xml +# +Name: svg-schema +Version: 20030114 +Release: 0 +Summary: SVG DTD and RELAX NG Schema +License: BSD-3-Clause +URL: https://www.w3.org/Graphics/SVG/ +Source0: https://www.w3.org/TR/2001/REC-SVG-20010904/REC-SVG-20010904.zip +Source1: https://www.w3.org/TR/2003/REC-SVG11-20030114/REC-SVG11-20030114.zip +Source2: CATALOG.svg-1.0 +Source3: CATALOG.svg-1.1 +Source4: svg-1.0.xml +Source5: svg-1.1.xml +Source10: https://www.w3.org/Graphics/SVG/1.1/rng/rng.zip +BuildRequires: fdupes +BuildRequires: sgml-skel >= 0.7 +BuildRequires: unzip +Requires: sgml-skel >= 0.7 +Requires(post): libxml2-tools +Requires(post): sgml-skel >= 0.7 +Requires(postun):sgml-skel >= 0.7 +Provides: svg-dtd = %{version} +BuildArch: noarch + +%description +Contains the following DTDs: + +* "Scalable Vector Graphics" (SVG) 1.0 Specification, W3C + Recommendation 04 September 2001. + +* "Scalable Vector Graphics" (SVG) 1.1 Specification, W3C +Recommendation 14 January 2003 + +%package doc +Summary: Documentation of SVG Schemas +Group: Productivity/Graphics/Other + +%description doc +SVG DTD and RELAX NG Schema Documentation in HTML + +%prep +%autosetup -c -T +unzip -q -a %{SOURCE1} +unzip -q -a %{SOURCE0} -d svg-dtd-20010904 +unzip -q -a %{SOURCE10} -d rng11 + +cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} . +find -type d | xargs chmod 755 +find -type f | xargs chmod 644 + +%build +# nop + +%install +# Catalogs: +install -d -m755 %{buildroot}%{xml_sysconf_dir}/catalog.d +#RNG +install -d -m755 %{buildroot}%{xml_mod_rng_dir}/1.1 +cp rng11/* %{buildroot}%{xml_mod_rng_dir}/1.1 +#DTD +install -d -m755 %{buildroot}%{xml_mod_dtd_dir}/1.{0,1} \ + %{buildroot}%{sgml_var_dir} %{buildroot}%{sgml_dir} \ + %{buildroot}%{_docdir}/%{name}/{1.0,1.1} +# Data: +install -m644 CATALOG.* %{buildroot}%{sgml_var_dir} +install -m644 svg-1.[01].xml %{buildroot}%{xml_sysconf_dir}/catalog.d/ + +pushd REC-SVG11-20030114 + cp -a * %{buildroot}%{_docdir}/%{name}/1.1 + rm -fr %{buildroot}%{_docdir}/%{name}/1.1/{DTD,zip} + ln -sf %{xml_mod_dtd_dir}/1.1 %{buildroot}%{_docdir}/%{name}/1.1/DTD + cp -a DTD/[a-su-z][!C]* %{buildroot}%{xml_mod_dtd_dir}/1.1 +# +popd +pushd svg-dtd-20010904 + cp -a * %{buildroot}%{_docdir}/%{name}/1.0 + rm -fr %{buildroot}%{_docdir}/%{name}/1.0/{DTD,zip} + ln -sf %{xml_mod_dtd_dir}/1.0 %{buildroot}%{_docdir}/%{name}/1.0/DTD + cp -a DTD/[a-su-z][!C]* %{buildroot}%{xml_mod_dtd_dir}/1.0 + pushd %{buildroot}%{sgml_dir} + for c in ../../..%{_localstatedir}/lib/sgml/CATALOG.*; do + ln -sf $c . + done + popd + + xmlcatalog --noout --create %{buildroot}%{xml_sysconf_dir}/catalog.d/svg11-rng.xml + # PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" + # SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd" + # RNG + xmlcatalog --noout --add "uri" \ + "http://www.w3.org/Graphics/SVG/1.1/rng/svg11.rng" \ + "file://%{xml_mod_rng_dir}/1.1/svg11.rng" %{buildroot}%{xml_sysconf_dir}/catalog.d/svg11-rng.xml +popd + +install -d -m755 %{buildroot}%{_sysconfdir}/xml +%fdupes %{buildroot}%{_docdir} + +%post +if [ -x %{regcat} ]; then + for c in %{all_cat}; do + grep -q -e "%{sgml_dir}/CATALOG.$c\\>" %{_sysconfdir}/sgml/catalog \ + || %{regcat} -a %{sgml_dir}/CATALOG.$c >/dev/null 2>&1 || : + done +fi +update-xml-catalog + +%postun +if [ "$1" = "0" -a -x %{regcat} ]; then + for c in %{all_cat}; do + %{regcat} -r %{sgml_dir}/CATALOG.$c >/dev/null 2>&1 || : + done +fi +update-xml-catalog + +%files +%config %{sgml_var_dir}/CATALOG.* +%config %{_sysconfdir}/xml/catalog.d/*.xml +%{sgml_dir}/CATALOG.* +%{xml_mod_dir} + +%files doc +%{_docdir}/%{name} +%exclude %{_docdir}/%{name}/1.0/DTD +%exclude %{_docdir}/%{name}/1.1/DTD + +%changelog