SPECS: dokuwiki-plugin-include.spec - use %lang

glen glen at pld-linux.org
Tue Jan 8 15:05:01 CET 2008


Author: glen                         Date: Tue Jan  8 14:05:01 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %lang

---- Files affected:
SPECS:
   dokuwiki-plugin-include.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/dokuwiki-plugin-include.spec
diff -u SPECS/dokuwiki-plugin-include.spec:1.2 SPECS/dokuwiki-plugin-include.spec:1.3
--- SPECS/dokuwiki-plugin-include.spec:1.2	Fri Sep  7 12:23:16 2007
+++ SPECS/dokuwiki-plugin-include.spec	Tue Jan  8 15:04:56 2008
@@ -3,11 +3,12 @@
 Summary:	Dokuwiki Include Plugin
 Name:		dokuwiki-plugin-%{_plugin}
 Version:	20070822
-Release:	0.2
+Release:	0.3
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://www.qwik.ch/media/include.tgz
 # Source0-md5:	7487acd2765cdfd7eaf38b52e48508b6
+Source1:	dokuwiki-find-lang.sh
 URL:		http://www.wikidesign.ch/en/plugin/include/start
 Requires:	dokuwiki >= 20061106
 BuildArch:	noarch
@@ -17,8 +18,8 @@
 %define		_plugindir	%{_dokudir}/lib/plugins/%{_plugin}
 
 %description
-This is a very simple yet handy plugin with which you can include another wiki
-page into the current one. 
+This is a very simple yet handy plugin with which you can include
+another wiki page into the current one.
 
 %prep
 %setup -q -n %{_plugin}
@@ -29,13 +30,20 @@
 cp -a . $RPM_BUILD_ROOT%{_plugindir}
 rm -f $RPM_BUILD_ROOT%{_plugindir}/{COPYING,README,VERSION}
 
+# find locales
+sh %{SOURCE1} %{name}.lang
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README
-%{_plugindir}
+%dir %{_plugindir}
+%{_plugindir}/*.php
+%{_plugindir}/*.css
+%{_plugindir}/conf
+%{_plugindir}/images
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -43,7 +51,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.2  2007-09-07 10:23:16  glen
+Revision 1.3  2008-01-08 14:04:56  glen
+- use %lang
+
+Revision 1.2  2007/09/07 10:23:16  glen
 - typos
 
 Revision 1.1  2007/09/07 09:54:42  glen
================================================================

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



More information about the pld-cvs-commit mailing list