|
|
@@ -72,6 +72,7 @@
|
|
|
%define V_kwiki_theme_klassik 0.12
|
|
|
%define V_kwiki_timezone 0.11
|
|
|
%define V_kwiki_users_remote 0.02
|
|
|
+%define V_kwiki_users_cookie 0.01
|
|
|
%define V_kwiki_pageprivacy 0.10
|
|
|
%define V_kwiki_navigationtoolbar 0.02
|
|
|
%define V_kwiki_configblocks 0.01
|
|
|
@@ -81,6 +82,9 @@
|
|
|
%define V_kwiki_theme_tabnav 0.01
|
|
|
%define V_kwiki_theme_bluepole 1.00
|
|
|
%define V_kwiki_theme_greenhouse 0.03
|
|
|
+%define V_kwiki_theme_cpb 0.10
|
|
|
+%define V_kwiki_theme_justcontent 0.10
|
|
|
+%define V_kwiki_theme_selectable 0.10
|
|
|
%define V_kwiki_foreignlinkglyphs 0.01
|
|
|
%define V_kwiki_backlinks 0.10
|
|
|
%define V_kwiki_fetchrss 0.08
|
|
|
@@ -98,6 +102,11 @@
|
|
|
%define V_kwiki_raw 0.02
|
|
|
%define V_kwiki_trackback 0.01
|
|
|
%define V_kwiki_typekey 0.05
|
|
|
+%define V_kwiki_keywords 0.14
|
|
|
+%define V_kwiki_blog 0.10
|
|
|
+%define V_kwiki_listpages 0.11
|
|
|
+%define V_kwiki_printerfriendly 0.12
|
|
|
+%define V_kwiki_username_cookie 0.01
|
|
|
|
|
|
# package information
|
|
|
Name: kwiki
|
|
|
@@ -110,7 +119,7 @@ Class: PLUS
|
|
|
Group: Web
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_kwiki}
|
|
|
-Release: 20050817
|
|
|
+Release: 20050903
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Spoon-%{V_spoon}.tar.gz
|
|
|
@@ -185,6 +194,15 @@ Source68: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Raw-%{V_kwiki_ra
|
|
|
Source69: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Trackback-%{V_kwiki_trackback}.tar.gz
|
|
|
Source70: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-TypeKey-%{V_kwiki_typekey}.tar.gz
|
|
|
Source71: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Theme-GreenHouse-%{V_kwiki_theme_greenhouse}.tar.gz
|
|
|
+Source72: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Users-Cookie-%{V_kwiki_users_cookie}.tar.gz
|
|
|
+Source73: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Theme-CPB-%{V_kwiki_theme_cpb}.tar.gz
|
|
|
+Source74: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Theme-JustContent-%{V_kwiki_theme_justcontent}.tar.gz
|
|
|
+Source75: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Theme-Selectable-%{V_kwiki_theme_selectable}.tar.gz
|
|
|
+Source76: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Keywords-%{V_kwiki_keywords}.tar.gz
|
|
|
+Source77: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Blog-%{V_kwiki_blog}.tar.gz
|
|
|
+Source78: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-ListPages-%{V_kwiki_listpages}.tar.gz
|
|
|
+Source79: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-PrinterFriendly-%{V_kwiki_printerfriendly}.tar.gz
|
|
|
+Source80: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-UserName-Cookie-%{V_kwiki_username_cookie}.tar.gz
|
|
|
Source100: kwiki-apache.conf
|
|
|
Source101: kwiki-plugins.txt
|
|
|
Source102: kwiki-rules.wiki
|
|
|
@@ -443,6 +461,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
regex = Kwiki-Users-Remote-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog kwiki:Kwiki-Users-Cookie = {
|
|
|
+ version = %{V_kwiki_users_cookie}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
+ regex = Kwiki-Users-Cookie-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
prog kwiki:Kwiki-PagePrivacy = {
|
|
|
version = %{V_kwiki_pageprivacy}
|
|
|
url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
@@ -468,6 +491,21 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
regex = Kwiki-Theme-TabNav-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog kwiki:Kwiki-Theme-CPB = {
|
|
|
+ version = %{V_kwiki_theme_cpb}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
+ regex = Kwiki-Theme-CPB-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog kwiki:Kwiki-Theme-JustContent = {
|
|
|
+ version = %{V_kwiki_theme_justcontent}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
+ regex = Kwiki-Theme-JustContent-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog kwiki:Kwiki-Theme-Selectable = {
|
|
|
+ version = %{V_kwiki_theme_selectable}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
+ regex = Kwiki-Theme-Selectable-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
prog kwiki:Kwiki-ConfigBlocks = {
|
|
|
version = %{V_kwiki_configblocks}
|
|
|
url = http://www.cpan.org/authors/id/G/GU/GUGOD/
|
|
|
@@ -573,6 +611,31 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
regex = Kwiki-TypeKey-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog kwiki:Kwiki-Keywords = {
|
|
|
+ version = %{V_kwiki_keywords}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
+ regex = Kwiki-Keywords-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog kwiki:Kwiki-Blog = {
|
|
|
+ version = %{V_kwiki_blog}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
+ regex = Kwiki-Blog-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog kwiki:Kwiki-ListPages = {
|
|
|
+ version = %{V_kwiki_listpages}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
+ regex = Kwiki-ListPages-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog kwiki:Kwiki-PrinterFriendly = {
|
|
|
+ version = %{V_kwiki_printerfriendly}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
+ regex = Kwiki-PrinterFriendly-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog kwiki:Kwiki-UserName-Cookie = {
|
|
|
+ version = %{V_kwiki_username_cookie}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Kwiki/
|
|
|
+ regex = Kwiki-UserName-Cookie-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -647,6 +710,15 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 69
|
|
|
%setup -q -T -D -a 70
|
|
|
%setup -q -T -D -a 71
|
|
|
+ %setup -q -T -D -a 72
|
|
|
+ %setup -q -T -D -a 73
|
|
|
+ %setup -q -T -D -a 74
|
|
|
+ %setup -q -T -D -a 75
|
|
|
+ %setup -q -T -D -a 76
|
|
|
+ %setup -q -T -D -a 77
|
|
|
+ %setup -q -T -D -a 78
|
|
|
+ %setup -q -T -D -a 79
|
|
|
+ %setup -q -T -D -a 80
|
|
|
sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
|
|
|
|
|
|
%build
|
|
|
@@ -729,6 +801,15 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE69} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE70} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE71} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE72} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE73} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE74} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE75} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE76} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE77} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE78} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE79} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE80} configure build install
|
|
|
|
|
|
# manually install OpenPKG Kwiki theme
|
|
|
mkdir Kwiki-Theme-OpenPKG
|
|
|
@@ -803,7 +884,7 @@ AutoReqProv: no
|
|
|
if [ -f $apacheconf ]; then
|
|
|
( echo "Include $RPM_INSTALL_PREFIX/etc/kwiki/kwiki-apache.conf"
|
|
|
) | $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
|
|
|
- -a -i "$RPM_INSTALL_PREFIX:kwiki" $apacheconf
|
|
|
+ -a -i "$RPM_INSTALL_PREFIX:kwiki" $apacheconf
|
|
|
fi
|
|
|
|
|
|
# create initial Kwiki
|