rpms/html401-dtds/devel html401-dtds-catalog.patch, NONE, 1.1 html401-dtds.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ville Skytta (scop) fedora-extras-commits at redhat.com
Wed Jun 21 06:54:00 UTC 2006


Author: scop

Update of /cvs/extras/rpms/html401-dtds/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22332/devel

Modified Files:
	.cvsignore sources 
Added Files:
	html401-dtds-catalog.patch html401-dtds.spec 
Log Message:
auto-import html401-dtds-4.01-19991224.2 on branch devel from html401-dtds-4.01-19991224.2.src.rpm
Initial import (#181068).

html401-dtds-catalog.patch:

--- NEW FILE html401-dtds-catalog.patch ---
--- HTML4.cat.orig	1999-12-25 01:26:00.000000000 +0200
+++ HTML4.cat	2004-06-20 14:03:06.021819048 +0300
@@ -6,3 +6,24 @@
 PUBLIC "-//W3C//ENTITIES Latin1//EN//HTML" HTMLlat1.ent
 PUBLIC "-//W3C//ENTITIES Special//EN//HTML" HTMLspecial.ent
 PUBLIC "-//W3C//ENTITIES Symbols//EN//HTML" HTMLsymbol.ent
+
+-- Fedora modification: added DTDDECLs --
+
+DTDDECL "-//W3C//DTD HTML 4.01//EN" HTML4.decl
+DTDDECL "-//W3C//DTD HTML 4.01 Transitional//EN" HTML4.decl
+DTDDECL "-//W3C//DTD HTML 4.01 Frameset//EN" HTML4.decl
+DTDDECL "-//W3C//ENTITIES Latin1//EN//HTML" HTML4.decl
+DTDDECL "-//W3C//ENTITIES Special//EN//HTML" HTML4.decl
+DTDDECL "-//W3C//ENTITIES Symbols//EN//HTML" HTML4.decl
+
+-- Fedora modification: added additional public id "aliases" defined in
+   ISO-HTML Annex B, http://purl.org/NET/ISO+IEC.15445/Users-Guide.html#DTD --
+   
+PUBLIC "-//W3C//ENTITIES Latin alphabet No. 1//EN//HTML" HTMLlat1.ent
+PUBLIC "-//W3C//ENTITIES Full Latin 1//EN//HTML" HTMLlat1.ent
+PUBLIC "-//W3C//ENTITIES Latin 1//EN//HTML" HTMLlat1.ent
+PUBLIC "-//W3C//ENTITIES Symbolic//EN//HTML" HTMLsymbol.ent
+DTDDECL "-//W3C//ENTITIES Latin alphabet No. 1//EN//HTML" HTML4.decl
+DTDDECL "-//W3C//ENTITIES Full Latin 1//EN//HTML" HTML4.decl
+DTDDECL "-//W3C//ENTITIES Latin 1//EN//HTML" HTML4.decl
+DTDDECL "-//W3C//ENTITIES Symbolic//EN//HTML" HTML4.decl


--- NEW FILE html401-dtds.spec ---
# Note to self: like is with the HTML 2.0 and 3.2 DTDs, HTML 4.0 and 4.01
# have the same public id to their ENTITIES files.  They are not exactly the
# same in 4.0 and 4.01, but the changes are in comments only, so no need
# use a hardcoded system id.  Well, until something installs another, and
# incompatible set of entities using the same public id anyway...

%define date    19991224

Name:           html401-dtds
Version:        4.01
Release:        %{date}.2%{?dist}
Summary:        HTML 4.01 specification and document type definitions

Group:          Applications/Text
License:        W3C License
URL:            http://www.w3.org/TR/1999/REC-html401-%{date}/
Source0:        http://www.w3.org/TR/1999/REC-html401-%{date}/html40.tgz
Patch0:         %{name}-catalog.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(File::Spec)
Requires:       sgml-common
Requires(post): /usr/bin/install-catalog
Requires(preun): /usr/bin/install-catalog

%description
This package provides the three HTML 4.01 DTDs (strict, frameset, and
transitional).  The DTDs are required for processing HTML 4.01
document instances using SGML tools such as OpenSP, OpenJade, or
SGMLSpm.


%prep
%setup -q -c
%patch0 -p0


%build


%install
rm -rf $RPM_BUILD_ROOT __docs

abs2rel() { perl -MFile::Spec -e 'print File::Spec->abs2rel(@ARGV)' "$@" ; }
docdir=%{_docdir}/%{name}-%{version}

mkdir __docs
cp -pR *.html $(find * -maxdepth 1 -type d -not -name __docs) __docs
ln -s cover.html __docs/index.html

mkdir -p $RPM_BUILD_ROOT%{_datadir}/sgml/html/4.01
for file in *.dtd *.cat *.ent *.decl ; do
  cp -p $file $RPM_BUILD_ROOT%{_datadir}/sgml/html/4.01
  ln -s $(abs2rel %{_datadir}/sgml/html/4.01/$file $docdir) __docs/$file
done

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 -


%clean
rm -rf $RPM_BUILD_ROOT


%post
/usr/bin/install-catalog --add \
  %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc \
  %{_datadir}/sgml/html/4.01/HTML4.cat >/dev/null

%preun
/usr/bin/install-catalog --remove \
  %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc \
  %{_datadir}/sgml/html/4.01/HTML4.cat >/dev/null || :


%files
%defattr(644,root,root,755)
%doc __docs/*
%ghost %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc
%{_sysconfdir}/sgml/%{name}.soc
%{_datadir}/sgml/html/


%changelog
* Tue Jun 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 4.01-19991224.2
- Require install-catalog at post-install and pre-uninstall time (#181068).

* Sun Jun 18 2006 Ville Skyttä <ville.skytta at iki.fi> - 4.01-19991224.1
- Include specification date in release field (#181068).
- Make doc symlinks relative.

* Sat Feb 25 2006 Ville Skyttä <ville.skytta at iki.fi> - 4.01-0.3
- Improve description (#181068).
- Fold specification into main package as %%doc (#181068).

* Wed Jun 15 2005 Ville Skyttä <ville.skytta at iki.fi> - 4.01-0.2
- Rebuild for FC4.

* Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 4.01-0.1
- Use -maxdepth before other options to find(1).

* Tue Jun 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:4.01-0.fdr.6
- Move files below %%{_datadir}/sgml/html/4.01, remove alternatives.
- Add non-versioned %%{_sysconfdir}/sgml/%%{name}.soc symlink.

* Sun Jun 20 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:4.01-0.fdr.5
- Add additional public id "aliases" for entities to SGML catalog as defined
  in ISO-HTML Annex B, http://purl.org/NET/ISO+IEC.15445/Users-Guide.html#DTD

* Sat Jun 19 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:4.01-0.fdr.4
- Add DTDDECLs to SGML catalog.

* Sun Dec  7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.01-0.fdr.3
- Use alternatives to install preferred HTML DTD location.

* Sat Dec  6 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.01-0.fdr.2
- Install dir directly under %%{_datadir}/sgml.
- Spec cleanups.

* Tue Dec  2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.01-0.fdr.1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/html401-dtds/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Jun 2006 06:53:16 -0000	1.1
+++ .cvsignore	21 Jun 2006 06:54:00 -0000	1.2
@@ -0,0 +1 @@
+html40.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/html401-dtds/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Jun 2006 06:53:16 -0000	1.1
+++ sources	21 Jun 2006 06:54:00 -0000	1.2
@@ -0,0 +1 @@
+1ed76627ba80816079649f67023ec7ab  html40.tgz




More information about the fedora-extras-commits mailing list