OBS User unknown 2007-01-15 23:16:49 +00:00 committed by Git OBS Bridge
commit e27c38ac34
17 changed files with 802 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

27
CATALOG.html Normal file
View File

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

4
CATALOG.html-3.2 Normal file
View File

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

8
CATALOG.html-4.0 Normal file
View File

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

View File

@ -0,0 +1,142 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Errata in REC-html40-19980424</title>
<LINK rel="start" href="http://www.w3.org/TR/1998/REC-html40-19980424">
<style type="text/css">
body {
background: white;
color: black;
}
</style>
<base href="http://www.w3.org/TR/1998/REC-html40-19980424/">
</head>
<body>
<p align="right"><a href="http://www.w3.org/"><img
src="http://www.w3.org/Icons/w3c_home.gif" alt="W3C" align="left" border="0"
hspace="0"></a><br clear="all"></p>
<H1 align="center">HTML 4.0 Specification Errata</H1>
<p align="center">24-April-1998</p>
<dl>
<dt>This document:
<dd><a href="http://www.w3.org/MarkUp/html40-updates/REC-html40-19980424-errata.html">
http://www.w3.org/MarkUp/html40-updates/REC-html40-19980424-errata.html</a>
<dt>The latest version of the HTML 4.0 specification:
<dd><a href="http://www.w3.org/TR/REC-html40">http://www.w3.org/TR/REC-html40</a>
</dl>
<dl>
<dt>This document records known errors in the document:
<dd><a href="http://www.w3.org/TR/1998/REC-html40-19980424">http://www.w3.org/TR/1998/REC-html40-19980424</a>
</dl>
<P>Please email error reports to <a
href="mailto:www-html-editor@w3.org">www-html-editor@w3.org</a>.
<h2>Known Errors</h2>
<dl>
<dt><a href="interact/scripts.html#h-18.2.3">Section 18.2.3</a>
<dd>The onfocus and onblur events may
also be used with the <samp class="einst">A</samp> and
<samp class="einst">AREA</samp> elements.
<dt><a href="sgml/sgmldecl.html">Section 20</a>
<dd>The SGML Declaration for HTML 4.0 must be modified slightly
to support hexadecimal numeric character references.
The lines:
<PRE>
DELIM
GENERAL SGMLREF
SHORTREF SGMLREF
</PRE>
<P>must be changed to:
<PRE>
DELIM
GENERAL SGMLREF
HCRO "&amp;#38#x" -- 38 is the number for ampersand --
SHORTREF SGMLREF
</PRE>
<P>And the initial <tt>&lt;!SGML "ISO 8879:1986"</tt> must be changed
to <tt>&lt;!SGML "ISO 8879:1986 (WWW)"</tt>.
</dd>
<dt><a href="sgml/dtd.html">Section 21</a>
<dd>The <samp class="einst">HR</samp> element should
also take the <samp class="ainst">lang</samp>
and <samp class="ainst">dir</samp> attributes. These are
noted as being defined elsewhere at the element's definition,
but were left out of the DTDs.
<dt><a href="sgml/dtd.html">Section 21</a>
<dd>The <samp class="einst">OBJECT</samp> element's
<samp class="ainst">archive</samp> 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).
<dt><a href="sgml/dtd.html">Section 21</a>
<dd>The <samp class="einst">FORM</samp> element's
DTD fragment should include a definition for the
<samp class="ainst">accept</samp> attribute, which is
listed in the element's definition. The definition
should be the following:</p>
<PRE>
accept-charset %Charsets; #IMPLIED -- list of supported charsets --
<PRE>
<samp class="ainst">archive</samp> 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).
<dt><a href="appendix/notes.html#h-B.4.1.1">Section B.4.1.1</a>
<dd>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.
<P>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.
<P>For information about search robots, please consult, for example:</p>
<ul>
<li><a href="http://www.kollar.com/robots.html">
http://www.kollar.com/robots.html</a>
<li><a href="http://info.webcrawler.com/mak/projects/robots/norobots-rfc.html">
http://info.webcrawler.com/mak/projects/robots/norobots-rfc.html</a>
<li><a href="http://info.webcrawler.com/mak/projects/robots/robots.html"
http://info.webcrawler.com/mak/projects/robots/robots.html</a>
</ul>
</dl>
<h2>Minor typographical errors</h2>
<dl>
<dt><a href="intro/intro.html#h-2.1.1">Section 2.1.1</a>
<dd>The phrase "accessible via the path "/TR/REC-html4/".
should end with "/TR/REC-html40/".
<dt><a href="struct/objects.html#h-13.7.1">Section 13.7.1</a>
<dd>In the definition of the <samp class="ainst">height</samp>
attribute, the phrase "Image and object override" should
read "Image and object height override".
</dl>
</body>
</html>

76
copyright-software.html Normal file
View File

@ -0,0 +1,76 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>W3C IPR SOFTWARE NOTICE</TITLE>
</HEAD>
<BODY text="#000000" bgcolor="#FFFFFF">
<H1>
W3C<SUP>&reg;</SUP> Software Copyright Notice and License
</H1>
<P>
<B><FONT size="+1">Copyright &copy; 1995-1999</FONT>
<FONT size="+1"><A href="http://www.w3.org/">World Wide Web Consortium</A>,
</FONT>(<A href="http://www.lcs.mit.edu/">Massachusetts Institute of
Technology</A>, <A href="http://www.inria.fr/">Institut National de Recherche
en Informatique et en Automatique</A>, <A href="http://www.keio.ac.jp/">Keio
University</A>)<FONT size="+1">. All Rights Reserved.</FONT></B>
<P>
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:
<P>
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:
<OL>
<LI>
A link or URL to the original W3C source.
<LI>
Any pre-existing intellectual property disclaimers. If none exist, then a
notice of the form: "Copyright &copy; <A href="http://www.w3.org/">World
Wide Web Consortium</A>, (<A href="http://www.lcs.mit.edu/">Massachusetts
Institute of Technology</A>, <A href="http://www.inria.fr/">Institut National
de Recherche en Informatique et en Automatique</A>,
<A href="http://www.keio.ac.jp/">Keio University</A>). All Rights Reserved.
W3C<SUP>&reg;</SUP> is a registered trademark of the Massachusetts Institute
of Technology on behalf of the World Wide Web Consortium."
</OL>
<P>
When space permits, inclusion of the full text of this <B>NOTICE </B>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.
<P>
<B>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.</B>
<P>
<B>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL
OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
DOCUMENTATION.</B>
<P>
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.
<P>
&nbsp;
<P>
----------------------------------------------------------------------------
<P>
Please see our <A href="IPR-FAQ.html">Copyright FAQ</A> for common questions
about using materials from our site. Other questions about this notice can
be directed to <A href="mailto:site-policy@w3.org">site-policy@w3.org</A>
. <BR>
&nbsp;
<ADDRESS>
<A href="../../Help/Webmaster.html">webmaster</A><BR>
May1999
</ADDRESS>
</BODY></HTML>

3
get_version_number.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
get_date_version_string html-dtd-README.SuSE

3
html-3.2.tar.gz Normal file
View File

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

21
html-dtd-README.SuSE Normal file
View File

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

149
html-dtd.changes Normal file
View File

@ -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 <ke@suse.de>
* Add HTML 4.0 Specification (Draft 1997/09/17).
* Add index.html.
Mon Jul 7 09:30:12 1997 - Karl Eichwalder <ke@suse.de>
* html_dtd.plist: Add link dirs.
Wed Jul 2 09:59:42 1997 - Karl Eichwalder <ke@suse.de>
* initial package: Includes the DTDs for HTML 2.0, HTML 3.2, and
ISO-HTML, plus some docs.

316
html-dtd.spec Normal file
View File

@ -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 <ke@suse.de>
* 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 <ke@suse.de>
* html_dtd.plist: Add link dirs.
* Wed Jul 02 1997 - Karl Eichwalder <ke@suse.de>
* initial package: Includes the DTDs for HTML 2.0, HTML 3.2, and
ISO-HTML, plus some docs.

View File

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

3
html40.tgz Normal file
View File

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

3
html401.tgz Normal file
View File

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

20
html_dtd.dif Normal file
View File

@ -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 @@
+<!DOCTYPE HTML>
+<html>
+<title>HTML Document Type Definitions (DTD)</title>
+<body>
+<h1>HTML Document Type Definitions (DTD)</h1>
+<ul>
+<li>HTML 2.0 (the standard): <a
+href="html/html-spec_toc.html">html/html-spec_toc.html</a>.
+<li>HTML 3.0 (W3C Recommendation): <a
+href="html-3.2/REC-html32.html">html-3.2/REC-html32.html</a>.
+<li>HTML 4.0 (W3C: HTML 4.0 Specification): <a
+href="html-4.0/cover.html">html-4.0/cover.html</a>.
+<li>HTML 4.01 (W3C: HTML 4.01 Proposed Recommendation): <a
+href="html-4.01/cover.html">html-4.01/cover.html</a>.
+</ul>
+</body>
+</html>

0
ready Normal file
View File