]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
- make inc/lang/en/edit.txt as %config; rel 4 auto/ac/dokuwiki-20090214b-4 auto/th/dokuwiki-20090214b-4 auto/ti/dokuwiki-20090214b-4
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 16 Jun 2009 12:52:34 +0000 (12:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki.spec -> 1.51

dokuwiki.spec

index 7531df24324f910b58f78d1dc3bcd43060ee4597..592ef387aeb4e8bcdcde504747bf5fd606b9116e 100644 (file)
@@ -4,7 +4,7 @@ Summary:        PHP-based Wiki webapplication
 Summary(pl.UTF-8):     Aplikacja WWW Wiki oparta na PHP
 Name:          dokuwiki
 Version:       %{ver}
-Release:       3
+Release:       4
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}.tgz
@@ -150,6 +150,16 @@ cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/skype.gif
 # find locales
 %find_lang %{name}.lang
 
+# make inc/lang/en/edit.txt as %config
+%{__sed} -i -e '
+/%%lang([^)]\+) \/usr\/share\/dokuwiki\/inc\/lang\/[^/]\+/{
+       # make entry as %%dir
+       s/^/%%dir /; p
+
+       # add files inside the %dir
+       s/^%%dir /%%config(noreplace) %%verify(not md5 mtime size) /; s/$/\/*.*/
+}' %{name}.lang
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.14062 seconds and 4 git commands to generate.