diff --git a/.gitignore b/.gitignore index 7769ecf..e9e4dfb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1 @@ sgml-common-0.6.3.tgz -sgml-common-automake.tar.gz -/xml.xsd -/xmldsig-core-schema.xsd -/XMLSchema.dtd -/datatypes.dtd diff --git a/XMLSchema.dtd b/XMLSchema.dtd new file mode 100644 index 0000000..e8e8f76 --- /dev/null +++ b/XMLSchema.dtd @@ -0,0 +1,402 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%xs-datatypes; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/datatypes.dtd b/datatypes.dtd new file mode 100644 index 0000000..8e48553 --- /dev/null +++ b/datatypes.dtd @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index eb7c84f..0000000 --- a/gating.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- !Policy -product_versions: - - rhel-8 -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} diff --git a/sgml-common-CHANGES b/sgml-common-CHANGES deleted file mode 100644 index cccc290..0000000 --- a/sgml-common-CHANGES +++ /dev/null @@ -1,15 +0,0 @@ - o Linux Standard Base SGML & XML adherence -- DocBook packages - which adhere to the LSB addendum concerning SGML & XML are now - included. This means that catalog files are now located in a - different place than they were in previous releases. - - There is now a super catalog, /etc/sgml/catalog, which contains - entries for a number of centralised catalogs, in /etc/sgml. The - centralised catalogs contain entries for DTD-specific files, - which are located in subdirectories in /usr/share/sgml (instead - of /usr/lib/sgml as in previous releases). - - The utility names for converting DocBook documents to other - formats are now named (for example) docbook2ps instead of db2ps; - the old names are provided for compatibility with previous - releases, but may be removed at a future date. diff --git a/sgml-common.spec b/sgml-common.spec index ef88b7c..fdb30ec 100644 --- a/sgml-common.spec +++ b/sgml-common.spec @@ -2,21 +2,20 @@ Name: sgml-common Version: 0.6.3 -Release: 50%{?dist} -Group: Applications/Text +Release: 65%{?dist} Summary: Common SGML catalog and DTD files -License: GPL+ +License: GPL-1.0-or-later BuildArch: noarch #Actually - there is no homepage of this project, on that URL #page you could get complete ISO 8879 listing as was on the #old page - only part of it is included in sgml-common package. -URL: http://www.w3.org/2003/entities/ +URL: https://www.w3.org/2003/entities/ -Source0: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tgz +Source0: https://www.sourceware.org/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tgz # Following 4 from openjade/pubtext - same maintainer as in SGML-common, so up2date: Source1: xml.dcl Source2: xml.soc @@ -33,6 +32,7 @@ Patch0: sgml-common-umask.patch Patch1: sgml-common-xmldir.patch Patch2: sgml-common-quotes.patch +BuildRequires: make BuildRequires: libxml2 BuildRequires: automake Requires: %{_bindir}/basename @@ -44,7 +44,6 @@ included in multiple packages. Sgml-common also includes an up-to-date Open Catalog file. %package -n xml-common -Group: Applications/Text Summary: Common XML catalog and DTD files License: GPL+ Requires(pre): %{_bindir}/xmlcatalog @@ -71,8 +70,7 @@ done %configure %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR="$RPM_BUILD_ROOT" htmldir='%{_datadir}/doc' INSTALL='install -p' +%make_install htmldir='%{_datadir}/doc' mkdir $RPM_BUILD_ROOT%{_sysconfdir}/xml mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sgml/docbook mkdir -p $RPM_BUILD_ROOT%{_datadir}/sgml/docbook @@ -197,8 +195,54 @@ fi %{_datadir}/xml/datatypes.dtd %changelog -* Fri Oct 05 2018 Ondrej Vasik - 0.6.3-50 -- add basic manpages for sgml.conf(5) and sgmlwhich(1) (#1613279) +* Tue Oct 29 2024 Troy Dawson - 0.6.3-65 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + +* Mon Jun 24 2024 Troy Dawson - 0.6.3-64 +- Bump release for June 2024 mass rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.6.3-63 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Oct 23 2023 Ondrej Sloup - 0.6.3-62 +- Update license tag to the SPDX format + +* Sat Jul 22 2023 Fedora Release Engineering - 0.6.3-61 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 0.6.3-60 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.6.3-59 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0.6.3-58 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.6.3-57 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.6.3-56 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.6.3-55 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.6.3-54 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.6.3-53 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.6.3-52 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 05 2018 Ondrej Vasik - 0.6.3-51 +- add basic manpages for sgml.conf(5) and sgmlwhich(1) (#1612272) + +* Sat Jul 14 2018 Fedora Release Engineering - 0.6.3-50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 12 2018 Jan Pazdziora - 0.6.3-49 - Package and catalog xmldsig-core-schema.xsd, XMLSchema.dtd, and datatypes.dtd diff --git a/sources b/sources index 3b56a6b..4814f34 100644 --- a/sources +++ b/sources @@ -1,5 +1 @@ SHA512 (sgml-common-0.6.3.tgz) = 3c4a55f555596b2a6bf6af66c497679226e7b40625ac16832150488311cba7f9fc523435eea5837262a5517f5c09c4c0e07fe4a2cf02184d4027609c26e4bc0c -SHA512 (xml.xsd) = 9b4efba3b49a15ab3e0a429eec47eebd052be32286925b27ffbe0bddf42b2294979c70856d52e71c4e7f18f7bd3c8fc72cf6c258e2d700ea9a560a9863bd542f -SHA512 (xmldsig-core-schema.xsd) = ce73effa9cc94a9958d1de465d9398e2c157f1fd6eac56e4e5e6e2bd7e9ef7aef7093d1af2789d99ce817d1a7899ebc5a6ebea17882b02ba3274dc5317c64c14 -SHA512 (XMLSchema.dtd) = b978fa4df8a891654c4738952c6aeca0790ce16655ead566966a60900ce7067ccc21eb923b2dc3e8061f6d002f9d64a075e35047eace022812df23afe473ad0b -SHA512 (datatypes.dtd) = 68e778b3a7917a4514525a580975e547abcde2bc2d79491bcb4fd25f6f04f2ea2287fa19e5548d154c0f615178811a03bac8b724fb3ecaebe3e871e3c66b72ff diff --git a/xml.xsd b/xml.xsd new file mode 100644 index 0000000..bd291f3 --- /dev/null +++ b/xml.xsd @@ -0,0 +1,286 @@ + + + + + + +
+

About the XML namespace

+ +
+

+ This schema document describes the XML namespace, in a form + suitable for import by other schema documents. +

+

+ See + http://www.w3.org/XML/1998/namespace.html and + + http://www.w3.org/TR/REC-xml for information + about this namespace. +

+

+ Note that local names in this namespace are intended to be + defined only by the World Wide Web Consortium or its subgroups. + The names currently defined in this namespace are listed below. + They should not be used with conflicting semantics by any Working + Group, specification, or document instance. +

+

+ See further below in this document for more information about how to refer to this schema document from your own + XSD schema documents and about the + namespace-versioning policy governing this schema document. +

+
+
+
+
+ + + + +
+ +

lang (as an attribute name)

+

+ denotes an attribute whose value + is a language code for the natural language of the content of + any element; its value is inherited. This name is reserved + by virtue of its definition in the XML specification.

+ +
+
+

Notes

+

+ Attempting to install the relevant ISO 2- and 3-letter + codes as the enumerated possible values is probably never + going to be a realistic possibility. +

+

+ See BCP 47 at + http://www.rfc-editor.org/rfc/bcp/bcp47.txt + and the IANA language subtag registry at + + http://www.iana.org/assignments/language-subtag-registry + for further information. +

+

+ The union allows for the 'un-declaration' of xml:lang with + the empty string. +

+
+
+
+ + + + + + + + + +
+ + + + +
+ +

space (as an attribute name)

+

+ denotes an attribute whose + value is a keyword indicating what whitespace processing + discipline is intended for the content of the element; its + value is inherited. This name is reserved by virtue of its + definition in the XML specification.

+ +
+
+
+ + + + + + +
+ + + +
+ +

base (as an attribute name)

+

+ denotes an attribute whose value + provides a URI to be used as the base for interpreting any + relative URIs in the scope of the element on which it + appears; its value is inherited. This name is reserved + by virtue of its definition in the XML Base specification.

+ +

+ See http://www.w3.org/TR/xmlbase/ + for information about this attribute. +

+
+
+
+
+ + + + +
+ +

id (as an attribute name)

+

+ denotes an attribute whose value + should be interpreted as if declared to be of type ID. + This name is reserved by virtue of its definition in the + xml:id specification.

+ +

+ See http://www.w3.org/TR/xml-id/ + for information about this attribute. +

+
+
+
+
+ + + + + + + + + + +
+ +

Father (in any context at all)

+ +
+

+ denotes Jon Bosak, the chair of + the original XML Working Group. This name is reserved by + the following decision of the W3C XML Plenary and + XML Coordination groups: +

+
+

+ In appreciation for his vision, leadership and + dedication the W3C XML Plenary on this 10th day of + February, 2000, reserves for Jon Bosak in perpetuity + the XML name "xml:Father". +

+
+
+
+
+
+ + + +
+

About this schema document

+ +
+

+ This schema defines attributes and an attribute group suitable + for use by schemas wishing to allow xml:base, + xml:lang, xml:space or + xml:id attributes on elements they define. +

+

+ To enable this, such a schema must import this schema for + the XML namespace, e.g. as follows: +

+
+          <schema . . .>
+           . . .
+           <import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+     
+

+ or +

+
+           <import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
+     
+

+ Subsequently, qualified reference to any of the attributes or the + group defined below will have the desired effect, e.g. +

+
+          <type . . .>
+           . . .
+           <attributeGroup ref="xml:specialAttrs"/>
+     
+

+ will define a type which will schema-validate an instance element + with any of those attributes. +

+
+
+
+
+ + + +
+

Versioning policy for this schema document

+
+

+ In keeping with the XML Schema WG's standard versioning + policy, this schema document will persist at + + http://www.w3.org/2009/01/xml.xsd. +

+

+ At the date of issue it can also be found at + + http://www.w3.org/2001/xml.xsd. +

+

+ The schema document at that URI may however change in the future, + in order to remain compatible with the latest version of XML + Schema itself, or with the XML namespace itself. In other words, + if the XML Schema or XML namespaces change, the version of this + document at + http://www.w3.org/2001/xml.xsd + + will change accordingly; the version at + + http://www.w3.org/2009/01/xml.xsd + + will not change. +

+

+ Previous dated (and unchanging) versions of this schema + document are at: +

+ +
+
+
+
+ +
diff --git a/xmldsig-core-schema.xsd b/xmldsig-core-schema.xsd new file mode 100644 index 0000000..e35571b --- /dev/null +++ b/xmldsig-core-schema.xsd @@ -0,0 +1,318 @@ + + + + + + ]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +