Sync from SUSE:SLFO:Main xmlcharent revision 5f58d7d4df101e552446a07fd4f488b9

This commit is contained in:
Adrian Schröter 2024-05-04 02:09:48 +02:00
commit b08dc69f6a
6 changed files with 248 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

BIN
xmlcharent-0.3.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

110
xmlcharent.changes Normal file
View File

@ -0,0 +1,110 @@
-------------------------------------------------------------------
Tue May 24 11:15:56 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Handle update case as well (boo#1199754)
-------------------------------------------------------------------
Mon Jul 18 12:29:42 UTC 2016 - fvogt@suse.com
- Use update-xml-catalog
-------------------------------------------------------------------
Tue Aug 5 10:48:58 UTC 2014 - rsalevsky@suse.com
- fix I/O error on installation
-------------------------------------------------------------------
Wed May 28 11:26:49 UTC 2014 - rsalevsky@suse.com
- using the xml-group-manager to manage the catalog entrys
-------------------------------------------------------------------
Thu Dec 24 12:34:30 UTC 2009 - aj@suse.de
- Only remove file from catalog if it disappeared.
- Do not use release numbers, they're not needed anymore.
-------------------------------------------------------------------
Tue Jan 27 00:29:12 CET 2009 - crrodriguez@suse.de
- test if /usr/bin/edit-xml-catalog is executable before using it.
-------------------------------------------------------------------
Thu Mar 29 11:09:59 CEST 2007 - ke@suse.de
- Add BuildRequires: unzip
-------------------------------------------------------------------
Thu Jan 11 14:51:37 CET 2007 - ke@suse.de
- Remove /usr/share/xml from the files list.
-------------------------------------------------------------------
Thu Aug 17 10:52:32 CEST 2006 - ke@suse.de
- Remove SuSEconfig call and a %post warning for SL < 8.1.
-------------------------------------------------------------------
Sun Feb 19 20:40:26 CET 2006 - ro@suse.de
- modify setup line in spec file
-------------------------------------------------------------------
Wed Jan 25 21:49:32 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Nov 3 11:25:34 CET 2004 - ke@suse.de
- catalog.xml: Add namespace attribute as reported by Thomas Schraitle.
-------------------------------------------------------------------
Mon May 24 15:23:19 CEST 2004 - ke@suse.de
- Fix syntax of catalog.xml.
-------------------------------------------------------------------
Mon Feb 9 17:24:38 CET 2004 - ke@suse.de
- Adjust directories according to FHS 2.3:
* Move entity files to /usr/share/xml/entities/xmlcharent
* Provide compatibility links for SL =< 9.0 (log this info in
/var/adm/SuSEconfig/run-sgmldir-links for later processing).
-------------------------------------------------------------------
Thu Feb 5 11:24:43 CET 2004 - hmacht@suse.de
- added option # norootforbuild in specfile
-------------------------------------------------------------------
Fri Jul 11 18:04:25 CEST 2003 - ke@suse.de
- Fix typo in suse-catalog.xml entry: s/MathML/ISO 8879:1986/ .
-------------------------------------------------------------------
Fri Jun 6 13:26:47 CEST 2003 - ke@suse.de
- Unregister sgml catalog at deinstallation only.
-------------------------------------------------------------------
Wed Apr 30 10:38:49 CEST 2003 - ke@suse.de
- Use /etc/xml/suse-catalog.xml instead of /etc/xml/catalog.
-------------------------------------------------------------------
Fri Dec 13 13:27:50 CET 2002 - ke@suse.de
- Now use the original .zip file.
- Remove spurious entry from CATALOG.xmlcharent; reported by Thomas
Schraitle.
- Register catalog file using sgml-register-catalog.
-------------------------------------------------------------------
Mon Jun 24 15:13:38 CEST 2002 - ke@suse.de
- Initial package: version 0.3cvs (released zip file isn't
accessible since several days...).

19
xmlcharent.sgml Normal file
View File

@ -0,0 +1,19 @@
PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" "__DIR__/entities/iso-amsa.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" "__DIR__/entities/iso-amsb.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" "__DIR__/entities/iso-amsc.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" "__DIR__/entities/iso-amsn.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" "__DIR__/entities/iso-amso.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" "__DIR__/entities/iso-amsr.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" "__DIR__/entities/iso-box.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" "__DIR__/entities/iso-cyr1.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" "__DIR__/entities/iso-cyr2.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" "__DIR__/entities/iso-dia.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Greek Letters//EN//XML" "__DIR__/entities/iso-grk1.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" "__DIR__/entities/iso-grk2.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" "__DIR__/entities/iso-grk3.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" "__DIR__/entities/iso-grk4.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" "__DIR__/entities/iso-lat1.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" "__DIR__/entities/iso-lat2.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" "__DIR__/entities/iso-num.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES Publishing//EN//XML" "__DIR__/entities/iso-pub.ent"
PUBLIC "-//ISO 8879:1986//ENTITIES General Technical//EN//XML" "__DIR__/entities/iso-tech.ent"

68
xmlcharent.spec Normal file
View File

@ -0,0 +1,68 @@
#
# spec file for package xmlcharent
#
# Copyright (c) 2022 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/
#
Name: xmlcharent
Version: 0.3
Release: 0
Summary: XML Character Entities
License: BSD-3-Clause
Group: Productivity/Publishing/XML
URL: http://www.oasis-open.org/docbook/xmlcharent/
Source0: xmlcharent-0.3.tar.bz2
Source1: xmlcharent.xml
Source2: xmlcharent.sgml
Requires: sgml-skel >= 0.7
Requires(post): sgml-skel >= 0.7
Requires(postun):sgml-skel >= 0.7
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
XML encodings for the 19 standard character entity sets defined in
non-normative Annex D of [ISO 8879:1986].
%prep
%setup -q -n %{name}-%{version}
sed 's|__DIR__|%{_datadir}/%{name}|' %{SOURCE1} > xmlcharent.xml
sed 's|__DIR__|%{_datadir}/%{name}|' %{SOURCE2} > xmlcharent.sgml
%build
%install
%{__mkdir} -p %{buildroot}%{_datadir}/%{name}/entities/
%{__install} -m 0664 -D *.ent %{buildroot}%{_datadir}/%{name}/entities/
%{__install} -m 0644 -D xmlcharent.xml %{buildroot}%{_sysconfdir}/xml/catalog.d/%{name}.xml
%{__install} -m 0644 -D xmlcharent.sgml %{buildroot}%{_datadir}/%{name}/%{name}.sgml
%post
update-xml-catalog
sgml-register-catalog -a %{_datadir}/%{name}/%{name}.sgml
%postun
update-xml-catalog
if ! test -e %{_datadir}/%{name}/%{name}.sgml
then
sgml-register-catalog -r %{_datadir}/%{name}/%{name}.sgml
fi
%files
%defattr(-, root, root)
%{_datadir}/%{name}
%{_sysconfdir}/xml/catalog.d/%{name}.xml
%changelog

25
xmlcharent.xml Normal file
View File

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<group id="xmlcharent">
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xmlcharent/0.3/" rewritePrefix="file://__DIR__/entities/"/>
<public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML" uri="file://__DIR__/entities/iso-pub.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML" uri="file://__DIR__/entities/iso-grk1.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" uri="file://__DIR__/entities/iso-box.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" uri="file://__DIR__/entities/iso-grk3.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" uri="file://__DIR__/entities/iso-amsn.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" uri="file://__DIR__/entities/iso-num.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" uri="file://__DIR__/entities/iso-grk4.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" uri="file://__DIR__/entities/iso-dia.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" uri="file://__DIR__/entities/iso-grk2.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" uri="file://__DIR__/entities/iso-amsa.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" uri="file://__DIR__/entities/iso-amso.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" uri="file://__DIR__/entities/iso-cyr1.ent"/>
<public publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML" uri="file://__DIR__/entities/iso-tech.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" uri="file://__DIR__/entities/iso-amsc.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" uri="file://__DIR__/entities/iso-lat1.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" uri="file://__DIR__/entities/iso-amsb.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" uri="file://__DIR__/entities/iso-lat2.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" uri="file://__DIR__/entities/iso-amsr.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" uri="file://__DIR__/entities/iso-cyr2.ent"/>
</group>
</catalog>