sgml-common.spec revision 10139
10139N/A#
10139N/A# spec file for package sgml-common
10139N/A#
12282N/A# copied from fedora core 6
10139N/A#
10139N/A# Owner: laca
10139N/A#
10139N/AName: sgml-common
10139N/AVersion: 0.6.3
10139N/ARelease: 18
15322N/AGroup: Applications/Text
10139N/A
16496N/ASummary: Common SGML catalog and DTD files.
12282N/A
10139N/ALicense: GPL
10139N/A
10139N/ABuildArch: noarch
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}
12773N/ASource0: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tgz
15694N/A# From openjade:
12773N/ASource3: xml.dcl
10139N/ASource4: xml.soc
13483N/ASource5: html.dcl
10139N/ASource6: html.soc
10139N/A# owner:laca type:bug date:2007-02-12 state:upstream from Fedora Core 6
10139N/APatch0: sgml-common-01-umask.diff
10139N/A# owner:laca type:bug date:2007-02-12 state:upstream from Fedora Core 6
10139N/APatch1: sgml-common-02-xmldir.diff
10139N/A# owner:laca type:bug date:2007-02-12 state:upstream from Fedora Core 6
10139N/APatch2: sgml-common-03-quotes.diff
10139N/A# owner:laca type:bug date:2007-02-12 state:upstream from Fedora Core 6
10139N/APatch3: sgml-common-04-automake.diff
10139N/A# owner:laca type:bug date:2007-02-12 state:upstream from Fedora Core 6
10139N/APatch4: sgml-common-05-docdir.diff
10139N/A
10139N/ARequires: sh-utils fileutils textutils grep
10139N/ABuildRequires: libxml2 >= 2.4.8-2
10139N/ABuildRequires: automake
10139N/ABuildRequires: autoconf
10139N/A
10139N/A%description
10139N/AThe sgml-common package contains a collection of entities and DTDs
10139N/Athat are useful for processing SGML, but that don't need to be
10139N/Aincluded in multiple packages. Sgml-common also includes an
10139N/Aup-to-date Open Catalog file.
10139N/A
10139N/A%package -n xml-common
10139N/AGroup: Applications/Text
10139N/ASummary: Common XML catalog and DTD files.
10139N/ALicense: GPL
10139N/AURL: http://www.iso.ch/cate/3524030.html
10139N/ARequires: sh-utils fileutils textutils grep
10139N/A
10139N/A%description -n xml-common
10139N/AThe xml-common package contains a collection of entities and DTDs
10139N/Athat are useful for processing XML, but that don't need to be
10139N/Aincluded in multiple packages.
10139N/A
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A%patch0 -p1 -b .umask
10139N/A%patch1 -p1 -b .xmldir
10139N/A%patch2 -p1 -b .quotes
10139N/A%patch3 -p1 -b .automake
10139N/A%patch4 -p1 -b .docdir
10139N/A
10139N/A%build
10139N/Aaclocal
10139N/Aautomake --add-missing --copy
10139N/A
10139N/A./configure \
10139N/A --prefix=%{_prefix} \
10139N/A --with-docdir=%{_docdir}
10139N/A
10139N/A
10139N/A%install
10139N/ADESTDIR=$RPM_BUILD_ROOT
10139N/Arm -rf $DESTDIR
10139N/A%makeinstall docdir=%{buildroot}%{_docdir}
10139N/Amkdir -p $RPM_BUILD_ROOT/etc/xml
10139N/Amkdir -p $RPM_BUILD_ROOT/usr/share/sgml/docbook
10139N/A# Create an empty XML catalog.
10139N/AXMLCATALOG=$RPM_BUILD_ROOT/etc/xml/catalog
10139N/A/usr/bin/xmlcatalog --noout --create $XMLCATALOG
10139N/A# Now put the common DocBook entries in it
10139N/A/usr/bin/xmlcatalog --noout --add "delegatePublic" \
10139N/A "-//OASIS//ENTITIES DocBook XML" \
10139N/A "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
10139N/A/usr/bin/xmlcatalog --noout --add "delegatePublic" \
10139N/A "-//OASIS//DTD DocBook XML" \
10139N/A "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
10139N/A/usr/bin/xmlcatalog --noout --add "delegatePublic" \
10139N/A "ISO 8879:1986" \
10139N/A "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
10139N/A/usr/bin/xmlcatalog --noout --add "delegateSystem" \
10139N/A "http://www.oasis-open.org/docbook/" \
10139N/A "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
10139N/A/usr/bin/xmlcatalog --noout --add "delegateURI" \
10139N/A "http://www.oasis-open.org/docbook/" \
10139N/A "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
10139N/A# Also create the common DocBook catalog
10139N/A/usr/bin/xmlcatalog --noout --create \
10139N/A $RPM_BUILD_ROOT/usr/share/sgml/docbook/xmlcatalog
10139N/A
10139N/Arm -f %{buildroot}/usr/share/sgml/xml.dcl
10165N/Ainstall -m0644 %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \
15713N/A %{buildroot}/usr/share/sgml
12773N/Arm -rf %{buildroot}/usr/share/xml/*
12773N/A
12773N/A
12773N/A%clean
12773N/ADESTDIR=$RPM_BUILD_ROOT
10139N/Arm -rf $DESTDIR
10139N/A
10139N/A
10139N/A%files
10139N/A%defattr (-,root,root)
10139N/A%dir /etc/sgml
10139N/A%config(noreplace) /etc/sgml/sgml.conf
10139N/A%dir /usr/share/sgml
10139N/A%dir /usr/share/sgml/sgml-iso-entities-8879.1986
10344N/A/usr/share/sgml/sgml-iso-entities-8879.1986/*
10139N/A/usr/share/sgml/xml.dcl
10139N/A/usr/share/sgml/xml.soc
10139N/A/usr/share/sgml/html.dcl
10139N/A/usr/share/sgml/html.soc
10139N/A/usr/bin/sgmlwhich
10139N/A/usr/bin/install-catalog
10139N/A%{_mandir}/*/*
10139N/A%{_docdir}/*
10139N/A
10139N/A%files -n xml-common
10139N/A%defattr (-,root,root)
10139N/A%dir /etc/xml
10139N/A%config(noreplace) /etc/xml/catalog
10139N/A%dir /usr/share/sgml
10139N/A%dir /usr/share/sgml/docbook
10139N/A%config(noreplace) /usr/share/sgml/docbook/xmlcatalog
10139N/A%dir /usr/share/xml
10139N/A
10139N/A%changelog
10139N/A* Mon Feb 12 2007 - laca@sun.com
10139N/A- rename patch to match JDS naming convention
10139N/A* Mon Jun 12 2006 Tim Waugh <twaugh@redhat.com> 0.6.3-18
10139N/A- Build requires automake and autoconf (bug #194709).
10139N/A* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
10139N/A- rebuilt
10139N/A* Wed Sep 22 2004 Than Ngo <than@redhat.com> 0.6.3-17
10139N/A- rebuilt
10139N/A* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
10139N/A- rebuilt
10139N/A* Mon Dec 8 2003 Tim Waugh <twaugh@redhat.com> 0.6.3-15
10139N/A- Patch from Ville Skyttรค <ville.skytta at iki.fi> (bug #111625):
10139N/A - Include /usr/share/xml in xml-common.
10139N/A - Own /usr/share/sgml and /usr/share/xml.
10139N/A* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
10139N/A- rebuilt
10139N/A* Wed Oct 23 2002 Tim Waugh <twaugh@redhat.com> 0.6.3-13
10139N/A- Ship the installed documentation.
10139N/A- Don't install files not packaged.
10139N/A* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
10139N/A- automated rebuild
10139N/A* Thu May 23 2002 Tim Powers <timp@redhat.com>
10139N/A- automated rebuild
10139N/A* Wed Apr 24 2002 Tim Waugh <twaugh@redhat.com> 0.6.3-10
10139N/A- Ship {xml,html}.{dcl,soc} (bug #63500, bug #62980).
10139N/A- Work around broken tarball packaging.
10139N/A* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 0.6.3-9
10139N/A- Rebuild in new environment.
10139N/A* Thu Jan 17 2002 Tim Waugh <twaugh@redhat.com> 0.6.3-8
16496N/A- Back to /usr/share/sgml. Now install docbook-dtds.
16496N/A- Use a real install-sh, not the symlink shipped in the tarball.
15694N/A* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 0.6.3-7
15694N/A- automated rebuild
15205N/A* Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-6
15205N/A- Don't create a useless empty catalog.
13445N/A- Don't try to put install things outside the build root.
13445N/A- Build requires a libxml2 that actually works.
12793N/A* Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-4
12793N/A- Use (and handle) catalog files with quotes in install-catalog.
12628N/A* Thu Nov 1 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-3
12628N/A- Create default XML Catalog at build time, not install time.
12304N/A* Fri Oct 5 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-2
12304N/A- Move XML things into /usr/share/xml, and split them out into separate
12282N/A xml-common package.
12282N/A* Mon Oct 1 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-1
11951N/A- 0.6.3. Incorporates oldsyntax and quiet patches.
11951N/A- Make /etc/sgml/sgml.conf noreplace.
11010N/A- Own /etc/sgml, various other directories (bug #47485, bug #54180).
11010N/A* Wed May 23 2001 Tim Waugh <twaugh@redhat.com> 0.5-7
10818N/A- Remove execute bit from data files.
10818N/A* Mon May 21 2001 Tim Waugh <twaugh@redhat.com> 0.5-6
10344N/A- install-catalog needs to make sure that it creates world-readable files
10344N/A (bug #41552).
10344N/A* Wed Mar 14 2001 Tim Powers <timp@redhat.com> 0.5-5
10232N/A- fixed license
10232N/A* Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
10165N/A- Make install-catalog quieter during normal operation.
10165N/A* Tue Jan 23 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Require textutils, fileutils, grep (bug #24719).
10139N/A* Wed Jan 17 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Require sh-utils.
10139N/A* Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Don't play so many macro games.
10139N/A- Fix typo in install-catalog patch.
10139N/A* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Change group.
10139N/A- Install by hand (man/en/...). Use %%{_mandir}.
10139N/A- Use %%{_tmppath}.
10139N/A- Make install-catalog fail silently if given the old syntax.
10139N/A- Add CHANGES file.
10139N/A- Change Copyright: to License:.
10139N/A- Remove Packager: line.
10139N/A* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Based on Eric Bischoff's new-trials packages.
10139N/A