packages: dokuwiki-plugin-sidebarng/dokuwiki-plugin-sidebarng.spec - really...

glen glen at pld-linux.org
Wed Jan 4 08:26:53 CET 2012


Author: glen                         Date: Wed Jan  4 07:26:53 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- really use 20100604 version code

---- Files affected:
packages/dokuwiki-plugin-sidebarng:
   dokuwiki-plugin-sidebarng.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/dokuwiki-plugin-sidebarng/dokuwiki-plugin-sidebarng.spec
diff -u packages/dokuwiki-plugin-sidebarng/dokuwiki-plugin-sidebarng.spec:1.2 packages/dokuwiki-plugin-sidebarng/dokuwiki-plugin-sidebarng.spec:1.3
--- packages/dokuwiki-plugin-sidebarng/dokuwiki-plugin-sidebarng.spec:1.2	Sun Dec 11 23:37:45 2011
+++ packages/dokuwiki-plugin-sidebarng/dokuwiki-plugin-sidebarng.spec	Wed Jan  4 08:26:48 2012
@@ -3,11 +3,11 @@
 Summary:	Adds flexible sidebar to DokuWiki
 Name:		dokuwiki-plugin-%{plugin}
 Version:	20100604
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/WWW
-Source0:	http://cloud.github.com/downloads/chimeric/dokuwiki-plugin-sidebarng/plugin-sidebarng.tgz
-# Source0-md5:	918b55089ebcbb8c98bd3b08f79aad37
+Source0:	https://github.com/chimeric/dokuwiki-plugin-sidebarng/tarball/master/%{name}-%{version}.tgz
+# Source0-md5:	0971442a6a3cf782cf8240a7b160769a
 URL:		http://www.dokuwiki.org/plugin:sidebarng
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	dokuwiki >= 20091225
@@ -34,19 +34,19 @@
 
 %prep
 %setup -qc
-mv %{plugin}/* .
+mv *-%{plugin}-*/* .
 
-version=$(cat VERSION)
+version=$(awk '/^date/{print $2}' plugin.info.txt)
 if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
 	: %%{version} mismatch
-#	exit 1
+	exit 1
 fi
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{plugindir}
 cp -a . $RPM_BUILD_ROOT%{plugindir}
-%{__rm} $RPM_BUILD_ROOT%{plugindir}/{COPYING,README,VERSION}
+%{__rm} $RPM_BUILD_ROOT%{plugindir}/{COPYING,README}
 
 %find_lang %{name}.lang
 
@@ -65,6 +65,7 @@
 %dir %{plugindir}
 %{plugindir}/*.css
 %{plugindir}/*.php
+%{plugindir}/*.txt
 %{plugindir}/conf
 %{plugindir}/sidebars
 
@@ -74,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2012/01/04 07:26:48  glen
+- really use 20100604 version code
+
 Revision 1.2  2011/12/11 22:37:45  glen
 - fix url
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-plugin-sidebarng/dokuwiki-plugin-sidebarng.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list