OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 17-Feb-2007 18:55:22
Branch: HEAD Handle: 2007021717552200
Modified files:
openpkg-src/wordpress wordpress.spec
Log:
add ELA plugin and fix permissions of backup-cd directory
Summary:
Revision Changes Path
1.31 +16 -3 openpkg-src/wordpress/wordpress.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/wordpress/wordpress.spec
============================================================================
$ cvs diff -u -r1.30 -r1.31 wordpress.spec
--- openpkg-src/wordpress/wordpress.spec 16 Feb 2007 21:27:19 -0000
1.30
+++ openpkg-src/wordpress/wordpress.spec 17 Feb 2007 17:55:22 -0000
1.31
@@ -33,6 +33,7 @@
%define V_plugin_relativedate 110
%define V_plugin_stats 210
%define V_plugin_ban 110
+%define V_plugin_ela 0.10
# package information
Name: wordpress
@@ -45,7 +46,7 @@
Group: CMS
License: GPL
Version: 2.1
-Release: 20070216
+Release: 20070217
# list of sources
Source0:
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/wordpress/wordpress-%{V_wordpress}.tar.gz
@@ -62,6 +63,7 @@
Source16:
http://www.lesterchan.net/others/downloads/wp-relativedate%{V_plugin_relativedate}.zip
Source17:
http://www.lesterchan.net/others/downloads/wp-stats%{V_plugin_stats}.zip
Source18:
http://www.lesterchan.net/others/downloads/wp-ban%{V_plugin_ban}.zip
+Source19:
http://www.sonsofskadi.net/wp-content/upload/af-extended-live-archive-%{V_plugin_ela}.zip
Patch0: wordpress.patch
# build information
@@ -142,6 +144,11 @@
regex = WP-Ban\s+(\d+\.\d+)
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
}
+ prog wordpress:plugin-ela = {
+ version = %{V_plugin_ela}
+ url = http://www.sonsofskadi.net/extended-live-archive/
+ regex = af-extended-live-archive-(__VER__)\.zip
+ }
%prep
%setup -q -c
@@ -154,6 +161,7 @@
%{l_prefix}/bin/unzip -q -o -x %{SOURCE16}
%{l_prefix}/bin/unzip -q -o -x %{SOURCE17}
%{l_prefix}/bin/unzip -q -o -x %{SOURCE18}
+ %{l_prefix}/bin/unzip -q -o -x %{SOURCE19}
%patch -p0 -d wordpress
%build
@@ -191,7 +199,8 @@
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/print \
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/relativedate \
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/stats \
- $RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/ban
+ $RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/ban \
+ $RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/ela
cp -rp simple-tagging/simpletagging* \
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/simpletagging/
cp -rp dbmanager/* \
@@ -210,6 +219,8 @@
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/stats/
cp -rp ban/* \
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/ban/
+ cp -rp af-extended-live-archive/* \
+ $RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/ban/
# create additional uploads directory
%{l_shtool} mkdir -f -p -m 755 \
@@ -242,7 +253,9 @@
'%config %{l_prefix}/etc/wordpress/*' \
'%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/wordpress' \
'%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/wordpress/*' \
- '%attr(-,%{l_rusr},%{l_ngrp})
%{l_prefix}/libexec/wordpress/wp-content/uploads'
+ '%attr(-,%{l_rusr},%{l_ngrp})
%{l_prefix}/libexec/wordpress/wp-content/uploads' \
+ '%attr(-,%{l_rusr},%{l_ngrp})
%{l_prefix}/libexec/wordpress/wp-content/backup-db' \
+ '%attr(-,%{l_rusr},%{l_ngrp})
%{l_prefix}/libexec/wordpress/wp-content/plugins/ela/cache'
%files -f files
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]