From dff16d0a95bd94df5dafb10b06362e5c4957b2ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 10 Nov 2009 14:09:06 +0000 Subject: [PATCH] - add pld branding patch (idea from debian) Changed files: dokuwiki.spec -> 1.58 pld-branding.patch -> 1.1 --- dokuwiki.spec | 4 ++++ pld-branding.patch | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 pld-branding.patch diff --git a/dokuwiki.spec b/dokuwiki.spec index 529a398..8a17bfc 100644 --- a/dokuwiki.spec +++ b/dokuwiki.spec @@ -15,6 +15,8 @@ Source4: eventum.gif # Source4-md5: cac3d0f82591a33eda2afa8ae5fe65cb Source5: http://forum.skype.com/style_emoticons/skype/skype.png # Source5-md5: 25c355be038267dc9fdb724b628000b9 +Source6: pld_button.png +# Source6-md5: 185afa921e81bd726b9f0f9f0909dc6e Patch66: %{name}-config.patch Patch0: %{name}-paths.patch Patch2: %{name}-mysqlauth.patch @@ -32,6 +34,7 @@ Patch13: %{name}-media-directlink.patch Patch14: interwiki-outputonly.patch Patch15: simplepie.patch Patch18: install.patch +Patch19: pld-branding.patch URL: http://wiki.splitbrain.org/wiki:dokuwiki BuildRequires: rpmbuild(macros) >= 1.520 Requires: geshi >= 1.0.7.19 @@ -165,6 +168,7 @@ ln $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/{dokubug,bug}.gif cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_appdir}/lib/images/fileicons/jide.png cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/eventum.gif cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/skype.gif +cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_appdir}/lib/tpl/default/images/button-pld.png # find locales %find_lang %{name}.lang diff --git a/pld-branding.patch b/pld-branding.patch new file mode 100644 index 0000000..efb1c2f --- /dev/null +++ b/pld-branding.patch @@ -0,0 +1,24 @@ +=================================================================== +--- dokuwiki-0.0.20090214.orig/conf/dokuwiki.php 2009-02-14 19:19:27.000000000 +0100 ++++ dokuwiki-0.0.20090214/conf/dokuwiki.php 2009-02-14 19:22:46.000000000 +0100 +@@ -24,7 +24,7 @@ + /* Display Options */ + + $conf['start'] = 'start'; //name of start page +-$conf['title'] = 'DokuWiki'; //what to show in the title ++$conf['title'] = 'PLD Linux DokuWiki'; //what to show in the title + $conf['template'] = 'default'; //see lib/tpl directory + $conf['license'] = 'publicdomain'; //see conf/license.php + $conf['fullpath'] = 0; //show full path of the document or relative to datadir only? 0|1 +=================================================================== +--- dokuwiki-0.0.20090214.orig/lib/tpl/default/footer.html 2009-02-14 19:22:01.000000000 +0100 ++++ dokuwiki-0.0.20090214/lib/tpl/default/footer.html 2009-02-14 19:23:14.000000000 +0100 +@@ -28,6 +28,8 @@ + + href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS">Valid CSS + ++ href="http://www.pld-linux.org/" title="PLD Linux">PLD Linux ++ + href="http://dokuwiki.org/" title="Driven by DokuWiki">Driven by DokuWiki + +