]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
- use dokuwiki-find-lang from rpm-build-macros
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 15 Jun 2009 20:46:14 +0000 (20:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki.spec -> 1.49

dokuwiki.spec

index f49b560dee5e3e6716b0ecb2de7c319af9ac6bd3..87759852d00fd52827f3a09a91fe32d96e39d79a 100644 (file)
@@ -11,13 +11,12 @@ Source0:    http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}.tg
 # Source0-md5: c75c4781b8698041c3c9b6b0fec2ac2e
 Source1:       %{name}-apache.conf
 Source2:       %{name}-lighttpd.conf
-Source3:       %{name}-find-lang.sh
-Source4:       jude.png
-# Source4-md5: 623344128960e18f86097dfee213ad4a
-Source5:       eventum.gif
-# Source5-md5: cac3d0f82591a33eda2afa8ae5fe65cb
-Source6:       http://forum.skype.com/style_emoticons/skype/skype.png
-# Source6-md5: 25c355be038267dc9fdb724b628000b9
+Source3:       jude.png
+# Source3-md5: 623344128960e18f86097dfee213ad4a
+Source4:       eventum.gif
+# Source4-md5: cac3d0f82591a33eda2afa8ae5fe65cb
+Source5:       http://forum.skype.com/style_emoticons/skype/skype.png
+# Source5-md5: 25c355be038267dc9fdb724b628000b9
 Patch0:                %{name}-paths.patch
 Patch1:                %{name}-config.patch
 Patch2:                %{name}-mysqlauth.patch
@@ -33,7 +32,7 @@ Patch11:      %{name}-notifyns.patch
 Patch12:       %{name}-mailthreads.patch
 Patch13:       %{name}-media-directlink.patch
 URL:           http://wiki.splitbrain.org/wiki:dokuwiki
-BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: rpmbuild(macros) >= 1.520
 Requires:      geshi >= 1.0.7.19
 Requires:      php(xml)
 Requires:      webapps
@@ -51,6 +50,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _sysconfdir     %{_webapps}/%{_webapp}
 %define                _appdir         %{_datadir}/%{_webapp}
 %define                _localstatedir  /var/lib/%{name}
+%define                find_lang       %{_usrlibrpm}/dokuwiki-find-lang.sh %{buildroot}
 
 %description
 DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at
@@ -142,12 +142,12 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/mime.local.conf
 touch $RPM_BUILD_ROOT%{_sysconfdir}/smileys.local.conf
 
 ln $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/{dokubug,bug}.gif
-cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_appdir}/lib/images/fileicons
-cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/eventum.gif
-cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/skype.gif
+cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_appdir}/lib/images/fileicons
+cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/eventum.gif
+cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/skype.gif
 
 # find locales
-sh %{SOURCE3} %{name}.lang
+%find_lang %{name}.lang
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.030136 seconds and 4 git commands to generate.