rpms/html401-dtds/devel html401-dtds.spec,1.3,1.4

Ville Skytta (scop) fedora-extras-commits at redhat.com
Mon Aug 13 11:34:35 UTC 2007


Author: scop

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

Modified Files:
	html401-dtds.spec 
Log Message:
* Mon Aug 13 2007 Ville Skyttä <ville.skytta at iki.fi> - 4.01-19991224.4
- Don't ship the docs, the W3C Documentation License is not an acceptable
  one per Fedora licensing guidelines.
- License: W3C



Index: html401-dtds.spec
===================================================================
RCS file: /cvs/pkgs/rpms/html401-dtds/devel/html401-dtds.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- html401-dtds.spec	15 Sep 2006 16:22:35 -0000	1.3
+++ html401-dtds.spec	13 Aug 2007 11:34:02 -0000	1.4
@@ -8,27 +8,28 @@
 
 Name:           html401-dtds
 Version:        4.01
-Release:        %{date}.3%{?dist}
-Summary:        HTML 4.01 specification and document type definitions
+Release:        %{date}.4%{?dist}
+Summary:        HTML 4.01 document type definitions
 
 Group:          Applications/Text
-License:        W3C License
+# W3C Software License for DTDs etc:
+# http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620#DTD
+License:        W3C
 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 HTML 4.01 specification and the three 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.
+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
@@ -40,22 +41,13 @@
 
 
 %install
-rm -rf $RPM_BUILD_ROOT __docs
-
-abs2rel() { perl -MFile::Spec -e 'print File::Spec->abs2rel(@ARGV)' "$@" ; }
-docdir=%{_docdir}/%{name}-%{version}
+rm -rf $RPM_BUILD_ROOT
 
-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
+install -dm 755 $RPM_BUILD_ROOT%{_datadir}/sgml/html/4.01
+install -pm 644 *.dtd *.cat *.ent *.decl \
+    $RPM_BUILD_ROOT%{_datadir}/sgml/html/4.01
 
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sgml
+install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/sgml
 cd $RPM_BUILD_ROOT%{_sysconfdir}/sgml
 touch %{name}-%{version}-%{release}.soc
 ln -s %{name}-%{version}-%{release}.soc %{name}.soc
@@ -79,13 +71,17 @@
 
 %files
 %defattr(644,root,root,755)
-%doc __docs/*
 %ghost %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc
 %{_sysconfdir}/sgml/%{name}.soc
 %{_datadir}/sgml/html/
 
 
 %changelog
+* Mon Aug 13 2007 Ville Skyttä <ville.skytta at iki.fi> - 4.01-19991224.4
+- Don't ship the docs, the W3C Documentation License is not an acceptable
+  one per Fedora licensing guidelines.
+- License: W3C
+
 * Fri Sep 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 4.01-19991224.3
 - Rebuild.
 




More information about the fedora-extras-commits mailing list