Author: megabajt                     Date: Sat Apr  4 16:48:38 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.19

---- Files affected:
SPECS:
   openclipart.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/openclipart.spec
diff -u SPECS/openclipart.spec:1.15 SPECS/openclipart.spec:1.16
--- SPECS/openclipart.spec:1.15 Thu Sep  6 17:31:13 2007
+++ SPECS/openclipart.spec      Sat Apr  4 18:48:33 2009
@@ -2,12 +2,12 @@
 Summary:       Archive of clip art that can be used for free for any use
 Summary(pl.UTF-8):     Archiwum klipartów, które można używać w dowolny sposób 
za darmo
 Name:          openclipart
-Version:       0.18
-Release:       4
+Version:       0.19
+Release:       1
 Epoch:         0
 License:       Creative Commons and/or Public Domain
 Group:         Applications/Graphics
-Source0:       
http://www.openclipart.org/downloads/%{version}/%{name}-%{version}-full.tar.bz2
+Source0:       
http://www.openclipart.org/downloads/%{version}/%{name}-%{version}.tar.bz2
 # Source0-md5: f13a58a7fcab9d8647ea528d28c4b813
 URL:           http://www.openclipart.org/
 Requires:      %{name}-AUTHORS = %{epoch}:%{version}-%{release}
@@ -75,7 +75,7 @@
 Kliparty w wersji PNG.
 
 %prep
-%setup -q -n %{name}-%{version}-full
+%setup -q
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,7 +84,7 @@
 install_data() {
        echo "Using cp -a$l to copy files"
        for src in "$@"; do
-               dst=${src#clipart/}
+               dst=${src#./}
                echo "- $dst"
                install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/$dst
                diradd=0
@@ -100,26 +100,22 @@
                        cp -a$l $src/*.png 
$RPM_BUILD_ROOT%{_datadir}/%{name}/$dst
                        echo "%{_datadir}/%{name}/$dst/*.png" >> %{name}-png.txt
                fi
-               if ls $src/*.txt > /dev/null 2>&1; then
-                       diradd=1
-                       echo " txt: $dst"
-                       cp -a$l $src/*.txt 
$RPM_BUILD_ROOT%{_datadir}/%{name}/$dst
-                       echo "%{_datadir}/%{name}/$dst/*.txt" >> %{name}-txt.txt
-               fi
                if [ $diradd = 1 ]; then
                        echo "%dir %{_datadir}/%{name}/$dst" >> %{name}-txt.txt
                fi
        done
 }
 
-rm -f %{name}-{txt,svg,png}.txt
+rm -f %{name}-{svg,png}.txt
 
 # test if we can hardlink -- src and dest on the same partition
-if cp -al README $RPM_BUILD_ROOT/README 2>/dev/null; then
+if cp -al index.html $RPM_BUILD_ROOT/index.html 2>/dev/null; then
        l=l
-       rm -f $RPM_BUILD_ROOT/README
+       rm -f $RPM_BUILD_ROOT/index.html
 fi
-install_data $(find clipart ! -name clipart -type d)
+
+# skip images/ -- there are files used only by index*.html, not cliparts
+install_data $(find . ! -name . ! -name images -type d)
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -132,9 +128,8 @@
 
 %files AUTHORS -f %{name}-txt.txt
 %defattr(644,root,root,755)
-%doc AUTHORS README ChangeLog NEWS
+%doc index*.html images
 %dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/special/examples
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -142,6 +137,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2009/04/04 16:48:33  megabajt
+- updated to 0.19
+
 Revision 1.15  2007/09/06 15:31:13  baggins
 - rel 4
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openclipart.spec?r1=1.15&r2=1.16&f=u

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

Reply via email to