rpms/tetex-IEEEtran/FC-4 tetex-IEEEtran.spec,1.2,1.3

Rick L. Vinyard (rvinyard) fedora-extras-commits at redhat.com
Wed Jul 26 03:31:10 UTC 2006


Author: rvinyard

Update of /cvs/extras/rpms/tetex-IEEEtran/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16753

Modified Files:
	tetex-IEEEtran.spec 
Log Message:
Added lyx triggers and other cleanup



Index: tetex-IEEEtran.spec
===================================================================
RCS file: /cvs/extras/rpms/tetex-IEEEtran/FC-4/tetex-IEEEtran.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tetex-IEEEtran.spec	21 Jul 2006 21:08:35 -0000	1.2
+++ tetex-IEEEtran.spec	26 Jul 2006 03:31:10 -0000	1.3
@@ -8,16 +8,14 @@
 %define bibpkgdoc   %{_texmf}/doc/bibtex/%{texpkg}
 
 Name:           tetex-%{texpkg}
-Version:        1.6c
-Release:        3%{?dist}
+Version:        1.6
+Release:        4%{?dist}
 Summary:        Official LaTeX class for IEEE transactions journals and conferences
 
 Group:          Applications/Publishing
 License:        Artistic
 URL:            http://www.ctan.org/tex-archive/help/Catalogue/entries/ieeetran.html
-# DANTE generates CTAN packages zipfiles on-the-fly
 Source0:        ftp://ftp.dante.de/tex-archive/macros/latex/contrib/IEEEtran.zip
-#Source0:        IEEEtran.zip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
@@ -31,11 +29,6 @@
 Institute of Electrical and Electronics Engineers (IEEE) transactions
 journals and conferences. 
 
-Lyx users: After installing this package you need to make Lyx aware of the 
-IEEEtran document class. To do this start Lyx, select Tools from the main 
-menu, then select Reconfigure. After the reconfiguration is complete restart 
-Lyx.
-
 %prep
 %setup -q -n %{texpkg}
 mv extras/tux.eps .
@@ -68,6 +61,17 @@
 %postun
 texhash >/dev/null 2>&1 || :
 
+%triggerin -- lyx
+if [ $2 -gt 1 ]; then
+cd %{_datadir}/lyx && \
+  ./configure --without-latex-config > /dev/null 2>&1 ||:
+fi
+
+%triggerun -- lyx
+if [ $2 -eq 0 ]; then
+cd %{_datadir}/lyx && \
+  ./configure --without-latex-config > /dev/null 2>&1 ||:
+fi 
 
 %files
 %defattr(-,root,root,-)
@@ -80,6 +84,12 @@
 
 
 %changelog
+* Tue Jul 25 2006 Rick L Vinyard Jr <rvinyard at cs.nmsu.edu> - 1.6-4
+- Removed alpha character from version
+- Added lyx triggers provided by Rex Dieter
+- Removed notice for Lyx users
+- Did some minor cleanup of the sources
+
 * Fri Jul 21 2006 Rick L Vinyard Jr <rvinyard at cs.nmsu.edu> - 1.6c-3
 - Added note to Lyx users in description
 




More information about the fedora-extras-commits mailing list