]> git.pld-linux.org Git - packages/dokuwiki-tpl-monobook.git/commitdiff
- use %lang
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 8 Jan 2008 14:08:45 +0000 (14:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-tpl-monobook.spec -> 1.2

dokuwiki-tpl-monobook.spec

index d0148cae63f77d2ed3d8d59f0057c0ecdf963d75..a8d353cfc855a2baf3627ff55f5c21e2554c95ea 100644 (file)
@@ -4,11 +4,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
@@ -39,10 +40,22 @@ install -d $RPM_BUILD_ROOT%{_tpldir}
 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
This page took 0.06328 seconds and 4 git commands to generate.