SPECS: dokuwiki-tpl-monobook.spec - use %lang

glen glen at pld-linux.org
Tue Jan 8 15:08:50 CET 2008


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

---- Files affected:
SPECS:
   dokuwiki-tpl-monobook.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/dokuwiki-tpl-monobook.spec
diff -u SPECS/dokuwiki-tpl-monobook.spec:1.1 SPECS/dokuwiki-tpl-monobook.spec:1.2
--- SPECS/dokuwiki-tpl-monobook.spec:1.1	Fri Sep  7 11:36:07 2007
+++ SPECS/dokuwiki-tpl-monobook.spec	Tue Jan  8 15:08:45 2008
@@ -5,11 +5,12 @@
 Summary:	Monobook template for DokuWiki
 Name:		dokuwiki-tpl-%{_tpl}
 Version:	%{_ver}
-Release:	0.1
+Release:	0.2
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://tatewake.com/wiki/_media/projects:monobook-%{_snap}.zip
 # Source0-md5:	69f0dfd21dc921f86be4fd9f8ec9ea4f
+Source1:	dokuwiki-find-lang.sh
 URL:		http://tatewake.com/wiki/projects:monobook_for_dokuwiki
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	dokuwiki >= 20070626
@@ -40,13 +41,25 @@
 cp -a . $RPM_BUILD_ROOT%{_tpldir}
 rm -f $RPM_BUILD_ROOT%{_tpldir}/{INSTALL,README}
 
+# find locales
+sh %{SOURCE1} %{name}.lang
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc INSTALL README
-%{_tpldir}
+%dir %{_tpldir}
+%{_tpldir}/*.php
+%{_tpldir}/style.ini
+%{_tpldir}/common
+%{_tpldir}/conf
+%{_tpldir}/dokuwiki
+%{_tpldir}/monobook
+%{_tpldir}/user
+# TODO: lang dirs inside. check if these can be also rpm lang tagged
+%{_tpldir}/wikipedia
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +67,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.1  2007-09-07 09:36:07  glen
-- new
+Revision 1.2  2008-01-08 14:08:45  glen
+- use %lang
 
+Revision 1.1  2007/09/07 09:36:07  glen
+- new
================================================================

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



More information about the pld-cvs-commit mailing list