packages: docbook-dtd45-sgml/docbook-dtd45-sgml.spec - fixed grep used for ...

qboosh qboosh at pld-linux.org
Sun May 15 18:11:43 CEST 2011


Author: qboosh                       Date: Sun May 15 16:11:43 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed grep used for catalog
- note DocBook version in summary/desc
- release 2

---- Files affected:
packages/docbook-dtd45-sgml:
   docbook-dtd45-sgml.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/docbook-dtd45-sgml/docbook-dtd45-sgml.spec
diff -u packages/docbook-dtd45-sgml/docbook-dtd45-sgml.spec:1.1 packages/docbook-dtd45-sgml/docbook-dtd45-sgml.spec:1.2
--- packages/docbook-dtd45-sgml/docbook-dtd45-sgml.spec:1.1	Wed Sep  2 09:09:01 2009
+++ packages/docbook-dtd45-sgml/docbook-dtd45-sgml.spec	Sun May 15 18:11:38 2011
@@ -1,16 +1,16 @@
 # $Revision$, $Date$
 %define ver	4.5
 %define sver	45
-Summary:	DocBook - DTD for technical documentation
-Summary(pl.UTF-8):	DocBook - DTD przeznaczone do pisania dokumentacji technicznej
+Summary:	DocBook 4.5 SGML - DTD for technical documentation
+Summary(pl.UTF-8):	DocBook 4.5 SGML - DTD przeznaczone do pisania dokumentacji technicznej
 Name:		docbook-dtd%{sver}-sgml
 Version:	1.0
-Release:	1
+Release:	2
 License:	Free
 Group:		Applications/Publishing/SGML
-URL:		http://www.oasis-open.org/docbook/
 Source0:	http://www.oasis-open.org/docbook/sgml/%{ver}/docbook-%{ver}.zip
 # Source0-md5:	07c581f4bbcba6d3aac85360a19f95f7
+URL:		http://www.oasis-open.org/docbook/
 BuildRequires:	unzip
 Requires(post,postun):	sgml-common >= 0.5
 Requires:	sgml-common >= 0.5
@@ -22,7 +22,7 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-DocBook - DTD for technical documentation.
+DocBook 4.5 SGML - DTD for technical documentation.
 
 %description -l pl.UTF-8
 DocBook DTD jest zestawem definicji dokumentów przeznaczonych do
@@ -30,6 +30,8 @@
 podręczników systemowych, instrukcji technicznych jak i wielu innych
 ciekawych rzeczy.
 
+This package contains DocBook 4.5 SGML DTD.
+
 %prep
 %setup -q -c
 chmod 644 *
@@ -38,10 +40,10 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/sgml/docbook/sgml-dtd-%{ver}
 
-install  *.dtd *.mod *.dcl $RPM_BUILD_ROOT%{_datadir}/sgml/docbook/sgml-dtd-%{ver}/
+install *.dtd *.mod *.dcl $RPM_BUILD_ROOT%{_datadir}/sgml/docbook/sgml-dtd-%{ver}
 
 # install catalog (but filter out ISO entities)
-grep -v 'ISO ' docbook.cat > $RPM_BUILD_ROOT%{_datadir}/sgml/docbook/sgml-dtd-%{ver}/catalog
+grep -v -E 'ISO 8879|iso-.*\.gml' docbook.cat > $RPM_BUILD_ROOT%{_datadir}/sgml/docbook/sgml-dtd-%{ver}/catalog
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,7 +60,7 @@
 
 %files
 %defattr(644,root,root,755)
-%{_datadir}/sgml/docbook/*
+%{_datadir}/sgml/docbook/sgml-dtd-%{ver}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -66,6 +68,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/05/15 16:11:38  qboosh
+- fixed grep used for catalog
+- note DocBook version in summary/desc
+- release 2
+
 Revision 1.1  2009/09/02 07:09:01  arekm
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/docbook-dtd45-sgml/docbook-dtd45-sgml.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list