packages: zaz/zaz.spec - move docs to separate package (zaz-docs.tar.gz)

lisu lisu at pld-linux.org
Sun Sep 5 13:49:04 CEST 2010


Author: lisu                         Date: Sun Sep  5 11:49:04 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- move docs to separate package (zaz-docs.tar.gz)

---- Files affected:
packages/zaz:
   zaz.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/zaz/zaz.spec
diff -u packages/zaz/zaz.spec:1.15 packages/zaz/zaz.spec:1.16
--- packages/zaz/zaz.spec:1.15	Sun Sep  5 11:43:32 2010
+++ packages/zaz/zaz.spec	Sun Sep  5 13:48:59 2010
@@ -9,14 +9,8 @@
 Group:		X11/Applications/Games
 Source0:	http://downloads.sourceforge.net/zaz/%{name}-%{version}.tar.bz2
 # Source0-md5:	d92a043780d06c699da0ba04aab32a6b
-Source1:	bonus1.png
-Source2:	bonus2.png
-Source3:	bonus3.png
-Source4:	bonus4.png
-Source5:	bonus5.png
-Source6:	logo.png
-Source7:	doc.html
-Source8:	screen_mini.jpg
+Source1:	%{name}-docs.tar.gz
+# Source1-md5:	c1d35b69edf80bab01262ca272405181
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-usless_files.patch
 URL:		http://zaz.sourceforge.net/
@@ -51,7 +45,7 @@
 różnych poziomów.
 
 %prep
-%setup -q
+%setup -q -a 1
 %patch0 -p1
 %patch1 -p1
 
@@ -70,10 +64,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# install docs
 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-install AUTHORS ChangeLog \
-	%{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} \
-	$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+install AUTHORS ChangeLog docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
 %find_lang %{name} --all-name
 
@@ -94,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2010/09/05 11:48:59  lisu
+- move docs to separate package (zaz-docs.tar.gz)
+
 Revision 1.15  2010/09/05 09:43:32  uzsolt
 - added screen_mini.jpg
 - rel 2
================================================================

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



More information about the pld-cvs-commit mailing list