2009-02-20 21:13:51 +00:00
|
|
|
%global date 20020801
|
2023-01-21 07:32:10 +00:00
|
|
|
%global baserelease 17
|
2008-02-29 18:16:46 +00:00
|
|
|
|
|
|
|
Name: xhtml1-dtds
|
|
|
|
Version: 1.0
|
2021-08-23 13:00:52 +00:00
|
|
|
Release: %{date}.%{baserelease}%{?dist}
|
2008-02-29 18:16:46 +00:00
|
|
|
Summary: XHTML 1.0 document type definitions
|
|
|
|
|
|
|
|
# W3C Software License for DTDs etc:
|
|
|
|
# http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620#DTD
|
|
|
|
License: W3C
|
|
|
|
URL: http://www.w3.org/TR/2002/REC-xhtml1-%{date}/
|
2009-02-20 21:13:51 +00:00
|
|
|
# Source0 generated with Source99, see comments in the script
|
2015-07-02 09:23:52 +00:00
|
|
|
Source0: %{name}-%{date}.tar.xz
|
2008-02-29 18:16:46 +00:00
|
|
|
Source1: %{name}.catalog.xml
|
2009-02-20 21:13:51 +00:00
|
|
|
Source99: %{name}-prepare-tarball.sh
|
2008-02-29 18:16:46 +00:00
|
|
|
Patch0: %{name}-sgml-catalog.patch
|
|
|
|
Patch1: %{name}-sgml-dcl.patch
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: libxml2 >= 2.4.8
|
|
|
|
Requires: libxml2 >= 2.4.8
|
|
|
|
Requires: xml-common
|
|
|
|
Requires: sgml-common
|
|
|
|
Requires(post): /usr/bin/xmlcatalog
|
|
|
|
Requires(preun): /usr/bin/xmlcatalog
|
2004-09-09 14:46:04 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This provides the DTDs of the Second Edition of XHTML 1.0, a reformulation
|
|
|
|
of HTML 4 as an XML 1.0 application, and three DTDs corresponding to the
|
|
|
|
ones defined by HTML 4. The semantics of the elements and their attributes
|
|
|
|
are defined in the W3C Recommendation for HTML 4. These semantics provide
|
|
|
|
the foundation for future extensibility of XHTML.
|
|
|
|
|
2008-02-29 18:16:46 +00:00
|
|
|
|
2004-09-09 14:46:04 +00:00
|
|
|
%prep
|
2008-02-29 18:16:46 +00:00
|
|
|
%setup -q -n xhtml1-20020801
|
|
|
|
%patch0 -p0
|
|
|
|
%patch1 -p1
|
|
|
|
cp -p %{SOURCE1} DTD/catalog.xml
|
2004-09-09 14:46:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-02-29 18:16:46 +00:00
|
|
|
# Note: documentation is not shipped; the W3C Documentation License is not an
|
|
|
|
# acceptable one per Fedora licensing guidelines.
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/xml/xhtml/1.0
|
|
|
|
cp -p DTD/* $RPM_BUILD_ROOT%{_datadir}/xml/xhtml/1.0
|
|
|
|
|
|
|
|
# XML catalog:
|
|
|
|
|
|
|
|
xpkg() {
|
|
|
|
xmlcatalog --noout --add "$1" "$2" \
|
|
|
|
file://%{_datadir}/xml/xhtml/1.0/catalog.xml \
|
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/xml/%{name}-%{version}-%{release}.xml
|
|
|
|
}
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xml
|
|
|
|
xmlcatalog --noout --create \
|
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/xml/%{name}-%{version}-%{release}.xml
|
|
|
|
xpkg delegatePublic "-//W3C//DTD XHTML 1.0 "
|
|
|
|
xpkg delegatePublic "-//W3C//ENTITIES Latin 1 for XHTML"
|
|
|
|
xpkg delegatePublic "-//W3C//ENTITIES Special for XHTML"
|
|
|
|
xpkg delegatePublic "-//W3C//ENTITIES Symbols for XHTML"
|
|
|
|
for i in xhtml1 2002/REC-xhtml1-%{date} ; do
|
|
|
|
xpkg delegateSystem http://www.w3.org/TR/$i/DTD/
|
|
|
|
xpkg delegateURI http://www.w3.org/TR/$i/DTD/
|
|
|
|
done
|
|
|
|
ln -s %{name}-%{version}-%{release}.xml \
|
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/xml/%{name}.xml
|
|
|
|
|
|
|
|
# SGML catalog:
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sgml
|
|
|
|
cd $RPM_BUILD_ROOT%{_sysconfdir}/sgml
|
|
|
|
touch %{name}-%{version}-%{release}.soc
|
|
|
|
ln -s %{name}-%{version}-%{release}.soc %{name}.soc
|
|
|
|
cd -
|
|
|
|
|
2004-09-09 14:46:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%post
|
2008-02-29 18:16:46 +00:00
|
|
|
cd %{_sysconfdir}/xml
|
2008-12-12 17:02:06 +00:00
|
|
|
[ -e catalog ] || /usr/bin/xmlcatalog --noout --create catalog
|
2008-02-29 18:16:46 +00:00
|
|
|
/usr/bin/xmlcatalog --noout --add \
|
|
|
|
nextCatalog %{name}-%{version}-%{release}.xml "" catalog >/dev/null
|
|
|
|
cd - >/dev/null
|
|
|
|
/usr/bin/xmlcatalog --sgml --noout --add \
|
|
|
|
%{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc \
|
|
|
|
%{_datadir}/xml/xhtml/1.0/xhtml.soc >/dev/null
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
/usr/bin/xmlcatalog --noout --del \
|
|
|
|
%{name}-%{version}-%{release}.xml \
|
|
|
|
%{_sysconfdir}/xml/catalog >/dev/null
|
|
|
|
/usr/bin/xmlcatalog --sgml --noout --del \
|
|
|
|
%{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc \
|
|
|
|
%{_datadir}/xml/xhtml/1.0/xhtml.soc >/dev/null
|
|
|
|
:
|
2004-09-09 14:46:04 +00:00
|
|
|
|
|
|
|
|
2008-02-29 18:16:46 +00:00
|
|
|
%files
|
|
|
|
%ghost %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc
|
|
|
|
%{_sysconfdir}/sgml/%{name}.soc
|
|
|
|
%{_sysconfdir}/xml/%{name}*.xml
|
|
|
|
%{_datadir}/xml/xhtml/
|
|
|
|
|
2004-09-09 14:46:04 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-01-21 07:32:10 +00:00
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-23 13:11:57 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-22 05:10:07 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-08-23 13:00:52 +00:00
|
|
|
* Mon Aug 23 2021 Florian Weimer <fweimer@redhat.com> - 1.0-20020801.14
|
|
|
|
- Add %%baserelease to help future mass rebuilds
|
|
|
|
|
2021-07-23 21:38:03 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-28 00:06:07 +00:00
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 14:46:50 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-31 04:31:37 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-27 04:15:52 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-03 12:28:13 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 09:20:22 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 21:42:24 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 22:09:44 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 17:53:51 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-05 03:32:20 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20020801.13.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-02 09:23:52 +00:00
|
|
|
* Thu Jul 2 2015 Ville Skyttä <ville.skytta@iki.fi> - 1.0-20020801.13
|
|
|
|
- Add %%{?dist} to release (#1237194)
|
|
|
|
- Compress tarball with xz
|
|
|
|
|
2015-06-19 04:04:06 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20020801.12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-08 05:56:11 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20020801.11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 08:17:56 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20020801.10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-15 03:44:54 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20020801.9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-22 05:34:30 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20020801.8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-14 08:57:46 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20020801.7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 05:13:51 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20020801.6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-27 08:04:53 +00:00
|
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20020801.5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 09:37:25 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20020801.4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-20 21:13:51 +00:00
|
|
|
* Fri Feb 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.0-20020801.3
|
|
|
|
- Prune nondistributable content from source tarball.
|
|
|
|
|
2008-12-12 17:02:06 +00:00
|
|
|
* Fri Dec 12 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0-20020801.2
|
|
|
|
- Drop no longer needed upgrade quirks.
|
|
|
|
|
2008-02-29 18:16:46 +00:00
|
|
|
* Thu Feb 28 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0-20020801.1
|
|
|
|
- Major spec file rewrite (#226559), most visible changes:
|
|
|
|
- Various XML cataloguing improvements.
|
|
|
|
- Register to SGML catalogs in addition to XML.
|
|
|
|
- Install to %%{_datadir}/xml per the FHS.
|
|
|
|
- Sync with Fedora packaging guidelines.
|
|
|
|
- Silence post-install scriptlet.
|
|
|
|
|
2006-07-12 08:53:52 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-7.1.1
|
|
|
|
- rebuild
|
|
|
|
|
2005-12-09 22:43:53 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 14:48:53 +00:00
|
|
|
* Wed Jun 2 2004 Daniel Veillard <veillard@redhat.com> 1.0-7
|
|
|
|
- add BuildRequires: libxml2, fixes 125030
|
|
|
|
|
|
|
|
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Use ':' instead of '.' as separator for chown.
|
|
|
|
|
2004-09-09 14:48:47 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Oct 21 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- add %%clean specfile target
|
|
|
|
|
2004-09-09 14:46:04 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Dec 13 2002 Daniel Veillard <veillard@redhat.com> 1.0-4
|
2008-02-29 18:16:46 +00:00
|
|
|
- Prepare for inclusion, Prereq xml-common, fix the uninstall
|
|
|
|
for upgrades of the package
|
2004-09-09 14:46:04 +00:00
|
|
|
|
|
|
|
* Thu Dec 12 2002 Daniel Veillard <veillard@redhat.com> 1.0-1
|
2008-02-29 18:16:46 +00:00
|
|
|
- Creation, based on Tim Waugh docbook-dtd package
|