]> git.pld-linux.org Git - packages/asymptote.git/commitdiff
- asymptote-latex post and postun auto/th/asymptote-1_66-3
authorZsolt Udvari <uzsolt@pld-linux.org>
Sun, 1 Mar 2009 09:39:54 +0000 (09:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 3

Changed files:
    asymptote.spec -> 1.27

asymptote.spec

index a627c1eb933ff6017e5f99571d7f45afcef75b29..b75ba40dcaa4de2334f1f0c68d4f39ca4d24657f 100644 (file)
@@ -3,7 +3,7 @@ Summary(hu.UTF-8):      Asymptote egy leíró vektorgrafikus nyelv technikai rajzokho
 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
@@ -75,6 +75,7 @@ Przykładowe pliki dla asymptote.
 Summary:       LaTeX styles
 Summary(hu.UTF-8):     LaTeX stílusok
 Group:         Applications/Publishing/TeX
+Requires(post,postun): %{_bindir}/texhash
 
 %description latex
 LaTeX styles.
@@ -94,6 +95,12 @@ GUI for asymptote.
 %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
 
This page took 0.086124 seconds and 4 git commands to generate.