rpms/texlive/devel texlive.spec,1.24,1.25

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Thu Feb 21 18:55:45 UTC 2008


Author: jnovy

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

Modified Files:
	texlive.spec 
Log Message:
* Thu Feb 21 2008 Jindrich Novy <jnovy at redhat.com> - 2007-19
- remove dvipng, it's now packaged separately (#431356)



Index: texlive.spec
===================================================================
RCS file: /cvs/extras/rpms/texlive/devel/texlive.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- texlive.spec	19 Feb 2008 15:51:22 -0000	1.24
+++ texlive.spec	21 Feb 2008 18:55:00 -0000	1.25
@@ -1,5 +1,6 @@
 # This spec file is based on texjive project created by Michael A. Peters.
 # Adopted and modified for Fedora by Jindrich Novy.
+%define f8_packaging 0
 
 %define texlive_ver	2007
 %define	ptex_src_ver	3.1.10
@@ -7,13 +8,14 @@
 %define	mendexk_ver	2.6e
 %define dvipdfm_ver	0.13.2d
 %define dvipdfmx_ver	0
+%if %{f8_packaging}
 %define dvipng_ver	1.9
+%endif
 
 %define desktop_file_utils_version 0.9
 %define default_letter_paper 0
 # lcdf typetools can be easily built as a separate tool, so it should be
 %define disable_lcdf_typetools 1
-%define f8_packaging 0
 
 # These need to match what is in the texlive-texmf package.
 #  since texlive-texmf is a BuildRequires, it installs an rpm macro
@@ -25,7 +27,7 @@
 
 Name:		texlive
 Version:	%{texlive_ver}
-Release:	18%{?dist}
+Release:	19%{?dist}
 Summary:	Binaries for the TeX formatting system
 
 Group:		Applications/Publishing
@@ -339,6 +341,7 @@
 You only need to install this package if you will be compiling software that
 wants to link against the kpathsea library.
 
+%if %{f8_packaging}
 %package -n dvipng
 Summary: DVI-to-PNG converter
 Version: %{dvipng_ver}
@@ -349,6 +352,7 @@
 %description -n dvipng
 This program makes PNG and/or GIF graphics from DVI files as obtained 
 from TeX and its relatives.
+%endif
 
 %package -n mendexk
 Summary: Replacement for makeindex with many enhancements
@@ -706,6 +710,12 @@
 # remove unused ConTeXt stuff
 rm %{buildroot}%{_mandir}/man1/texfind.1* %{buildroot}%{_mandir}/man1/fdf2tex.1*
 
+%if !%{f8_packaging}
+# remove dvipng, it's now packaged separately (#431356)
+rm %{buildroot}%{_bindir}/dvipng %{buildroot}%{_mandir}/man1/dvipng.1* %{buildroot}%{_infodir}/dvipng.info*
+%endif
+
+
 %clean
 rm -rf %{buildroot}
 
@@ -738,8 +748,10 @@
 /sbin/ldconfig
 [ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/kpathsea.info.gz %{_infodir}/dir || :
 
+%if %{f8_packaging}
 %post -n dvipng
 [ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/dvipng.info.gz %{_infodir}/dir || :
+%endif
 
 
 %preun
@@ -752,10 +764,12 @@
   [ -x /sbin/install-info ] && /sbin/install-info --delete %{_infodir}/dvips.info.gz %{_infodir}/dir || :
 fi
 
+%if %{f8_packaging}
 %preun -n dvipng
 if [ "$1" = 0 ]; then
   [ -x /sbin/install-info ] && /sbin/install-info --delete %{_infodir}/dvipng.info.gz %{_infodir}/dir || :
 fi
+%endif
 
 %preun latex
 if [ "$1" = 0 ]; then
@@ -1093,11 +1107,13 @@
 #  against the shared. I can't name any, but so i hear.
 %{_libdir}/libkpathsea.a
 
+%if %{f8_packaging}
 %files -n dvipng
 %defattr(-,root,root,-)
 %{_bindir}/dvipng
 %{_mandir}/man1/dvipng.1*
 %{_infodir}/dvipng.info*
+%endif
 
 %files -n mendexk
 %defattr(-,root,root,-)
@@ -1203,6 +1219,9 @@
 %{_mandir}/man1/texutil.1*
 
 %changelog
+* Thu Feb 21 2008 Jindrich Novy <jnovy at redhat.com> - 2007-19
+- remove dvipng, it's now packaged separately (#431356)
+
 * Tue Feb 19 2008 Jindrich Novy <jnovy at redhat.com> - 2007-18
 - package ConTeXt separately to get rid of the ruby dependency
 - fix summary for texlive-japanese




More information about the fedora-extras-commits mailing list