rpms/xmltex/devel xmltex.spec,1.19,1.20

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Thu Mar 20 15:50:03 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/xmltex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13366

Modified Files:
	xmltex.spec 
Log Message:
drop xmltexfmtutil.cnf, use cnf file from texlive, do not package .fmt files, use TeXlive provides(#437014)


Index: xmltex.spec
===================================================================
RCS file: /cvs/extras/rpms/xmltex/devel/xmltex.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- xmltex.spec	7 Jan 2008 11:20:38 -0000	1.19
+++ xmltex.spec	20 Mar 2008 15:49:22 -0000	1.20
@@ -1,20 +1,19 @@
 Summary:	Namespace-aware XML parser written in TeX
 Name:		xmltex
 Version:	20020625
-Release:	9%{?dist}
+Release:	11%{?dist}
 License:	LPPL
 Group:		Applications/Publishing
 URL:			http://www.dcarlisle.demon.co.uk/xmltex/manual.html
 Source0:	ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex-1.9.tar.gz
-Source1:	xmltexfmtutil.cnf
-Requires:	tetex-latex
+Requires:	tex(latex)
 BuildArch:	noarch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
-BuildRequires: tetex
+BuildRequires: tex(latex)
 
 %description
-Namespace-aware XML parser written in TeX
+Namespace-aware XML parser written in TeX.
 
 %prep
 %setup -q -c %{name}-%{version}
@@ -22,20 +21,13 @@
 
 
 %build
-pdfetex -ini "&pdflatex" pdfxmltex.ini
-etex -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 -p *.xmt $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
-install -p %{name}.cfg $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
-install -p %{SOURCE1} *.ini *.tex $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
-install -p pdf%{name}.fmt $RPM_BUILD_ROOT%{_datadir}/texmf/web2c/
-install -p %{name}.fmt $RPM_BUILD_ROOT%{_datadir}/texmf/web2c/
+install -p *.xmt %{name}.cfg *.ini *.tex $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
 ln -s pdftex ${RPM_BUILD_ROOT}%{_bindir}/pdf%{name}
 ln -s latex ${RPM_BUILD_ROOT}%{_bindir}/%{name}
 
@@ -46,24 +38,37 @@
 
 %post
 [ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
-/usr/bin/env - PATH=$PATH:%{_bindir} fmtutil-sys --cnffile %{_datadir}/texmf/tex/xmltex/xmltexfmtutil.cnf --all > /dev/null 2>&1
+for f in xmltex pdfxmltex; do
+/usr/bin/env - PATH=$PATH:%{_bindir} fmtutil-sys --byfmt $f > /dev/null 2>&1
+done
 exit 0
 
 %postun
 [ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
 
 %triggerin -- tetex-latex
-/usr/bin/env - PATH=$PATH:%{_bindir} fmtutil-sys --cnffile %{_datadir}/texmf/tex/xmltex/xmltexfmtutil.cnf --all > /dev/null 2>&1
+for f in xmltex pdfxmltex; do
+/usr/bin/env - PATH=$PATH:%{_bindir} fmtutil-sys --byfmt $f > /dev/null 2>&1
+done
 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
+* Thu Mar 20 2008 Ondrej Vasik <ovasik at redhat.com> - 20020625-11
+- use Texlive provides
+
+* Wed Mar 19 2008 Stepan Kasal <skasal at redhat.com> - 20020625-10
+- drop xmltexfmtutil.cnf, the system fmtutil.cnf defines xmltex
+  formats
+- do not package (nor build) %%{_datadir}/texmf/web2c/*.fmt; these
+  days, formats are built when the rpm is installed, and go to another
+  directory
+
 * Mon Jan  7 2008 Ondrej Vasik <ovasik at redhat.com> - 20020625-9
 - used texcongig-sys rehash instead of texhash
 - added URL
@@ -145,8 +150,8 @@
 All persons listed below can be reached at <cvs_login>@pld.org.pl
 
 $Log$
-Revision 1.19  2008/01/07 11:20:38  ovasik
-texconfig-sys rehash instead of texhash, added URL, dist tag, fixed License tag
+Revision 1.20  2008/03/20 15:49:22  ovasik
+drop xmltexfmtutil.cnf, use cnf file from texlive, do not package .fmt files, use TeXlive provides(#437014)
 
 Revision 1.6  2001/03/27 16:50:29  wiget
 add xmltex.cfg file and one missing dir in %%files; release 3




More information about the fedora-extras-commits mailing list