packages: dokuwiki-plugin-data/dokuwiki-plugin-data.spec, dokuwiki-plugin-d...
glen
glen at pld-linux.org
Thu Oct 22 17:51:55 CEST 2009
Author: glen Date: Thu Oct 22 15:51:55 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- add google maps helper via _map; rel 2
---- Files affected:
packages/dokuwiki-plugin-data:
dokuwiki-plugin-data.spec (1.9 -> 1.10) , helper-map.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/dokuwiki-plugin-data/dokuwiki-plugin-data.spec
diff -u packages/dokuwiki-plugin-data/dokuwiki-plugin-data.spec:1.9 packages/dokuwiki-plugin-data/dokuwiki-plugin-data.spec:1.10
--- packages/dokuwiki-plugin-data/dokuwiki-plugin-data.spec:1.9 Mon Aug 10 19:40:18 2009
+++ packages/dokuwiki-plugin-data/dokuwiki-plugin-data.spec Thu Oct 22 17:51:48 2009
@@ -3,13 +3,14 @@
Summary: DokuWiki Structured Data Plugin
Name: dokuwiki-plugin-%{plugin}
Version: 20090810
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/WWW
Source0: http://dev.splitbrain.org/download/snapshots/data-plugin-latest.tgz
# Source0-md5: f55adb2c5643693fca8b7ef73944f6e4
URL: http://wiki.splitbrain.org/plugin:data
Patch0: interwiki.patch
+Patch1: helper-map.patch
BuildRequires: rpmbuild(macros) >= 1.520
Requires: dokuwiki >= 20090214b-5
Requires: php(sqlite)
@@ -32,6 +33,7 @@
%prep
%setup -q -n %{plugin}
%patch0 -p1
+%patch1 -p1
# cleanup backups after patching
find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
@@ -76,6 +78,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2009/10/22 15:51:48 glen
+- add google maps helper via _map; rel 2
+
Revision 1.9 2009/08/10 17:40:18 glen
- up to 20090810
- rootns patch applied:
================================================================
Index: packages/dokuwiki-plugin-data/helper-map.patch
diff -u /dev/null packages/dokuwiki-plugin-data/helper-map.patch:1.1
--- /dev/null Thu Oct 22 17:51:55 2009
+++ packages/dokuwiki-plugin-data/helper-map.patch Thu Oct 22 17:51:48 2009
@@ -0,0 +1,13 @@
+--- data/helper.php 2009-10-22 18:50:43.604400412 +0300
++++ data/helper.php 2009-10-22 18:50:41.000000000 +0300
+@@ -109,6 +109,10 @@
+ list($wikiName, $wikiUri) = explode('>', $val, 2);
+ $outs[] = $R->interwikilink($val, NULL, $wikiName, $wikiUri, true);
+ break;
++ case 'map':
++ $url = "http://maps.google.com/maps?q=".$val;
++ $outs[] = '<a href="'.$url.'" class="urlextern" title="Google Map: '.hsc($val).'">'.hsc($val).'</a>';
++ break;
+ case 'mail':
+ list($id,$title) = explode(' ',$val,2);
+ $id = obfuscate(hsc($id));
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-plugin-data/dokuwiki-plugin-data.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list