OBS User unknown 2007-01-12 00:32:10 +00:00 committed by Git OBS Bridge
commit a7c9ddfe66
8 changed files with 332 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

19
CATALOG.xmlcharent Normal file
View File

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

23
catalog.xml Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML" uri="file://@DIR@/iso-pub.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML" uri="file://@DIR@/iso-grk1.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" uri="file://@DIR@/iso-box.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" uri="file://@DIR@/iso-grk3.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" uri="file://@DIR@/iso-amsn.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" uri="file://@DIR@/iso-num.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" uri="file://@DIR@/iso-grk4.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" uri="file://@DIR@/iso-dia.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" uri="file://@DIR@/iso-grk2.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" uri="file://@DIR@/iso-amsa.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" uri="file://@DIR@/iso-amso.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" uri="file://@DIR@/iso-cyr1.ent"/>
<public publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML" uri="file://@DIR@/iso-tech.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" uri="file://@DIR@/iso-amsc.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" uri="file://@DIR@/iso-lat1.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" uri="file://@DIR@/iso-amsb.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" uri="file://@DIR@/iso-lat2.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" uri="file://@DIR@/iso-amsr.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" uri="file://@DIR@/iso-cyr2.ent"/>
</catalog>

0
ready Normal file
View File

3
xmlcharent-0.3.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d73b6bee025a031fd641679652b852c8add72d834e4085f5c9351c2c5d4b51be
size 29705

73
xmlcharent.changes Normal file
View File

@ -0,0 +1,73 @@
-------------------------------------------------------------------
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...).

190
xmlcharent.spec Normal file
View File

@ -0,0 +1,190 @@
#
# spec file for package xmlcharent (Version 0.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xmlcharent
BuildRequires: sgml-skel
License: BSD License and BSD-like
Group: Productivity/Publishing/XML
BuildArchitectures: noarch
Autoreqprov: on
Requires: sgml-skel libxml2
%define regcat /usr/bin/sgml-register-catalog
PreReq: %{regcat} /usr/bin/xmlcatalog /usr/bin/edit-xml-catalog
PreReq: sed grep awk
Version: 0.3
Release: 294
Summary: XML Character Entities
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.oasis-open.org/committees/docbook/%{name}/%{version}/%{name}-%{version}.zip
Source1: catalog.xml
Source2: CATALOG.xmlcharent
URL: http://www.oasis-open.org/committees/docbook/xmlcharent/
%description
XML encodings for the 19 standard character entity sets defined in
non-normative Annex D of [ISO 8879:1986].
%define INSTALL install -m755 -s
%define INSTALL_DIR install -d -m755
%define INSTALL_DATA install -m644
%define INSTALL_SCRIPT install -m755 -o root -g root
%define sgml_dir %{_datadir}/sgml
%define sgml_var_dir /var/lib/sgml
%define sgml_mod_dir %{sgml_dir}/xmlcharent
%define xml_dir %{_datadir}/xml
%define xml_mod_dir %{xml_dir}/entities/%{name}/%{version}
%define sgml_config_dir /var/lib/sgml
%define sgml_sysconf_dir %{_sysconfdir}/sgml
%define xml_config_dir /var/lib/xml
%define xml_sysconf_dir %{_sysconfdir}/xml
%prep
%setup -n %{name} -c -T
unzip -aq %{S:0}
sed 's|@VERSION@|%{version}|
s|@DIR@|%{xml_mod_dir}|' %{S:1} >catalog.xml
sed 's|@VERSION@|%{version}|
s|@DIR@|%{xml_mod_dir}|' %{S:2} >CATALOG.%{name}
#%setup -q -n %{name}
%build
# # lynx -width=300 -dump entities-2002-03-19.html \
# # | grep '\(Public\|System\) identifier' \
# # | awk -F 'entifier: ' '
# # / System i/ {printf "\"%s\"\n", gensub(/.*\//,"%{sgml_dir_iso}/", g, $2)}
# # / Public i/ {printf "PUBLIC \"-//%s\" ", $2}' > CATALOG.xmlcharent
# {
# for f in iso-*.ent; do
# {
# grep ' *ISO 8879:1986' $f | sed 's:^ \+::' \
# | awk '{printf "PUBLIC \"-//%s\"", $0}';
# echo " \"%{sgml_dir_iso}/$f\"";
# }
# done
# } > CATALOG.xmlcharent
# sed 's:%{xml_mod_dir}/::' CATALOG.xmlcharent > sgml.catalog
# Prep XML catalog fragment
%define FOR_ROOT_CAT for-catalog-%{name}-%{version}-%{release}.xml
xmlcatbin=/usr/bin/xmlcatalog
# build root catalog fragment
rm -f %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp
CATALOG=%{xml_mod_dir}/catalog.xml
$xmlcatbin --noout --add "delegatePublic" "ISO 8879:1986//ENTITIES" \
"file://$CATALOG" %{FOR_ROOT_CAT}.tmp
# Create tag
sed '/<catalog/a\
<group id="%{name}-%{version}-%{release}">
/<\/catalog/i\
</group>' \
%{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT}
%install
rm -fr %{buildroot}
%{INSTALL_DIR} %{buildroot}{%{xml_mod_dir},%{sgml_dir},%{sgml_var_dir}}
%{INSTALL_DATA} catalog.xml *.ent %{buildroot}%{xml_mod_dir}
%{INSTALL_DATA} CATALOG.xmlcharent %{buildroot}%{sgml_var_dir}
pushd %{buildroot}%{sgml_dir}
ln -sf ../../../var/lib/sgml/CATALOG.* .
popd
pushd %{buildroot}%{xml_mod_dir}
for f in *.ent; do
ln -sf "$f" "${f/-}"
done
popd
# parse-sgml-catalog.sh CATALOG.xmlcharent > CATALOG.norm
# sgml2xmlcat.sh -i CATALOG.norm \
# -l -s '%{buildroot}/usr/share/sgml' -p xmlcharent
#
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xml
install -m644 %{FOR_ROOT_CAT} ${RPM_BUILD_ROOT}%{_sysconfdir}/xml
#
%define all_cat xmlcharent
%post
if [ -x %{regcat} ]; then
for c in %{all_cat}; do
grep -q -e "%{sgml_dir}/CATALOG.$c\\>" /etc/sgml/catalog \
|| %{regcat} -a %{sgml_dir}/CATALOG.$c >/dev/null 2>&1 || :
done
fi
xmlcatbin=usr/bin/xmlcatalog
%if %suse_version < 810
# autobuild on 8.0 does not install it early enough
[ -x $xmlcatbin ] || {
echo "warning: $xmlcatbin does not exist"
echo "create etc/xml/catalog etc. manually"
exit 0
}
%endif
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
--add /etc/xml/%{FOR_ROOT_CAT}
%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
xmlcatbin=/usr/bin/xmlcatalog
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
--del %{name}-%{version}-%{release}
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
# %doc entities-*.html
%{xml_mod_dir}
%config %{_sysconfdir}/xml/%{FOR_ROOT_CAT}
%config %{sgml_var_dir}/CATALOG.*
# %{sgml_dir}/ISO*
%{sgml_dir}/CATALOG.*
%dir %{xml_dir}/entities
%dir %{xml_dir}/entities/xmlcharent
%changelog -n xmlcharent
* Thu Jan 11 2007 - ke@suse.de
- Remove /usr/share/xml from the files list.
* Thu Aug 17 2006 - ke@suse.de
- Remove SuSEconfig call and a %%post warning for SL < 8.1.
* Sun Feb 19 2006 - ro@suse.de
- modify setup line in spec file
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 03 2004 - ke@suse.de
- catalog.xml: Add namespace attribute as reported by Thomas Schraitle.
* Mon May 24 2004 - ke@suse.de
- Fix syntax of catalog.xml.
* Mon Feb 09 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 05 2004 - hmacht@suse.de
- added option # norootforbuild in specfile
* Fri Jul 11 2003 - ke@suse.de
- Fix typo in suse-catalog.xml entry: s/MathML/ISO 8879:1986/ .
* Fri Jun 06 2003 - ke@suse.de
- Unregister sgml catalog at deinstallation only.
* Wed Apr 30 2003 - ke@suse.de
- Use /etc/xml/suse-catalog.xml instead of /etc/xml/catalog.
* Fri Dec 13 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 2002 - ke@suse.de
- Initial package: version 0.3cvs (released zip file isn't
accessible since several days...).