commit e27c38ac34a190c8387d4ec4d99481cb6941bd88fb38449371ae9019e3d07375 Author: OBS User unknown Date: Mon Jan 15 23:16:49 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-dtd?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/CATALOG.html b/CATALOG.html new file mode 100644 index 0000000..4b46fab --- /dev/null +++ b/CATALOG.html @@ -0,0 +1,27 @@ + -- catalog: SGML Open style entity catalog for HTML -- + -- $Id: catalog,v 1.3 1995/09/21 23:30:23 connolly Exp $ -- + + -- Ways to refer to Level 2: most general to most specific -- +PUBLIC "-//IETF//DTD HTML//EN" /usr/share/sgml/html/dtd/2.0/html.dtd +PUBLIC "-//IETF//DTD HTML 2.0//EN" /usr/share/sgml/html/dtd/2.0/html.dtd +PUBLIC "-//IETF//DTD HTML Level 2//EN" /usr/share/sgml/html/dtd/2.0/html.dtd +PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN" /usr/share/sgml/html/dtd/2.0/html.dtd + + -- Ways to refer to Level 1: most general to most specific -- +PUBLIC "-//IETF//DTD HTML Level 1//EN" /usr/share/sgml/html/dtd/2.0/html-1.dtd +PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN" /usr/share/sgml/html/dtd/2.0/html-1.dtd + + -- Ways to refer to + Strict Level 2: most general to most specific -- +PUBLIC "-//IETF//DTD HTML Strict//EN" /usr/share/sgml/html/dtd/2.0/html-s.dtd +PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN" /usr/share/sgml/html/dtd/2.0/html-s.dtd +PUBLIC "-//IETF//DTD HTML Strict Level 2//EN" /usr/share/sgml/html/dtd/2.0/html-s.dtd +PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 2//EN" /usr/share/sgml/html/dtd/2.0/html-s.dtd + + -- Ways to refer to + Strict Level 1: most general to most specific -- +PUBLIC "-//IETF//DTD HTML Strict Level 1//EN" /usr/share/sgml/html/dtd/2.0/html-1s.dtd +PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN" /usr/share/sgml/html/dtd/2.0/html-1s.dtd + + -- ISO latin 1 entity set for HTML -- +PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML" /usr/share/sgml/html/dtd/2.0/ISOlat1.sgml diff --git a/CATALOG.html-3.2 b/CATALOG.html-3.2 new file mode 100644 index 0000000..66ba53e --- /dev/null +++ b/CATALOG.html-3.2 @@ -0,0 +1,4 @@ +PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN" /usr/share/sgml/html/dtd/3.2/HTML32.dtd +PUBLIC "-//W3C//DTD HTML 3.2 Final//EN" /usr/share/sgml/html/dtd/3.2/HTML32.dtd +PUBLIC "-//W3C//DTD HTML 3.2//EN" /usr/share/sgml/html/dtd/3.2/HTML32.dtd +PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML" /usr/share/sgml/html/dtd/3.2/ISOlat1.ent diff --git a/CATALOG.html-4.0 b/CATALOG.html-4.0 new file mode 100644 index 0000000..e4a39b8 --- /dev/null +++ b/CATALOG.html-4.0 @@ -0,0 +1,8 @@ +OVERRIDE YES + +PUBLIC "-//W3C//DTD HTML 4.0//EN" /usr/share/sgml/html/dtd/4.0/strict.dtd +PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" /usr/share/sgml/html/dtd/4.0/loose.dtd +PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN" /usr/share/sgml/html/dtd/4.0/frameset.dtd +PUBLIC "-//W3C//ENTITIES Latin1//EN//HTML" /usr/share/sgml/html/dtd/4.0/HTMLlat1.ent +PUBLIC "-//W3C//ENTITIES Special//EN//HTML" /usr/share/sgml/html/dtd/4.0/HTMLspecial.ent +PUBLIC "-//W3C//ENTITIES Symbols//EN//HTML" /usr/share/sgml/html/dtd/4.0/HTMLsymbol.ent diff --git a/REC-html40-19980424-errata.html b/REC-html40-19980424-errata.html new file mode 100644 index 0000000..4dc06cd --- /dev/null +++ b/REC-html40-19980424-errata.html @@ -0,0 +1,142 @@ + + + + + +Errata in REC-html40-19980424 + + + + + +

W3C

+ +

HTML 4.0 Specification Errata

+

24-April-1998

+ +
+
This document: +
+http://www.w3.org/MarkUp/html40-updates/REC-html40-19980424-errata.html +
The latest version of the HTML 4.0 specification: +
http://www.w3.org/TR/REC-html40 +
+ +
+
This document records known errors in the document: +
http://www.w3.org/TR/1998/REC-html40-19980424 +
+ +

Please email error reports to www-html-editor@w3.org. + +

Known Errors

+ +
+
Section 18.2.3 +
The onfocus and onblur events may +also be used with the A and +AREA elements. + +
Section 20 +
The SGML Declaration for HTML 4.0 must be modified slightly +to support hexadecimal numeric character references. +The lines: +
+        DELIM
+               GENERAL SGMLREF
+               SHORTREF SGMLREF
+
+ +

must be changed to: +

+        DELIM
+               GENERAL SGMLREF
+               HCRO "&#38#x" -- 38 is the number for ampersand --
+               SHORTREF SGMLREF
+
+ +

And the initial <!SGML "ISO 8879:1986" must be changed +to <!SGML "ISO 8879:1986 (WWW)". +

+ +
Section 21 +
The HR element should +also take the lang +and dir attributes. These are +noted as being defined elsewhere at the element's definition, +but were left out of the DTDs. + +
Section 21 +
The OBJECT element's +archive attribute is defined +in the DTD as taking a value of type %URI". This is +incorrect: the value may be a space-separated list +of URIs (as indicated in the definition of the +attribute and in the DTDs comment). + +
Section 21 +
The FORM element's +DTD fragment should include a definition for the +accept attribute, which is +listed in the element's definition. The definition +should be the following:

+ +
+ accept-charset  %Charsets;  #IMPLIED  -- list of supported charsets --
+
+
+archive attribute is defined
+in the DTD as taking a value of type %URI". This is
+incorrect: the value may be a space-separated list
+of URIs (as indicated in the definition of the
+attribute and in the DTDs comment).
+
+
Section B.4.1.1 +
The specification reads, "Blank lines are not permitted." +Blank lines are permitted in the robots.txt file, just not within +a single "record". Note that the specification doesn't define +record. + +

Further down the page, the specification reads, "There must +be exactly one "User-agent" field per record." +In fact, there can be more than one User-Agent field +in the robots.txt file, just not more than one per record. + + +

For information about search robots, please consult, for example:

+ + + + +
+ +

Minor typographical errors

+ +
+
Section 2.1.1 +
The phrase "accessible via the path "/TR/REC-html4/". +should end with "/TR/REC-html40/". + +
Section 13.7.1 +
In the definition of the height +attribute, the phrase "Image and object override" should +read "Image and object height override". +
+ + + diff --git a/copyright-software.html b/copyright-software.html new file mode 100644 index 0000000..6002d84 --- /dev/null +++ b/copyright-software.html @@ -0,0 +1,76 @@ + + + + + W3C IPR SOFTWARE NOTICE + + +

+ W3C® Software Copyright Notice and License +

+

+Copyright © 1995-1999 +World Wide Web Consortium, +(Massachusetts Institute of +Technology, Institut National de Recherche +en Informatique et en Automatique, Keio +University). All Rights Reserved. +

+This W3C software is being provided by the copyright holders under the following +license. By obtaining, using and/or copying this software, you agree that +you have read, understood, and will comply with the following terms and +conditions: +

+Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee or royalty is hereby granted, +provided that you include the following on ALL copies of the software and +documentation or portions thereof, including modifications, that you make: +

    +
  1. + A link or URL to the original W3C source. +
  2. + Any pre-existing intellectual property disclaimers. If none exist, then a + notice of the form: "Copyright © World + Wide Web Consortium, (Massachusetts + Institute of Technology, Institut National + de Recherche en Informatique et en Automatique, + Keio University). All Rights Reserved. + W3C® is a registered trademark of the Massachusetts Institute + of Technology on behalf of the World Wide Web Consortium." +
+

+When space permits, inclusion of the full text of this NOTICE should +be provided. In addition, credit shall be attributed to the copyright holders +for any software, documents, or other items or products that you create pursuant +to the implementation of the contents of this document, or any portion thereof. +

+THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS +MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT +NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR +PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE +ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +

+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL +OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR +DOCUMENTATION. +

+The name and trademarks of copyright holders may NOT be used in advertising +or publicity pertaining to the software without specific, written prior +permission. Title to copyright in this software and any associated documentation +will at all times remain with copyright holders. +

+  +

+---------------------------------------------------------------------------- +

+Please see our Copyright FAQ for common questions +about using materials from our site. Other questions about this notice can +be directed to site-policy@w3.org +.
+  +

+ webmaster
+ May1999 +
+ diff --git a/get_version_number.sh b/get_version_number.sh new file mode 100644 index 0000000..f96fa7f --- /dev/null +++ b/get_version_number.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +get_date_version_string html-dtd-README.SuSE diff --git a/html-3.2.tar.gz b/html-3.2.tar.gz new file mode 100644 index 0000000..6744ff7 --- /dev/null +++ b/html-3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5f3b5496cb7d8faaa23a794ce88d77fb5eeecca97e263417849a0417c72009c +size 41481 diff --git a/html-dtd-README.SuSE b/html-dtd-README.SuSE new file mode 100644 index 0000000..fc696e7 --- /dev/null +++ b/html-dtd-README.SuSE @@ -0,0 +1,21 @@ +README.SuSE: +============ + +Within this package you'll find: + +HTML-2.0: +http://www.w3.org/MarkUp/html-spec/html-spec-19950922.tar.gz + +HTML-3.2: +http://www.w3.org/TR/REC-html32.html +http://www.w3.org/MarkUp/Wilbur/ + +HTML-4.0: +http://www.w3.org/TR/WD-html40/html40.tgz + +HTML-4.01: +http://www.w3.org/TR/html40/html401.tgz + +XHTML is shipped as a separate package called xhtml-dtd. +ISO-HTML was dropped (cf. ftp://ftp.cs.tcd.ie/isohtml). + diff --git a/html-dtd.changes b/html-dtd.changes new file mode 100644 index 0000000..2d41a9e --- /dev/null +++ b/html-dtd.changes @@ -0,0 +1,149 @@ +------------------------------------------------------------------- +Wed Aug 16 15:23:25 CEST 2006 - ke@suse.de + +- Remove SuSEconfig call. + +------------------------------------------------------------------- +Wed Jan 25 21:46:31 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Mon Feb 23 11:50:21 CET 2004 - hmacht@suse.de + +- building as non-root + +------------------------------------------------------------------- +Mon Jan 26 17:20:09 CET 2004 - ke@suse.de + +- Adjust directories according to FHS 2.3: + * Move SGML DTDs to /usr/share/sgml/html. + * Keep CATALOG.* files in /usr/share/sgml for the time being. + * Provide compatibility links for SL =< 9.0 (log this info in + /var/adm/SuSEconfig/run-sgmldir-links for later processing). + +------------------------------------------------------------------- +Wed Jun 4 16:44:38 CEST 2003 - ke@suse.de + +- Use %postun instead of %preun; reported by Ruediger Oertel. + +------------------------------------------------------------------- +Tue Jun 3 11:53:35 CEST 2003 - ke@suse.de + +- Only on deinstallation remove catalog reference from + /etc/sgml/catalog. + +------------------------------------------------------------------- +Wed Nov 27 15:11:29 CET 2002 - ke@suse.de + +- Use sgml-register-catalog to register catalog files. +- Drop SGMLDECL reference; opensp (onsgmls) resp. openjade support + DTDDECL. + +------------------------------------------------------------------- +Mon Aug 5 14:49:03 CEST 2002 - ke@suse.de + +- Make sure Emacs will find "ENTITIES Latin 1" and "ENTITIES Latin1". + +------------------------------------------------------------------- +Mon Oct 29 10:35:37 CET 2001 - ke@suse.de + +- Fix dangling symlinks. + Reported by Rainer Klute [# 12061]. +- Add sgml-skel to neededforbuild and use it to install links. +- Fix typo. + Reported by Ulrich Windl [# 12050]. +- Add html-dtd-README.SuSE as an own source file and adjust it: xhtml + was moved to xhtml-dtd on 2001-03-15. + +------------------------------------------------------------------- +Thu Mar 15 10:26:45 CET 2001 - ke@suse.de + +- Rename html_dtd -> html-dtd. +- Drop xhtml (now available as xhtml-dtd) [#6723]. + +------------------------------------------------------------------- +Fri Oct 27 03:10:15 CEST 2000 - bk@suse.de + +- fix gif file permissions (e.g. form_exmpl.gif, was 666). + +------------------------------------------------------------------- +Wed Jul 5 13:35:03 CEST 2000 - ke@suse.de + +- Fix link in index.html (reported by Ulrich Windl). + +------------------------------------------------------------------- +Thu Jan 27 11:10:44 CET 2000 - ke@suse.de + +- update XHTML to XHTML 1.0 (now a W3C Recommendation). +- use get_version_number.sh. + +------------------------------------------------------------------- +Mon Jan 10 11:43:25 CET 2000 - ke@suse.de + +- make XHTML active (provide catalog entries). +- use date string as the version number. +- use an rpm macro for the version number ;))) . + +------------------------------------------------------------------- +Sun Dec 19 17:25:36 CET 1999 - ke@suse.de + +- add new version of XHTML. + +------------------------------------------------------------------- +Sun Nov 28 13:50:27 CET 1999 - ke@suse.de + +- drop iso-html (copyright is unclear). +- install copyright notice. +- add HTML 4.01 (proposed recommendation) (#1159). +- add XHTML (working draft) and install it as documentation (#1159). +- cleanup the check invocation. + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Thu Sep 9 12:15:28 CEST 1999 - bs@suse.de + +- fixed call of Check at the end of %install section + +------------------------------------------------------------------- +Fri Dec 18 10:44:39 MET 1998 - ke@suse.de + +- install CATALOG files at the default locations: + /var/lib/sgml -> /usr/share/sgml. + +------------------------------------------------------------------- +Fri Jul 10 15:33:07 MEST 1998 - ke@suse.de + +- install ISOlat1.sgml (HTML 2.0). +- fix file permissions. + +------------------------------------------------------------------- +Wed May 27 15:42:06 MEST 1998 - ke@suse.de + +- Update HTML 4.0 Specification (W3C Recommendation 1998-04-24). + +------------------------------------------------------------------- +Sun Jan 18 15:38:07 MET 1998 - ke@suse.de + +- Update HTML 4.0 Specification (W3C Recommendation 18-Dec-1997). +- index.html: Provide better link for 4.0. +- install HTML 4.0 DTD properly. + +1997-09-27 Karl Eichwalder + + * Add HTML 4.0 Specification (Draft 1997/09/17). + * Add index.html. + +Mon Jul 7 09:30:12 1997 - Karl Eichwalder + + * html_dtd.plist: Add link dirs. + +Wed Jul 2 09:59:42 1997 - Karl Eichwalder + + * initial package: Includes the DTDs for HTML 2.0, HTML 3.2, and + ISO-HTML, plus some docs. + diff --git a/html-dtd.spec b/html-dtd.spec new file mode 100644 index 0000000..06717ef --- /dev/null +++ b/html-dtd.spec @@ -0,0 +1,316 @@ +# +# spec file for package html-dtd (Version 2004.1.26) +# +# Copyright (c) 2006 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: html-dtd +BuildRequires: sgml-skel +URL: http://www.w3.org/MarkUp/ +License: distributable, Other License(s), see package +Group: Productivity/Publishing/HTML/Tools +Provides: html_dtd +Obsoletes: html_dtd +%define regcat /usr/bin/sgml-register-catalog +PreReq: %{regcat} +BuildArchitectures: noarch +Autoreqprov: on +Version: 2004.1.26 +Release: 77 +Summary: HTML DTDs (Document Type Definitions) and Documents +Source0: http://www.w3.org/MarkUp/html-spec/html-spec-19950922.tar.gz +# Separate files at: http://www.w3.org/TR/REC-html32.html: +Source1: html-3.2.tar.gz +# Separate files at: ftp://ftp.cs.tcd.ie/isohtml: +# Source2: iso-html.tar.gz +Source3: http://www.w3.org/TR/1998/REC-html40-19980424/html40.tgz +Source4: http://www.w3.org/MarkUp/html40-updates/REC-html40-19980424-errata.html +# the real filename is w/o "1"... : +# Source5: http://www.w3.org/TR/html40/html40.tgz +Source5: http://www.w3.org/TR/html40/html401.tgz +Source7: http://www.w3.org/Consortium/Legal/copyright-software.html +Source8: %{name}-README.SuSE +Source9: CATALOG.html +Source10: CATALOG.html-3.2 +Source11: CATALOG.html-4.0 +Patch: html_dtd.dif +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Document Type Definitions (DTDs) for HTML 2.0, HTML 3.2, HTML 4.0, and +HTML 4.01. This package also contains the documentation (located in +/usr/share/doc/packages/html-dtd). + + + +%define INSTALL install -m755 -s +%define INSTALL_DIR install -d -m755 +%define INSTALL_DATA install -m644 +%define sgml_dir %{_datadir}/sgml +%define sgml_html_dir %{sgml_dir}/html +%define sgml_html_dtd_dir %{sgml_html_dir}/dtd +%define sgml_var_dir /var/lib/sgml +%prep +%setup -c -T +cp %{S:9} %{S:10} %{S:11} . +mkdir html +(cd html && tar zxf $RPM_SOURCE_DIR/html-spec-19950922.tar.gz) +%setup -T -D -a1 +# iso +#%setup -T -D -a2 +mkdir html-4.0 +(cd html-4.0 && tar zxf $RPM_SOURCE_DIR/html40.tgz \ + && cp -p $RPM_SOURCE_DIR/REC-html40-19980424-errata.html .) +mkdir html-4.01 +(cd html-4.01 && tar zxf $RPM_SOURCE_DIR/html401.tgz) +cp -p %{SOURCE7} . +%{INSTALL_DATA} %{SOURCE8} README.SuSE +%patch -p1 +find . -type f | xargs chmod 644 +find . -type d | xargs chmod 755 + +%build +pushd html-4.01 +{ + sed -e 's:\ \([a-zA-Z0-9]*\.\(ent\|dtd\)\)$: %{sgml_html_dtd_dir}/4.01/\1:g' \ + HTML4.cat + echo 'PUBLIC "-//W3C//ENTITIES Latin 1//EN//HTML" "%{sgml_html_dtd_dir}/4.01/HTMLlat1.ent"' + for d in '-//W3C//DTD HTML 4.01//EN' \ + '-//W3C//DTD HTML 4.01 Transitional//EN' \ + '-//W3C//DTD HTML 4.01 Frameset//EN'; do + echo "DTDDECL \"$d\" \"%{sgml_html_dtd_dir}/4.01/HTML4.decl\"" + done +} > ../CATALOG.html-4.01 + +%install +find . -name '*.gif' | xargs chmod 644 +export RPM_BUILD_ROOT +if [ ! "x" = "x$RPM_BUILD_ROOT" ] ; then + rm -fr $RPM_BUILD_ROOT + %{INSTALL_DIR} $RPM_BUILD_ROOT +fi +# %{INSTALL_DIR} %{sgml_dir}/iso-html +# %{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/{html,html-3.2,html-4.0,html-4.01} +%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_html_dtd_dir}/{2.0,3.2,4.0,4.01} +%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_var_dir} +cp CATALOG.html* $RPM_BUILD_ROOT%{sgml_var_dir} +(cd html && %{INSTALL_DATA} catalog *.dtd html.decl ISOlat1.sgml \ + $RPM_BUILD_ROOT%{sgml_html_dtd_dir}/2.0 \ + && rm -f *.ms *.texi Makefile *.sgm) +(cd html-3.2 \ + && %{INSTALL_DATA} HTML32.cat HTML32.dtd ISOlat1.ent \ + $RPM_BUILD_ROOT%{sgml_html_dtd_dir}/3.2) +(cd html-4.0 \ + && %{INSTALL_DATA} *.cat *.decl *.dtd *.ent \ + $RPM_BUILD_ROOT%{sgml_html_dtd_dir}/4.0) +(cd html-4.01 \ + && %{INSTALL_DATA} *.cat *.decl *.dtd *.ent \ + $RPM_BUILD_ROOT%{sgml_html_dtd_dir}/4.01) +for f in $(find $RPM_BUILD_ROOT%{sgml_html_dtd_dir} -name '*.decl'); do + pushd ${f%/*} >/dev/null + file=${f##*/} + ln -s ${file} ${file/.decl/.dcl} + popd >/dev/null +done +# useful links +%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/IETF/dtd +%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/W3C/{dtd,entities} +# %{INSTALL_DIR} %{sgml_dir}/ISO_15xxx/{entities,dtd} +(cd $RPM_BUILD_ROOT%{sgml_dir}/IETF/dtd \ + && ln -sf ../../html/dtd/2.0/html.dtd HTML \ + && ln -sf ../../html/dtd/2.0/html.dtd HTML_2.0 \ + && ln -sf ../../html/dtd/2.0/html.dtd HTML_Level_2 \ + && ln -sf ../../html/dtd/2.0/html.dtd HTML_2.0_Level_2 \ + && ln -sf ../../html/dtd/2.0/html-1.dtd HTML_Level_1 \ + && ln -sf ../../html/dtd/2.0/html-1.dtd HTML_2.0_Level_1 \ + && ln -sf ../../html/dtd/2.0/html-s.dtd HTML_Strict \ + && ln -sf ../../html/dtd/2.0/html-s.dtd HTML_2.0_Strict \ + && ln -sf ../../html/dtd/2.0/html-s.dtd HTML_Strict_Level_2 \ + && ln -sf ../../html/dtd/2.0/html-s.dtd HTML_2.0_Strict_Level_2 \ + && ln -sf ../../html/dtd/2.0/html-1s.dtd HTML_Strict_Level_1 \ + && ln -sf ../../html/dtd/2.0/html-1s.dtd HTML_2.0_Strict_Level_1 ) +(cd $RPM_BUILD_ROOT%{sgml_dir}/W3C/dtd \ + && ln -sf ../../html/dtd/3.2/HTML32.dtd HTML_3.2 \ + && ln -sf ../../html/dtd/3.2/HTML32.dtd HTML_3.2_Final ) +install-dtd.sh -p html/dtd/4.0 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f strict.dtd \ + -i '-//W3C//DTD HTML 4.0//EN' +install-dtd.sh -p html/dtd/4.0 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f loose.dtd \ + -i '-//W3C//DTD HTML 4.0 Transitional//EN' +install-dtd.sh -p html/dtd/4.0 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f frameset.dtd \ + -i '-//W3C//DTD HTML 4.0 Frameset//EN' +# "Latin 1" and "Latin1" +install-dtd.sh -p html/dtd/4.0 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f HTMLlat1.ent \ + -i '-//W3C//ENTITIES Latin 1//EN//HTML' +install-dtd.sh -p html/dtd/4.0 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f HTMLlat1.ent \ + -i '-//W3C//ENTITIES Latin1//EN//HTML' +install-dtd.sh -p html/dtd/4.0 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f HTMLspecial.ent \ + -i '-//W3C//ENTITIES Special//EN//HTML' +install-dtd.sh -p html/dtd/4.0 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f HTMLsymbol.ent \ + -i '-//W3C//ENTITIES Symbols//EN//HTML' +install-dtd.sh -p html/dtd/4.01 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f strict.dtd \ + -i '-//W3C//DTD HTML 4.01//EN' +install-dtd.sh -p html/dtd/4.01 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f loose.dtd \ + -i '-//W3C//DTD HTML 4.01 Transitional//EN' +install-dtd.sh -p html/dtd/4.01 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f frameset.dtd \ + -i '-//W3C//DTD HTML 4.01 Frameset//EN' +# "Latin 1" and "Latin1" +install-dtd.sh -p html/dtd/4.01 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f HTMLlat1.ent \ + -i '-//W3C//ENTITIES Latin 1//EN//HTML' +install-dtd.sh -p html/dtd/4.01 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f HTMLlat1.ent \ + -i '-//W3C//ENTITIES Latin1//EN//HTML' +install-dtd.sh -p html/dtd/4.01 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f HTMLspecial.ent \ + -i '-//W3C//ENTITIES Special//EN//HTML' +install-dtd.sh -p html/dtd/4.01 -s $RPM_BUILD_ROOT%{sgml_dir} \ + -f HTMLsymbol.ent \ + -i '-//W3C//ENTITIES Symbols//EN//HTML' +%define all_html_ver html html-3.2 html-4.0 html-4.01 +pushd $RPM_BUILD_ROOT%{sgml_dir} + ln -sf ../../../var/lib/sgml/CATALOG.html CATALOG.html + ln -sf ../../../var/lib/sgml/CATALOG.html-3.2 CATALOG.html-3.2 + ln -sf ../../../var/lib/sgml/CATALOG.html-4.0 CATALOG.html-4.0 + ln -sf ../../../var/lib/sgml/CATALOG.html-4.01 CATALOG.html-4.01 +popd +# && ln -sf ../../../var/lib/sgml/CATALOG.iso-html CATALOG.iso-html + +%post +if [ -x %{regcat} ]; then + for c in %{all_html_ver}; do + grep -q -e "%{sgml_dir}/CATALOG.$c\\>" /etc/sgml/catalog \ + || %{regcat} -a %{sgml_dir}/CATALOG.$c >/dev/null 2>&1 + done +fi +exit 0 + +%postun +if [ "$1" = "0" -a -x %{regcat} ]; then + for c in %{all_html_ver}; do + %{regcat} -r %{sgml_dir}/CATALOG.$c >/dev/null 2>&1 + done +fi +exit 0 + +%files +%defattr(-, root, root) +%doc README.SuSE index.html +%doc html +%doc html-3.2 +%doc html-4.0 +%doc html-4.01 +%doc copyright-software.html +# %doc iso-html +%config /var/lib/sgml/CATALOG.* +# %config /var/lib/sgml/CATALOG.iso-html +%dir /usr/share/sgml/W3C +/usr/share/sgml/CATALOG.* +# /usr/share/sgml/CATALOG.iso-html +/usr/share/sgml/IETF +#/usr/share/sgml/ISO_15xxx +%dir /usr/share/sgml/W3C/dtd +/usr/share/sgml/W3C/dtd/* +%dir /usr/share/sgml/W3C/entities +/usr/share/sgml/W3C/entities/* +%dir /usr/share/sgml/html +/usr/share/sgml/html/dtd +# /usr/share/sgml/html-4.0 +# /usr/share/sgml/html-4.01 +# /usr/share/sgml/html +# /usr/share/sgml/iso-html + +%changelog -n html-dtd +* Wed Aug 16 2006 - ke@suse.de +- Remove SuSEconfig call. +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Mon Feb 23 2004 - hmacht@suse.de +- building as non-root +* Mon Jan 26 2004 - ke@suse.de +- Adjust directories according to FHS 2.3: + * Move SGML DTDs to /usr/share/sgml/html. + * Keep CATALOG.* files in /usr/share/sgml for the time being. + * Provide compatibility links for SL =< 9.0 (log this info in + /var/adm/SuSEconfig/run-sgmldir-links for later processing). +* Wed Jun 04 2003 - ke@suse.de +- Use %%postun instead of %%preun; reported by Ruediger Oertel. +* Tue Jun 03 2003 - ke@suse.de +- Only on deinstallation remove catalog reference from + /etc/sgml/catalog. +* Wed Nov 27 2002 - ke@suse.de +- Use sgml-register-catalog to register catalog files. +- Drop SGMLDECL reference; opensp (onsgmls) resp. openjade support + DTDDECL. +* Mon Aug 05 2002 - ke@suse.de +- Make sure Emacs will find "ENTITIES Latin 1" and "ENTITIES Latin1". +* Mon Oct 29 2001 - ke@suse.de +- Fix dangling symlinks. + Reported by Rainer Klute [# 12061]. +- Add sgml-skel to neededforbuild and use it to install links. +- Fix typo. + Reported by Ulrich Windl [# 12050]. +- Add html-dtd-README.SuSE as an own source file and adjust it: xhtml + was moved to xhtml-dtd on 2001-03-15. +* Thu Mar 15 2001 - ke@suse.de +- Rename html_dtd -> html-dtd. +- Drop xhtml (now available as xhtml-dtd) [#6723]. +* Fri Oct 27 2000 - bk@suse.de +- fix gif file permissions (e.g. form_exmpl.gif, was 666). +* Wed Jul 05 2000 - ke@suse.de +- Fix link in index.html (reported by Ulrich Windl). +* Thu Jan 27 2000 - ke@suse.de +- update XHTML to XHTML 1.0 (now a W3C Recommendation). +- use get_version_number.sh. +* Mon Jan 10 2000 - ke@suse.de +- make XHTML active (provide catalog entries). +- use date string as the version number. +- use an rpm macro for the version number ;))) . +* Tue Jan 01 2000 - nobody@suse.de + 1997-09-27 Karl Eichwalder + * Add HTML 4.0 Specification (Draft 1997/09/17). + * Add index.html. +* Sun Dec 19 1999 - ke@suse.de +- add new version of XHTML. +* Sun Nov 28 1999 - ke@suse.de +- drop iso-html (copyright is unclear). +- install copyright notice. +- add HTML 4.01 (proposed recommendation) (#1159). +- add XHTML (working draft) and install it as documentation (#1159). +- cleanup the check invocation. +* Mon Sep 13 1999 - bs@suse.de +- ran old prepare_spec on spec file to switch to new prepare_spec. +* Thu Sep 09 1999 - bs@suse.de +- fixed call of Check at the end of %%install section +* Fri Dec 18 1998 - ke@suse.de +- install CATALOG files at the default locations: + /var/lib/sgml -> /usr/share/sgml. +* Fri Jul 10 1998 - ke@suse.de +- install ISOlat1.sgml (HTML 2.0). +- fix file permissions. +* Wed May 27 1998 - ke@suse.de +- Update HTML 4.0 Specification (W3C Recommendation 1998-04-24). +* Sun Jan 18 1998 - ke@suse.de +- Update HTML 4.0 Specification (W3C Recommendation 18-Dec-1997). +- index.html: Provide better link for 4.0. +- install HTML 4.0 DTD properly. +* Mon Jul 07 1997 - Karl Eichwalder + * html_dtd.plist: Add link dirs. +* Wed Jul 02 1997 - Karl Eichwalder + * initial package: Includes the DTDs for HTML 2.0, HTML 3.2, and + ISO-HTML, plus some docs. diff --git a/html-spec-19950922.tar.gz b/html-spec-19950922.tar.gz new file mode 100644 index 0000000..d6e25ac --- /dev/null +++ b/html-spec-19950922.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9b1026f534ef409d4cad9e038a56e766f1c456e036b49f6592f0236eb69a09b +size 243756 diff --git a/html40.tgz b/html40.tgz new file mode 100644 index 0000000..e90dcd4 --- /dev/null +++ b/html40.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c234d9fea983bda7a4f3461c855452c36884a770f31a0dad0b86c696609dc3d +size 356975 diff --git a/html401.tgz b/html401.tgz new file mode 100644 index 0000000..0e82400 --- /dev/null +++ b/html401.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5f9af793b0fa71eb94858f2cf659292779f4fba638a6cab7d23d5ea43541a1d +size 369830 diff --git a/html_dtd.dif b/html_dtd.dif new file mode 100644 index 0000000..f10f628 --- /dev/null +++ b/html_dtd.dif @@ -0,0 +1,20 @@ +--- html_dtd-0.2/index.html Sun Jun 29 17:10:20 1997 ++++ html_dtd-0.2/index.html Sat Sep 27 17:59:52 1997 +@@ -0,0 +1,17 @@ ++ ++ ++HTML Document Type Definitions (DTD) ++ ++

HTML Document Type Definitions (DTD)

++ ++ ++ diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4