Author: uzsolt                       Date: Sat Aug 15 09:52:45 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 1.83
- context subpackage fix
- texmfdist macro to texmf-dist directory

---- Files affected:
packages/asymptote:
   asymptote.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: packages/asymptote/asymptote.spec
diff -u packages/asymptote/asymptote.spec:1.54 
packages/asymptote/asymptote.spec:1.55
--- packages/asymptote/asymptote.spec:1.54      Mon Jul 20 13:42:15 2009
+++ packages/asymptote/asymptote.spec   Sat Aug 15 11:52:40 2009
@@ -3,12 +3,12 @@
 Summary(hu.UTF-8):     Asymptote egy leíró vektorgrafikus nyelv technikai 
rajzokhoz
 Summary(pl.UTF-8):     Język opisu grafiki wektorowej do rysunków technicznych
 Name:          asymptote
-Version:       1.82
+Version:       1.83
 Release:       1
 License:       GPL v3
 Group:         Applications/Science
 Source0:       http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
-# Source0-md5: 0960360e00e8a1a6b84acb70f623ca72
+# Source0-md5: 1f3f0d25cb3ac31313115aee35af6190
 Patch0:                %{name}-memrchr.patch
 URL:           http://asymptote.sourceforge.net/
 BuildRequires: autoconf
@@ -26,6 +26,8 @@
 BuildRequires: texlive-tex-babel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define texmfdist %{_datadir}/texmf-dist
+
 %description
 Asymptote is a powerful descriptive vector graphics language for
 technical drawing, inspired by MetaPost but with an improved C++-like
@@ -110,6 +112,8 @@
 %package context
 Summary:       ConTeXt color macros
 Group:         Applications/Publishing/TeX
+Requires(post,postun): %{_bindir}/texhash
+Requires:      texlive-context
 
 %description context
 ConTeXt color macros.
@@ -161,6 +165,8 @@
 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/{asymptote/asy.vim,vim/vimfiles/syntax}
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
+%{__mv} $RPM_BUILD_ROOT%{texmfdist}/tex/context/{third,}/asymptote
+%{__rm} -rf $RPM_BUILD_ROOT%{texmfdist}/tex/context/third
 
 %ifnarch ppc
 %{__mv} $RPM_BUILD_ROOT%{_infodir}/{asymptote/*,}
@@ -213,11 +219,13 @@
 
 %files latex
 %defattr(644,root,root,755)
-%{_datadir}/texmf-dist/tex/latex/asymptote
+%{texmfdist}/tex/latex/asymptote
 
 %files context
 %defattr(644,root,root,755)
-%{_datadir}/texmf-dist/tex/context/third/asymptote/colo-asy.tex
+# should be in texlive.spec
+%dir %{texmfdist}/tex/context
+%{texmfdist}/tex/context/asymptote
 
 %files -n vim-syntax-asymptote
 %defattr(644,root,root,755)
@@ -229,6 +237,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2009/08/15 09:52:40  uzsolt
+- 1.83
+- context subpackage fix
+- texmfdist macro to texmf-dist directory
+
 Revision 1.54  2009/07/20 11:42:15  uzsolt
 - BR ghostscript
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/asymptote/asymptote.spec?r1=1.54&r2=1.55&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to