|
@@ -23,16 +23,16 @@
|
|
|
##
|
|
##
|
|
|
|
|
|
|
|
# package versions
|
|
# package versions
|
|
|
-%define V_wordpress 2.2.3
|
|
|
|
|
|
|
+%define V_wordpress 2.3
|
|
|
%define V_plugin_simpletagging 1-6
|
|
%define V_plugin_simpletagging 1-6
|
|
|
-%define V_plugin_dbmanager 211
|
|
|
|
|
-%define V_plugin_pagenavi 211
|
|
|
|
|
-%define V_plugin_polls 220
|
|
|
|
|
-%define V_plugin_postviews 111
|
|
|
|
|
-%define V_plugin_print 211
|
|
|
|
|
-%define V_plugin_relativedate 111
|
|
|
|
|
-%define V_plugin_stats 211
|
|
|
|
|
-%define V_plugin_ban 111
|
|
|
|
|
|
|
+%define V_plugin_dbmanager 220
|
|
|
|
|
+%define V_plugin_pagenavi 220
|
|
|
|
|
+%define V_plugin_polls 221
|
|
|
|
|
+%define V_plugin_postviews 120
|
|
|
|
|
+%define V_plugin_print 220
|
|
|
|
|
+%define V_plugin_relativedate 120
|
|
|
|
|
+%define V_plugin_stats 220
|
|
|
|
|
+%define V_plugin_ban 120
|
|
|
%define V_plugin_ela 0.10
|
|
%define V_plugin_ela 0.10
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
@@ -46,7 +46,7 @@ Class: PLUS
|
|
|
Group: CMS
|
|
Group: CMS
|
|
|
License: GPL
|
|
License: GPL
|
|
|
Version: %{V_wordpress}
|
|
Version: %{V_wordpress}
|
|
|
-Release: 20070908
|
|
|
|
|
|
|
+Release: 20071001
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://wordpress.org/wordpress-%{V_wordpress}.tar.gz
|
|
Source0: http://wordpress.org/wordpress-%{V_wordpress}.tar.gz
|
|
@@ -55,14 +55,14 @@ Source2: wordpress-setup.sh
|
|
|
Source3: wordpress-cron.sh
|
|
Source3: wordpress-cron.sh
|
|
|
Source4: rc.wordpress
|
|
Source4: rc.wordpress
|
|
|
Source10: http://sw-guide.de/_mw-uploads/simple-tagging_%{V_plugin_simpletagging}.zip
|
|
Source10: http://sw-guide.de/_mw-uploads/simple-tagging_%{V_plugin_simpletagging}.zip
|
|
|
-Source11: http://www.lesterchan.net/others/downloads/wp-dbmanager%{V_plugin_dbmanager}.zip
|
|
|
|
|
-Source12: http://www.lesterchan.net/others/downloads/wp-pagenavi%{V_plugin_pagenavi}.zip
|
|
|
|
|
-Source13: http://www.lesterchan.net/others/downloads/wp-polls%{V_plugin_polls}.zip
|
|
|
|
|
-Source14: http://www.lesterchan.net/others/downloads/wp-postviews%{V_plugin_postviews}.zip
|
|
|
|
|
-Source15: http://www.lesterchan.net/others/downloads/wp-print%{V_plugin_print}.zip
|
|
|
|
|
-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
|
|
|
|
|
|
|
+Source11: http://lesterchan.net/others/downloads/wp-dbmanager%{V_plugin_dbmanager}.zip
|
|
|
|
|
+Source12: http://lesterchan.net/others/downloads/wp-pagenavi%{V_plugin_pagenavi}.zip
|
|
|
|
|
+Source13: http://lesterchan.net/others/downloads/wp-polls%{V_plugin_polls}.zip
|
|
|
|
|
+Source14: http://lesterchan.net/others/downloads/wp-postviews%{V_plugin_postviews}.zip
|
|
|
|
|
+Source15: http://lesterchan.net/others/downloads/wp-print%{V_plugin_print}.zip
|
|
|
|
|
+Source16: http://lesterchan.net/others/downloads/wp-relativedate%{V_plugin_relativedate}.zip
|
|
|
|
|
+Source17: http://lesterchan.net/others/downloads/wp-stats%{V_plugin_stats}.zip
|
|
|
|
|
+Source18: http://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
|
|
Source19: http://www.sonsofskadi.net/wp-content/upload/af-extended-live-archive-%{V_plugin_ela}.zip
|
|
|
Patch0: wordpress.patch
|
|
Patch0: wordpress.patch
|
|
|
|
|
|
|
@@ -98,49 +98,49 @@ AutoReqProv: no
|
|
|
}
|
|
}
|
|
|
prog wordpress:plugin-dbmanager = {
|
|
prog wordpress:plugin-dbmanager = {
|
|
|
version = %{V_plugin_dbmanager}
|
|
version = %{V_plugin_dbmanager}
|
|
|
- url = http://www.lesterchan.net/wordpress/readme/wp-dbmanager.html
|
|
|
|
|
|
|
+ url = http://lesterchan.net/wordpress/readme/wp-dbmanager.html
|
|
|
regex = WP-DBManager\s+(\d+\.\d+)
|
|
regex = WP-DBManager\s+(\d+\.\d+)
|
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
|
}
|
|
}
|
|
|
prog wordpress:plugin-pagenavi = {
|
|
prog wordpress:plugin-pagenavi = {
|
|
|
version = %{V_plugin_pagenavi}
|
|
version = %{V_plugin_pagenavi}
|
|
|
- url = http://www.lesterchan.net/wordpress/readme/wp-pagenavi.html
|
|
|
|
|
|
|
+ url = http://lesterchan.net/wordpress/readme/wp-pagenavi.html
|
|
|
regex = WP-PageNavi\s+(\d+\.\d+)
|
|
regex = WP-PageNavi\s+(\d+\.\d+)
|
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
|
}
|
|
}
|
|
|
prog wordpress:plugin-polls = {
|
|
prog wordpress:plugin-polls = {
|
|
|
version = %{V_plugin_polls}
|
|
version = %{V_plugin_polls}
|
|
|
- url = http://www.lesterchan.net/wordpress/readme/wp-polls.html
|
|
|
|
|
|
|
+ url = http://lesterchan.net/wordpress/readme/wp-polls.html
|
|
|
regex = WP-Polls\s+(\d+\.\d+)
|
|
regex = WP-Polls\s+(\d+\.\d+)
|
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
|
}
|
|
}
|
|
|
prog wordpress:plugin-postviews = {
|
|
prog wordpress:plugin-postviews = {
|
|
|
version = %{V_plugin_postviews}
|
|
version = %{V_plugin_postviews}
|
|
|
- url = http://www.lesterchan.net/wordpress/readme/wp-postviews.html
|
|
|
|
|
|
|
+ url = http://lesterchan.net/wordpress/readme/wp-postviews.html
|
|
|
regex = WP-PostViews\s+(\d+\.\d+)
|
|
regex = WP-PostViews\s+(\d+\.\d+)
|
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
|
}
|
|
}
|
|
|
prog wordpress:plugin-print = {
|
|
prog wordpress:plugin-print = {
|
|
|
version = %{V_plugin_print}
|
|
version = %{V_plugin_print}
|
|
|
- url = http://www.lesterchan.net/wordpress/readme/wp-print.html
|
|
|
|
|
|
|
+ url = http://lesterchan.net/wordpress/readme/wp-print.html
|
|
|
regex = WP-Print\s+(\d+\.\d+)
|
|
regex = WP-Print\s+(\d+\.\d+)
|
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
|
}
|
|
}
|
|
|
prog wordpress:plugin-relativedate = {
|
|
prog wordpress:plugin-relativedate = {
|
|
|
version = %{V_plugin_relativedate}
|
|
version = %{V_plugin_relativedate}
|
|
|
- url = http://www.lesterchan.net/wordpress/readme/wp-relativedate.html
|
|
|
|
|
|
|
+ url = http://lesterchan.net/wordpress/readme/wp-relativedate.html
|
|
|
regex = WP-RelativeDate\s+(\d+\.\d+)
|
|
regex = WP-RelativeDate\s+(\d+\.\d+)
|
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
|
}
|
|
}
|
|
|
prog wordpress:plugin-stats = {
|
|
prog wordpress:plugin-stats = {
|
|
|
version = %{V_plugin_stats}
|
|
version = %{V_plugin_stats}
|
|
|
- url = http://www.lesterchan.net/wordpress/readme/wp-stats.html
|
|
|
|
|
|
|
+ url = http://lesterchan.net/wordpress/readme/wp-stats.html
|
|
|
regex = WP-Stats\s+(\d+\.\d+)
|
|
regex = WP-Stats\s+(\d+\.\d+)
|
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
|
}
|
|
}
|
|
|
prog wordpress:plugin-ban = {
|
|
prog wordpress:plugin-ban = {
|
|
|
version = %{V_plugin_ban}
|
|
version = %{V_plugin_ban}
|
|
|
- url = http://www.lesterchan.net/wordpress/readme/wp-ban.html
|
|
|
|
|
|
|
+ url = http://lesterchan.net/wordpress/readme/wp-ban.html
|
|
|
regex = WP-Ban\s+(\d+\.\d+)
|
|
regex = WP-Ban\s+(\d+\.\d+)
|
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
transform = "s/^(\d+)\.(\d+)$/$1$2/s, $_"
|
|
|
}
|
|
}
|
|
@@ -162,14 +162,14 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/unzip -q -o -x %{SOURCE17}
|
|
%{l_prefix}/bin/unzip -q -o -x %{SOURCE17}
|
|
|
%{l_prefix}/bin/unzip -q -o -x %{SOURCE18}
|
|
%{l_prefix}/bin/unzip -q -o -x %{SOURCE18}
|
|
|
%{l_prefix}/bin/unzip -q -o -x %{SOURCE19}
|
|
%{l_prefix}/bin/unzip -q -o -x %{SOURCE19}
|
|
|
- %patch -p0 -d wordpress
|
|
|
|
|
|
|
+ %patch -p0
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
# create configuration file
|
|
# create configuration file
|
|
|
%{l_shtool} install -m 644 \
|
|
%{l_shtool} install -m 644 \
|
|
|
-e 's;putyourdbnamehere;wordpress;g' \
|
|
-e 's;putyourdbnamehere;wordpress;g' \
|
|
|
- -e 's;wordpresshere;wordpress;g' \
|
|
|
|
|
- -e 's;yourwordpresshere;wordpress;g' \
|
|
|
|
|
|
|
+ -e 's;usernamehere;wordpress;g' \
|
|
|
|
|
+ -e 's;yourpasswordhere;wordpress;g' \
|
|
|
wordpress/wp-config-sample.php wordpress/wp-config.php
|
|
wordpress/wp-config-sample.php wordpress/wp-config.php
|
|
|
|
|
|
|
|
%install
|
|
%install
|