SPECS: template-dokuwiki-plugin.spec - no macro in url - add local...

glen glen at pld-linux.org
Thu Mar 20 14:48:44 CET 2008


Author: glen                         Date: Thu Mar 20 13:48:44 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- no macro in url
- add localization finding

---- Files affected:
SPECS:
   template-dokuwiki-plugin.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/template-dokuwiki-plugin.spec
diff -u SPECS/template-dokuwiki-plugin.spec:1.1 SPECS/template-dokuwiki-plugin.spec:1.2
--- SPECS/template-dokuwiki-plugin.spec:1.1	Thu Mar 20 11:51:58 2008
+++ SPECS/template-dokuwiki-plugin.spec	Thu Mar 20 14:48:39 2008
@@ -7,9 +7,10 @@
 Release:	0.1
 License:	GPL v2
 Group:		Applications/WWW
-Source0:
-# Source0-md5:
-URL:		http://wiki.splitbrain.org/plugin:%{plugin}
+Source0:	-
+# Source0-md5:	-
+Source1:	dokuwiki-find-lang.sh
+URL:		http://wiki.splitbrain.org/plugin:PLUGIN_NAME
 Requires:	dokuwiki >= 20061106
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,19 +33,30 @@
 cp -a . $RPM_BUILD_ROOT%{_plugindir}
 rm -f $RPM_BUILD_ROOT%{_plugindir}/{CREDITS,changelog}
 
+# find locales
+sh %{SOURCE1} %{name}.lang
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README CREDITS changelog
-%{_plugindir}
+%dir %{_plugindir}
+%{_plugindir}/*.php
+%{_plugindir}/*.css
+%{_plugindir}/conf
+%{_plugindir}/images
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
+
 $Log$
+Revision 1.2  2008-03-20 13:48:39  glen
+- no macro in url
+- add localization finding
+
 Revision 1.1  2008-03-20 10:51:58  paszczus
 - initial template spec for dokuwiki plugins
-
================================================================

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



More information about the pld-cvs-commit mailing list