template-specs: dokuwiki-plugin.spec - git checkout samples

glen glen at pld-linux.org
Tue Mar 23 12:58:33 CET 2010


Author: glen                         Date: Tue Mar 23 11:58:33 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- git checkout samples

---- Files affected:
template-specs:
   dokuwiki-plugin.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: template-specs/dokuwiki-plugin.spec
diff -u template-specs/dokuwiki-plugin.spec:1.9 template-specs/dokuwiki-plugin.spec:1.10
--- template-specs/dokuwiki-plugin.spec:1.9	Sat Aug 29 22:08:29 2009
+++ template-specs/dokuwiki-plugin.spec	Tue Mar 23 12:58:28 2010
@@ -27,8 +27,14 @@
 Wtyczka dla DokuWiki
 
 %prep
-%setup -q -n %{plugin}
+%setup -qc
+# for githug urls:
+mv *-%{plugin}-*/* .
+# for other zip files:
+mv %{plugin}/* .
+
 version=$(cat VERSION)
+version=$(awk '/date/{print $2}' plugin.info.txt)
 if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
 	: %%{version} mismatch
 	exit 1
@@ -57,6 +63,7 @@
 %defattr(644,root,root,755)
 %doc README CREDITS changelog
 %dir %{plugindir}
+%{plugindir}/*.txt
 %{plugindir}/*.php
 %{plugindir}/*.css
 %{plugindir}/conf
@@ -68,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2010/03/23 11:58:28  glen
+- git checkout samples
+
 Revision 1.9  2009/08/29 20:08:29  glen
 - avoid syntax error on empty version
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/dokuwiki-plugin.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list