xmltex/xmltex.spec
cvsdist f4569ede02 auto-import changelog data from xmltex-20000118-14.1.src.rpm
Fri Sep 12 2003 Tim Waugh <twaugh@redhat.com> 20020118-14.1
- Rebuilt.
Fri Sep 12 2003 Tim Waugh <twaugh@redhat.com> 20020118-14
- Requires tetex-latex (bug #104307).
2004-09-09 14:52:53 +00:00

136 lines
3.8 KiB
RPMSpec

Summary: Namespace-aware XML parser written in TeX.
Name: xmltex
Version: 20000118
Release: 14.1
License: LaTeX Project Public License (http://www.latex-project.org/lppl.txt)
Group: Applications/Publishing
Source0: ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex.tar.gz
Source1: xmltex.tex
Source2: xmltexfmtutil.cnf
Requires: tetex-latex
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Namespace-aware XML parser written in TeX.
%prep
%setup -q -c %{name}-%{version}
mv -f xmltex/base/* .
cp -f %{SOURCE1} .
%build
pdftex -ini "&pdflatex" pdfxmltex.ini
tex -ini "&hugelatex" xmltex.ini
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
install -d $RPM_BUILD_ROOT%{_datadir}/texmf/web2c
install -d $RPM_BUILD_ROOT%{_bindir}
install *.xmt $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
install %{name}.cfg $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
install %{SOURCE2} *.ini *.tex $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
install pdf%{name}.fmt $RPM_BUILD_ROOT%{_datadir}/texmf/web2c/
install %{name}.fmt $RPM_BUILD_ROOT%{_datadir}/texmf/web2c/
ln -s pdftex ${RPM_BUILD_ROOT}%{_bindir}/pdf%{name}
ln -s tex ${RPM_BUILD_ROOT}%{_bindir}/%{name}
gzip -9nf readme.txt
%clean
rm -rf $RPM_BUILD_ROOT
%post
/usr/bin/env - PATH=$PATH:%{_bindir} texhash > /dev/null 2>&1
/usr/bin/env - PATH=$PATH:%{_bindir} fmtutil --cnffile %{_datadir}/texmf/tex/xmltex/xmltexfmtutil.cnf --all > /dev/null 2>&1
exit 0
%postun
/usr/bin/env - PATH=$PATH:%{_bindir} texhash > /dev/null 2>&1
exit 0
%triggerin -- tetex-latex
/usr/bin/env - PATH=$PATH:%{_bindir} fmtutil --cnffile %{_datadir}/texmf/tex/xmltex/xmltexfmtutil.cnf --all > /dev/null 2>&1
exit 0
%files
%defattr(644,root,root,755)
%doc *.gz *.html
%attr(755,root,root) %{_bindir}/*
%ghost %{_datadir}/texmf/web2c/*.fmt
%{_datadir}/texmf/tex/xmltex
%changelog
* Fri Sep 12 2003 Tim Waugh <twaugh@redhat.com> 20020118-14.1
- Rebuilt.
* Fri Sep 12 2003 Tim Waugh <twaugh@redhat.com> 20020118-14
- Requires tetex-latex (bug #104307).
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
- rebuild in current collinst
* Tue Jul 23 2002 Tim Powers <timp@redhat.com> 20020118-11
- rebuild using gcc-3.2-0.1
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 20020118-10
- automated rebuild
* Thu May 23 2002 Tim Powers <timp@redhat.com> 20020118-9
- automated rebuild
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 20020118-8
- Fix group (bug #60177).
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 20000118-7
- Rebuild in new environment.
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 20000118-6
- automated rebuild
* Wed Dec 12 2001 Tim Waugh <twaugh@redhat.com> 20000118-5
- Trigger recreation of the format file on tetex-latex.
* Wed Dec 5 2001 Tim Waugh <twaugh@redhat.com> 20000118-4
- New xmltex.tex (from Sebastian).
- Fmt files should be marked as ghosts so that RPM verification works.
* Sat Oct 6 2001 Tim Waugh <twaugh@redhat.com> 20000118-3
- Built for Red Hat Linux. Package from PLD.
* Sat Oct 6 2001 PLD Team <pld-list@pld.org.pl>
All persons listed below can be reached at <cvs_login>@pld.org.pl
$Log: xmltex.spec,v $
Revision 1.6 2004/09/09 14:52:53 cvsdist
auto-import changelog data from xmltex-20000118-14.1.src.rpm
* Fri Sep 12 2003 Tim Waugh <twaugh@redhat.com> 20020118-14.1
- Rebuilt.
* Fri Sep 12 2003 Tim Waugh <twaugh@redhat.com> 20020118-14
- Requires tetex-latex (bug #104307).
Revision 1.6 2001/03/27 16:50:29 wiget
add xmltex.cfg file and one missing dir in %%files; release 3
Revision 1.5 2001/03/27 11:10:41 wiget
include xmltex macros; requires tex/pdftex
Revision 1.4 2001/01/24 14:18:54 klakier
- archive file changed
Revision 1.3 2001/01/24 13:28:40 klakier
- link fixed
Revision 1.2 2001/01/24 12:34:27 klakier
- added Version and more doc
Revision 1.1 2001/01/24 12:03:51 klakier
- initial