10139N/A#
10139N/A# spec file for package sgml-common
10139N/A#
10139N/A# copied from fedora core 6
10139N/A#
17185N/A%define owner laca
10139N/A#
17180N/A
17180N/A%define OSR 6138:0.6.3
17180N/A
10139N/AName: sgml-common
10139N/AVersion: 0.6.3
10139N/ARelease: 18
18616N/AVendor: Other
10139N/AGroup: Applications/Text
10139N/A
10139N/ASummary: Common SGML catalog and DTD files.
10139N/A
10139N/ALicense: GPL
10139N/A
10139N/ABuildArch: noarch
10347N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ASource0: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tgz
10139N/A# From openjade:
10139N/ASource3: xml.dcl
10139N/ASource4: xml.soc
10139N/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
16011N/A# owner:mattman type:branding date:2009-02-27
16011N/APatch5: sgml-common-06-manpage.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
16011N/A%patch5 -p1 -b .docdir
10139N/A
10139N/A%build
10392N/Aaclocal $ACLOCAL_FLAGS
10392N/Aautoconf
10139N/Aautomake --add-missing --copy
10139N/A
10139N/A./configure \
10139N/A --prefix=%{_prefix} \
10347N/A --sysconfdir=%{_sysconfdir} \
10139N/A --with-docdir=%{_docdir}
10139N/A
10139N/A
10139N/A%install
10139N/ADESTDIR=$RPM_BUILD_ROOT
10139N/Arm -rf $DESTDIR
10347N/Amake install DESTDIR=$RPM_BUILD_ROOT
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
10347N/Arm -f $RPM_BUILD_ROOT/usr/share/sgml/xml.dcl
10139N/Ainstall -m0644 %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \
10347N/A $RPM_BUILD_ROOT/usr/share/sgml
10347N/Arm -rf $RPM_BUILD_ROOT/usr/share/xml/*
10139N/A
10139N/A
10139N/A%clean
10139N/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
10139N/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
16011N/A* Fri Feb 27 2009 - matt.keenan@sun.com
16011N/A- Add manpage patch for Attributes and ARC Comment
10392N/A* Sun Apr 1 2007 - laca@sun.com
10392N/A- add missing autoconf call
10347N/A* Wed Mar 21 2007 - laca@sun.com
10347N/A- add --sysconfdir configure option and use $RPM_BUILD_ROOT instead
10347N/A of %buildroot.
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
10139N/A- Back to /usr/share/sgml. Now install docbook-dtds.
10139N/A- Use a real install-sh, not the symlink shipped in the tarball.
10139N/A* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 0.6.3-7
10139N/A- automated rebuild
10139N/A* Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-6
10139N/A- Don't create a useless empty catalog.
10139N/A- Don't try to put install things outside the build root.
10139N/A- Build requires a libxml2 that actually works.
10139N/A* Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-4
10139N/A- Use (and handle) catalog files with quotes in install-catalog.
10139N/A* Thu Nov 1 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-3
10139N/A- Create default XML Catalog at build time, not install time.
10139N/A* Fri Oct 5 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-2
10139N/A- Move XML things into /usr/share/xml, and split them out into separate
10139N/A xml-common package.
10139N/A* Mon Oct 1 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-1
10139N/A- 0.6.3. Incorporates oldsyntax and quiet patches.
10139N/A- Make /etc/sgml/sgml.conf noreplace.
10139N/A- Own /etc/sgml, various other directories (bug #47485, bug #54180).
10139N/A* Wed May 23 2001 Tim Waugh <twaugh@redhat.com> 0.5-7
10139N/A- Remove execute bit from data files.
10139N/A* Mon May 21 2001 Tim Waugh <twaugh@redhat.com> 0.5-6
10139N/A- install-catalog needs to make sure that it creates world-readable files
10139N/A (bug #41552).
10139N/A* Wed Mar 14 2001 Tim Powers <timp@redhat.com> 0.5-5
10139N/A- fixed license
10139N/A* Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Make install-catalog quieter during normal operation.
10139N/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.