SPECS: asymptote.spec - asymptote-latex post and postun - rel 3

uzsolt uzsolt at pld-linux.org
Sun Mar 1 10:39:59 CET 2009


Author: uzsolt                       Date: Sun Mar  1 09:39:59 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- asymptote-latex post and postun
- rel 3

---- Files affected:
SPECS:
   asymptote.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/asymptote.spec
diff -u SPECS/asymptote.spec:1.26 SPECS/asymptote.spec:1.27
--- SPECS/asymptote.spec:1.26	Sat Feb 28 19:57:05 2009
+++ SPECS/asymptote.spec	Sun Mar  1 10:39:54 2009
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Język opisu grafiki wektorowej do rysunków technicznych
 Name:		asymptote
 Version:	1.66
-Release:	2
+Release:	3
 License:	GPL v3
 Group:		Applications/Science
 Source0:	http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
@@ -76,6 +76,7 @@
 Summary:	LaTeX styles
 Summary(hu.UTF-8):	LaTeX stílusok
 Group:		Applications/Publishing/TeX
+Requires(post,postun):	%{_bindir}/texhash
 
 %description latex
 LaTeX styles.
@@ -95,6 +96,12 @@
 %description gui -l hu.UTF-8
 GUI asymptote-hoz.
 
+%post latex
+[ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
+
+%postun latex
+[ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
+
 %prep
 %setup -q
 
@@ -159,6 +166,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2009/03/01 09:39:54  uzsolt
+- asymptote-latex post and postun
+- rel 3
+
 Revision 1.26  2009/02/28 18:57:05  uzsolt
 - latex and gui subpackages
 - fix xasy.py attr
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/asymptote.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list