2004-09-09 07:58:11 +00:00
|
|
|
%{!?tetex:%define tetex 1}
|
|
|
|
|
2007-10-26 13:06:02 +00:00
|
|
|
Summary: A text formatting package based on SGML
|
2004-09-09 07:56:38 +00:00
|
|
|
Name: linuxdoc-tools
|
2005-01-31 18:11:32 +00:00
|
|
|
Version: 0.9.21
|
2008-01-04 09:54:23 +00:00
|
|
|
Release: 13%{?dist}
|
2007-10-26 13:06:02 +00:00
|
|
|
License: Freely redistributable without restriction
|
2004-09-09 07:56:38 +00:00
|
|
|
Group: Applications/Publishing
|
2005-01-31 18:11:32 +00:00
|
|
|
Source: http://http.us.debian.org/debian/pool/main/l/linuxdoc-tools/%{name}_%{version}.tar.gz
|
2004-09-09 07:56:38 +00:00
|
|
|
Patch0: linuxdoc-tools-0.9.13-letter.patch
|
2004-09-09 07:56:53 +00:00
|
|
|
Patch1: linuxdoc-tools-0.9.20-strip.patch
|
2004-09-09 07:57:00 +00:00
|
|
|
Patch2: linuxdoc-tools-0.9.20-lib64.patch
|
2007-01-11 15:17:41 +00:00
|
|
|
Patch3: linuxdoc-tools-ifpdf.patch
|
2005-06-30 12:10:38 +00:00
|
|
|
Patch4: linuxdoc-tools-fi.patch
|
2007-06-19 12:50:45 +00:00
|
|
|
Patch5: linuxdoc-tools-apostrophestart.patch
|
2005-01-31 18:08:37 +00:00
|
|
|
Url: http://packages.qa.debian.org/l/linuxdoc-tools.html
|
2004-09-09 07:56:38 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2007-08-29 08:37:45 +00:00
|
|
|
BuildRequires: flex sgml-common jade gawk groff autoconf
|
|
|
|
Requires: jade gawk groff
|
2004-09-09 07:58:11 +00:00
|
|
|
# this should anyway be only a "suggest"
|
|
|
|
%if %{tetex}
|
|
|
|
Requires: tetex-latex
|
|
|
|
%endif
|
2007-11-12 09:35:51 +00:00
|
|
|
Obsoletes: sgml-tools <= %{version}
|
|
|
|
Obsoletes: linuxdoc-sgml <= %{version}
|
2007-10-26 13:06:02 +00:00
|
|
|
Provides: sgml-tools = %{version}
|
|
|
|
Provides: linuxdoc-sgml = %{version}
|
2004-09-09 07:56:38 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Linuxdoc-tools is a text formatting suite based on SGML (Standard
|
|
|
|
Generalized Markup Language), using the LinuxDoc document type.
|
|
|
|
Linuxdoc-tools allows you to produce LaTeX, HTML, GNU info, LyX, RTF,
|
|
|
|
plain text (via groff), and other format outputs from a single SGML
|
|
|
|
source. Linuxdoc-tools is intended for writing technical software
|
|
|
|
documentation.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
2004-09-09 07:56:53 +00:00
|
|
|
%patch1 -p1 -b .strip
|
2004-09-09 07:57:00 +00:00
|
|
|
%patch2 -p1 -b .lib64
|
2005-02-24 15:37:01 +00:00
|
|
|
%patch3 -p1 -b .badif
|
2005-06-30 12:10:38 +00:00
|
|
|
%patch4 -p1 -b .fi
|
2007-06-19 12:50:45 +00:00
|
|
|
%patch5 -p1 -b .apostrophe
|
2004-09-09 07:56:38 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --with-installed-nsgmls --with-installed-iso-entities
|
|
|
|
# Packaging brain-damage
|
2005-01-31 18:06:04 +00:00
|
|
|
pushd entity-map
|
|
|
|
autoconf
|
|
|
|
%configure
|
|
|
|
popd
|
|
|
|
|
2004-09-09 07:56:46 +00:00
|
|
|
make OPTIMIZE="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
2004-09-09 07:56:38 +00:00
|
|
|
perl -pi -e 's,\$main::prefix/share/sgml/iso-entities-8879.1986/iso-entities.cat,/usr/share/sgml/sgml-iso-entities-8879.1986/catalog,' \
|
|
|
|
lib/LinuxDocTools.pm
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-01-31 18:06:04 +00:00
|
|
|
eval `perl '-V:installvendorlib'`
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/$installvendorlib
|
|
|
|
%makeinstall perl5libdir=$RPM_BUILD_ROOT/$installvendorlib
|
2004-09-09 07:56:38 +00:00
|
|
|
mv %{buildroot}%{_docdir}/%{name} %{buildroot}%{_docdir}/%{name}-%{version}
|
|
|
|
perl -pi -e 's,/usr/share/sgml/iso-entities-8879.1986/iso-entities.cat,\$main::prefix/share/sgml/sgml-iso-entities-8879.1986/catalog,' \
|
|
|
|
%{buildroot}%{_datadir}/%{name}/LinuxDocTools.pm
|
|
|
|
|
|
|
|
# Some files need moving around.
|
|
|
|
rm -f %{buildroot}%{_datadir}/%{name}/epsf.*
|
|
|
|
rm -f %{buildroot}%{_datadir}/%{name}/url.sty
|
|
|
|
install -d %{buildroot}%{_datadir}/texmf/tex/latex/misc
|
|
|
|
mv %{buildroot}%{_datadir}/%{name}/*.sty \
|
2007-10-26 13:06:02 +00:00
|
|
|
%{buildroot}%{_datadir}/texmf/tex/latex/misc
|
2004-09-09 07:56:38 +00:00
|
|
|
|
|
|
|
cat > doc/COPYRIGHT <<EOF
|
|
|
|
(C) International Organization for Standardization 1986
|
|
|
|
Permission to copy in any form is granted for use with
|
|
|
|
conforming SGML systems and applications as defined in
|
|
|
|
ISO 8879, provided this notice is included in all copies.
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
2008-01-04 09:54:23 +00:00
|
|
|
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
2004-09-09 07:56:38 +00:00
|
|
|
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash > /dev/null 2>&1
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun
|
|
|
|
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash > /dev/null 2>&1
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr (-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}-%{version}
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/entity-map
|
|
|
|
%{_datadir}/texmf/tex/latex/misc/*.sty
|
2005-01-31 18:06:04 +00:00
|
|
|
%dir %{_prefix}/lib*/perl5/vendor_perl/*/Text
|
|
|
|
%{_prefix}/lib*/perl5/vendor_perl/*/Text/EntityMap.pm
|
2004-09-09 07:56:38 +00:00
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
%changelog
|
2008-01-04 09:54:23 +00:00
|
|
|
* Thu Jan 03 2008 Ondrej Vasik <ovasik@redhat.com> 0.9.21-13
|
|
|
|
- running texconfig-sys rehash in post to let latex know
|
|
|
|
about new style installed by linuxdoctools
|
|
|
|
|
2007-11-12 09:35:51 +00:00
|
|
|
* Mon Nov 12 2007 Ondrej Vasik <ovasik@redhat.com> 0.9.21-12
|
|
|
|
- versioned obsoletes were before Version definition(#376671)
|
|
|
|
|
2007-10-26 13:06:02 +00:00
|
|
|
* Fri Oct 26 2007 Ondrej Vasik <ovasik@redhat.com> 0.9.21-11
|
|
|
|
- rpmlint check
|
|
|
|
- fixed some cosmetic things, versioned provides and License tag
|
|
|
|
|
2007-08-29 08:37:45 +00:00
|
|
|
* Wed Aug 29 2007 Ondrej Vasik <ovasik@redhat.com> 0.9.21-10
|
|
|
|
- rebuilt for PPC32 issue
|
|
|
|
- added gawk to build-requires because of build failure
|
2007-08-29 05:17:17 +00:00
|
|
|
|
2007-08-29 08:37:45 +00:00
|
|
|
* Tue Jun 19 2007 Ondrej Vasik <ovasik@redhat.com> 0.9.21-9
|
2007-06-19 12:50:45 +00:00
|
|
|
- Applied patch from upstream (bug #61414)
|
|
|
|
|
2007-01-11 15:17:41 +00:00
|
|
|
* Thu Jan 11 2007 Tim Waugh <twaugh@redhat.com> 0.9.21-8
|
|
|
|
- Applied patch from Kir Kolyshkin (bug #204902):
|
|
|
|
- added a patch from debian bug #321998 (obsoletes patch -badif)
|
|
|
|
|
2006-07-12 07:13:48 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9.21-7.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-12 15:48:47 +00:00
|
|
|
* Mon Jun 12 2006 Tim Waugh <twaugh@redhat.com> 0.9.21-7
|
|
|
|
- Build requires autoconf (bug #194752).
|
|
|
|
|
2006-02-11 04:24:10 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.9.21-6.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 12:52:16 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.9.21-6.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:47 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-06-30 12:10:38 +00:00
|
|
|
* Thu Jun 30 2005 Tim Waugh <twaugh@redhat.com> 0.9.21-6
|
|
|
|
- Finnish translation (bug #162151).
|
|
|
|
|
2005-03-02 17:56:37 +00:00
|
|
|
* Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 0.9.21-5
|
|
|
|
- Rebuild for new GCC.
|
|
|
|
|
2005-02-24 17:44:14 +00:00
|
|
|
* Thu Feb 24 2005 Tim Waugh <twaugh@redhat.com> 0.9.21-4
|
2005-02-24 16:37:17 +00:00
|
|
|
- Another try at bug #149588.
|
|
|
|
|
2005-02-24 15:37:01 +00:00
|
|
|
* Thu Feb 24 2005 Tim Waugh <twaugh@redhat.com> 0.9.21-2
|
|
|
|
- Jindrich Novy's mapping fix (bug #149588).
|
|
|
|
|
2005-01-31 18:11:32 +00:00
|
|
|
* Mon Jan 31 2005 Tim Waugh <twaugh@redhat.com> 0.9.21-1
|
|
|
|
- 0.9.21 (bug #146517).
|
2005-01-31 18:08:37 +00:00
|
|
|
- New URL (bug #146515).
|
2005-01-31 18:06:04 +00:00
|
|
|
- Put perl files in the right place (bug #146514).
|
|
|
|
|
2004-10-06 13:37:07 +00:00
|
|
|
* Wed Oct 6 2004 Tim Waugh <twaugh@redhat.com> 0.9.20-14
|
|
|
|
- Build requires groff (bug #134798).
|
|
|
|
|
2004-09-09 07:58:55 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:58:51 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:58:11 +00:00
|
|
|
* Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- Allow rpms without a tetex dependency. That allows using sgml things
|
|
|
|
for online things without installing the heavy tetex.
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:57:00 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 0.9.20-7
|
|
|
|
- use internal dep generator.
|
|
|
|
|
|
|
|
* Sat Dec 14 2002 Tim Powers <timp@redhat.com> 0.9.20-6
|
|
|
|
- don't use rpms internal dep generator
|
|
|
|
|
|
|
|
* Mon Oct 14 2002 Tim Waugh <twaugh@redhat.com> 0.9.20-5
|
|
|
|
- Rebuild.
|
|
|
|
|
|
|
|
* Wed Sep 11 2002 Than Ngo <than@redhat.com> 0.9.20-4
|
|
|
|
- Added fix to have lib64 in perl path on 64bit machine
|
|
|
|
|
2004-09-09 07:56:58 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 07:56:53 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Mon Apr 22 2002 Tim Waugh <twaugh@redhat.com> 0.9.20-1
|
|
|
|
- 0.9.20.
|
|
|
|
- Don't explicitly strip binaries (bug #62563).
|
|
|
|
|
2004-09-09 07:56:46 +00:00
|
|
|
* Thu Feb 28 2002 Elliot Lee <sopwith@redhat.com> 0.9.16-4
|
|
|
|
- Provides: sgml-tools (and linuxdoc-sgml).
|
|
|
|
- Use _smp_mflags and RPM_OPT_FLAGS.
|
|
|
|
|
2004-09-09 07:56:38 +00:00
|
|
|
* Tue Feb 26 2002 Tim Waugh <twaugh@redhat.com> 0.9.16-3
|
|
|
|
- Rebuild in new environment.
|
|
|
|
|
|
|
|
* Wed Jan 30 2002 Tim Waugh <twaugh@redhat.com> 0.9.16-2
|
|
|
|
- Rebuild to fix bug #59055.
|
|
|
|
|
|
|
|
* Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 0.9.16-1
|
|
|
|
- 0.9.16.
|
|
|
|
- No longer need the libdir patch.
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 0.9.15-2
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Mon Dec 3 2001 Tim Waugh <twaugh@redhat.com> 0.9.15-1
|
|
|
|
- 0.9.15; incorporates most of the libdir patch.
|
|
|
|
- The fixsgml2latex patch is no longer required.
|
|
|
|
- Installed documentation now works.
|
|
|
|
- Don't ship backup files.
|
|
|
|
- Put the LaTeX style files in the texmf directory tree.
|
|
|
|
- Requires: gawk, groff.
|
|
|
|
|
|
|
|
* Mon Nov 26 2001 Tim Waugh <twaugh@redhat.com> 0.9.13-1
|
|
|
|
- Dump sgml-tools in favour of linuxdoc-tools (bug #56710).
|
|
|
|
|
|
|
|
* Mon Jun 18 2001 Tim Waugh <twaugh@redhat.com> 1.0.9-12
|
|
|
|
- Use %%{_tmppath}.
|
|
|
|
- Build requres flex.
|
|
|
|
|
|
|
|
* Wed May 30 2001 Tim Waugh <twaugh@redhat.com> 1.0.9-11
|
|
|
|
- Don't ship backup files.
|
|
|
|
|
|
|
|
* Wed May 30 2001 Tim Waugh <twaugh@redhat.com> 1.0.9-10
|
|
|
|
- Sync description with specspo.
|
|
|
|
|
|
|
|
* Thu Mar 8 2001 Tim Waugh <twaugh@redhat.com> 1.0.9-9
|
|
|
|
- Create temporary files safely (patch from Debian package).
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix man page for sgml2txt (#10722)
|
|
|
|
|
|
|
|
* Sat Jun 3 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- apparently this can't deal with FHS
|
|
|
|
|
|
|
|
* Thu Jun 1 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- hey, it's self-hosting now!
|
|
|
|
|
|
|
|
* Fri Feb 11 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- add copyright file (#8621)
|
|
|
|
- fix sgml2latex processing (#4114)
|
|
|
|
- fix configure tests (#6480)
|
|
|
|
|
2007-10-26 13:06:02 +00:00
|
|
|
* Wed Feb 9 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
2004-09-09 07:56:38 +00:00
|
|
|
- get rid of "CC=egcs"
|
|
|
|
- require jade - sgml2html calls nsgmls.
|
|
|
|
|
|
|
|
* Fri Jan 28 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- resurrect package in a non-conflicting manner
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 2)
|
|
|
|
|
|
|
|
* Wed Mar 17 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- we aren't going to 2.0.x for 6.0, using 1.0.9 instead (more stable)
|
|
|
|
|
|
|
|
* Thu Aug 20 1998 Bill Nottingham <notting@redhat.com>
|
|
|
|
- updated to 1.0.7
|
|
|
|
|
|
|
|
* Tue May 05 1998 Donnie Barnes <djb@redhat.com>
|
|
|
|
- changed default papersize to letter (from a4...sorry Europeans :-)
|
|
|
|
use --papersize=a4 on any sgml2* command to change it or remove the
|
|
|
|
patch from this spec file and rebuild.
|
|
|
|
|
|
|
|
* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- updated to 1.0.6
|
|
|
|
|
|
|
|
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Mon Jan 12 1998 Donnie Barnes <djb@redhat.com>
|
|
|
|
- updated from 0.99 to 1.0.3
|
|
|
|
- added BuildRoot
|
|
|
|
|
|
|
|
* Sat Nov 01 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- fixed man pages
|
|
|
|
|
|
|
|
* Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- new release - Obsoletes linuxdoc-sgml
|
|
|
|
|