Author: uzsolt                       Date: Sat Nov 22 10:02:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.00
- improved with 'find' the %install section (because of directory tree change)
- findutils BR
- hu summary and description

---- Files affected:
SPECS:
   tetex-pgf.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/tetex-pgf.spec
diff -u SPECS/tetex-pgf.spec:1.11 SPECS/tetex-pgf.spec:1.12
--- SPECS/tetex-pgf.spec:1.11   Tue Mar 13 19:42:32 2007
+++ SPECS/tetex-pgf.spec        Sat Nov 22 11:02:22 2008
@@ -7,15 +7,17 @@
 # Pack more files ? (documentation sources as examples)
 
 Summary:       The TeX Portable Graphic Format
+Summary(hu.UTF-8):     TeX Portable Graphic Formátum
 Summary(pl.UTF-8):     Przenośny format grafiki dla TeXa
 Name:          tetex-pgf
-Version:       1.10
+Version:       2.00
 Release:       1
 License:       LaTeX Project Public License
 Group:         Applications/Publishing/TeX
 Source0:       http://dl.sourceforge.net/pgf/%{short_name}-%{version}.tar.gz
-# Source0-md5: abae3c7d215dc854458f8ecbb2bf5a81
+# Source0-md5: fb8cb62462f8248e327bf23ee5b9ccda
 URL:           http://sourceforge.net/projects/pgf/
+BuildRequires:  findutils
 Requires:      tetex-latex
 Requires:      tetex-latex-xcolor >= 2.00
 Requires(post,postun): /usr/bin/texhash
@@ -24,6 +26,9 @@
 %description
 A macro package for creating graphics directly in TeX and LaTeX.
 
+%description -l hu.UTF-8
+Makró csomag rajzok készítéséhez közvetlenül TeX-ben és LaTeX-ben.
+
 %description -l pl.UTF-8
 Pakiet makr do tworzenia grafiki bezpośrednio z TeXa i LaTeXa.
 
@@ -35,9 +40,12 @@
 
 for SEC in generic latex plain; do
        cd $SEC/%{short_name}
-       for DIR in *; do
+       for DIR in $(find -type d); 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
+               FILES=$(find $DIR -maxdepth 1 -type f) 
+               if [ -n "$FILES" ]; then
+                       install $FILES 
$RPM_BUILD_ROOT%{_datadir}/texmf/tex/$SEC/%{short_name}/$DIR
+               fi
        done
        cd ../..
 done
@@ -53,7 +61,8 @@
 
 %files
 %defattr(644,root,root,755)
-%doc doc/generic/pgf/version-for-pdftex/en/pgfmanual.pdf  
doc/generic/pgf/AUTHORS doc/generic/pgf/ChangeLog doc/generic/pgf/README 
doc/generic/pgf/TODO
+# TODO: create doc/generic/pgf/version-for-pdftex/en/pgfmanual.pdf
+%doc doc/generic/pgf/AUTHORS doc/generic/pgf/ChangeLog doc/generic/pgf/README 
doc/generic/pgf/TODO
 %{_datadir}/texmf/tex/generic/%{short_name}
 %{_datadir}/texmf/tex/latex/%{short_name}
 %{_datadir}/texmf/tex/plain/%{short_name}
@@ -64,6 +73,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008/11/22 10:02:22  uzsolt
+- up to 2.00
+- improved with 'find' the %install section (because of directory tree change)
+- findutils BR
+- hu summary and description
+
 Revision 1.11  2007/03/13 18:42:32  jajcus
 - Version: 1.10
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tetex-pgf.spec?r1=1.11&r2=1.12&f=u

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

Reply via email to