SPECS: tetex-pgf.spec - updated to 0.95

kosmo kosmo at pld-linux.org
Fri Oct 14 21:32:59 CEST 2005


Author: kosmo                        Date: Fri Oct 14 19:32:59 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.95

---- Files affected:
SPECS:
   tetex-pgf.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/tetex-pgf.spec
diff -u SPECS/tetex-pgf.spec:1.4 SPECS/tetex-pgf.spec:1.5
--- SPECS/tetex-pgf.spec:1.4	Wed Jan  5 01:21:46 2005
+++ SPECS/tetex-pgf.spec	Fri Oct 14 21:32:53 2005
@@ -3,15 +3,18 @@
 %define short_name pgf
 %define	texhash	[ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
 
+# TODO:
+# Pack more files ? (plain subdirectory)
+
 Summary:	The TeX Portable Graphic Format
 Summary(pl):	Przenośny format grafiki dla TeXa
 Name:		tetex-pgf
-Version:	0.65
-Release:	1
+Version:	0.95
+Release:	0.1
 License:	LaTeX Project Public License
 Group:		Applications/Publishing/TeX
 Source0:	http://dl.sourceforge.net/latex-beamer/%{short_name}-%{version}.tar.gz
-# Source0-md5:	763cab72b1a46160da5e40b6892db6a1
+# Source0-md5:	342549f27785cc6466a02cb66774e4cf
 Requires:	tetex-latex
 Requires:	tetex-latex-xcolor >= 2.00
 Requires(post,postun):	/usr/bin/texhash
@@ -24,13 +27,19 @@
 Pakiet makr do tworzenia grafiki bezpośrednio z TeXa i LaTeXa.
 
 %prep
-%setup -q -n %{short_name}
+%setup -q -n %{short_name}-%{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/%{short_name}
 
-install *.sty $RPM_BUILD_ROOT%{_datadir}/texmf/tex/%{short_name}
+for SEC in generic latex; do
+    cd $SEC/%{short_name}
+    for DIR in *; do
+	install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/$SEC/%{short_name}/$DIR
+	install $DIR/* $RPM_BUILD_ROOT%{_datadir}/texmf/tex/$SEC/%{short_name}/$DIR
+    done
+    cd ../..
+done
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -43,8 +52,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc *.pdf
-%{_datadir}/texmf/tex/%{short_name}
+%doc doc/pgf/en/*.pdf doc/pgf/AUTHORS doc/pgf/ChangeLog doc/pgf/README doc/pgf/TODO
+%{_datadir}/texmf/tex/generic/%{short_name}
+%{_datadir}/texmf/tex/latex/%{short_name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -52,6 +62,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/10/14 19:32:53  kosmo
+- updated to 0.95
+
 Revision 1.4  2005/01/05 00:21:46  jpc
 - up to 0.65
 - R: tetex-latex-xcolor >= 2.00
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tetex-pgf.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list