|
|
@@ -26,13 +26,11 @@
|
|
|
# FIXME: rse: Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory
|
|
|
|
|
|
# package versions
|
|
|
-%define V_rt 3.0.10
|
|
|
+%define V_rt 3.0.11
|
|
|
%define V_log_dispatch 2.04
|
|
|
%define V_html_mason 1.26
|
|
|
%define V_mldbm 2.01
|
|
|
%define V_html_format 2.03
|
|
|
-%define V_locale_maketext_lexicon 0.38
|
|
|
-%define V_locale_maketext_fuzzy 0.02
|
|
|
%define V_regexp_common 2.113
|
|
|
%define V_cache_cache 1.02
|
|
|
|
|
|
@@ -47,7 +45,7 @@ Class: EVAL
|
|
|
Group: Database
|
|
|
License: GPL
|
|
|
Version: %{V_rt}
|
|
|
-Release: 20040427
|
|
|
+Release: 20040526
|
|
|
|
|
|
# package options
|
|
|
%option with_color_primary 336699
|
|
|
@@ -67,23 +65,21 @@ Release: 20040427
|
|
|
%endif
|
|
|
|
|
|
# list of sources
|
|
|
-Source0: http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
|
|
|
-Source1: http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{V_html_mason}.tar.gz
|
|
|
-Source2: http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
|
|
|
-Source3: http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
|
|
|
-Source4: http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
|
|
|
-Source5: http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
|
|
|
-Source6: http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
|
|
|
-Source7: http://www.cpan.org/modules/by-authors/id/D/DC/DCLINTON/Cache-Cache-%{V_cache_cache}.tar.gz
|
|
|
-Source8: http://bestpractical.com/pub/rt/release/rt-%{V_rt}.tar.gz
|
|
|
-Source9: rc.rt
|
|
|
-Source10: rtsetup
|
|
|
-Source11: rtcleanup
|
|
|
-Source12: rtupgrade
|
|
|
-Source13: rtapachectl
|
|
|
-Source14: rtapache.conf
|
|
|
-Source15: config.layout
|
|
|
-Source16: rt-mailgate.sh
|
|
|
+Source0: http://download.bestpractical.com/pub/rt/release/rt-%{V_rt}.tar.gz
|
|
|
+Source1: http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
|
|
|
+Source2: http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{V_html_mason}.tar.gz
|
|
|
+Source3: http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
|
|
|
+Source4: http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
|
|
|
+Source5: http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
|
|
|
+Source6: http://www.cpan.org/modules/by-authors/id/D/DC/DCLINTON/Cache-Cache-%{V_cache_cache}.tar.gz
|
|
|
+Source7: rc.rt
|
|
|
+Source8: rtsetup
|
|
|
+Source9: rtcleanup
|
|
|
+Source10: rtupgrade
|
|
|
+Source11: rtapachectl
|
|
|
+Source12: rtapache.conf
|
|
|
+Source13: config.layout
|
|
|
+Source14: rt-mailgate.sh
|
|
|
Patch0: rt.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -95,7 +91,7 @@ BuildPreReq: perl-dbi, perl-dbix, perl-mail, perl-www
|
|
|
BuildPreReq: apache, apache::with_mod_perl = yes
|
|
|
PreReq: OpenPKG, openpkg >= 20040130, perl
|
|
|
PreReq: perl-sys, perl-util, perl-ds, perl-text, perl-apache
|
|
|
-PreReq: perl-dbi, perl-dbix, perl-mail, perl-www
|
|
|
+PreReq: perl-dbi, perl-dbix, perl-mail, perl-www, perl-locale
|
|
|
PreReq: apache, apache::with_mod_perl = yes
|
|
|
%if "%{with_db_mysql}" == "yes"
|
|
|
PreReq: mysql, perl-dbi::with_dbd_mysql = yes
|
|
|
@@ -139,16 +135,6 @@ AutoReqProv: no
|
|
|
regex = HTML-Mason-(__VER__)\.tar\.gz
|
|
|
transform = "s/^(\\d+\\.\\d\\d)$/${1}00/; $_"
|
|
|
}
|
|
|
- prog rt:locale-maketext-fuzzy = {
|
|
|
- version = %{V_locale_maketext_fuzzy}
|
|
|
- url = http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/
|
|
|
- regex = Locale-Maketext-Fuzzy-(__VER__).tar.gz
|
|
|
- }
|
|
|
- prog rt:locale-maketext-lexicon = {
|
|
|
- version = %{V_locale_maketext_lexicon}
|
|
|
- url = http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/
|
|
|
- regex = Locale-Maketext-Lexicon-(__VER__).tar.gz
|
|
|
- }
|
|
|
prog rt:log-dispatch = {
|
|
|
disabled
|
|
|
comment = "rse: 2.05 and higher have too nasty dependencies like YAML, Module::Build, etc"
|
|
|
@@ -176,8 +162,6 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 4
|
|
|
%setup -q -T -D -a 5
|
|
|
%setup -q -T -D -a 6
|
|
|
- %setup -q -T -D -a 7
|
|
|
- %setup -q -T -D -a 8
|
|
|
|
|
|
# patch RT distribution
|
|
|
cd rt-%{V_rt}
|
|
|
@@ -246,8 +230,6 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d HTML-Mason-%{V_html_mason} -l %{l_prefix}/libexec/rt configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d MLDBM-%{V_mldbm} -l %{l_prefix}/libexec/rt configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d HTML-Format-%{V_html_format} -l %{l_prefix}/libexec/rt configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon} -l %{l_prefix}/libexec/rt configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy} -l %{l_prefix}/libexec/rt configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
|
|
|
|
# create installation file hierarchy
|