1.1 --- a/joomla/joomla.spec Tue Aug 28 18:29:40 2012 +0200 1.2 +++ b/joomla/joomla.spec Tue Aug 28 18:29:45 2012 +0200 1.3 @@ -22,9 +22,9 @@ 1.4 ## 1.5 1.6 # package version 1.7 -%define V_dist 1.7.3 1.8 -%define V_opkg 1.7.3 1.9 -%define V_subdir 6/9/6/69674 1.10 +%define V_dist 2.5.6 1.11 +%define V_opkg 2.5.6 1.12 +%define V_subdir 17173/74756 1.13 1.14 # package information 1.15 Name: joomla 1.16 @@ -37,16 +37,16 @@ 1.17 Group: CMS 1.18 License: GPL/LGPL 1.19 Version: %{V_opkg} 1.20 -Release: 20111211 1.21 +Release: 20120800 1.22 1.23 # list of sources 1.24 -Source0: http://downloads.joomlacode.org/frsrelease/%{V_subdir}/Joomla_%{V_dist}-Stable-Full_Package.zip 1.25 +Source0: http://joomlacode.org/gf/download/frsrelease/%{V_subdir}/Joomla_%{V_dist}-Stable-Full_Package.tar.bz2 1.26 Source1: joomla-setup.sh 1.27 Source2: joomla-apache.conf 1.28 Source3: rc.joomla 1.29 1.30 # build information 1.31 -BuildPreReq: OpenPKG, openpkg >= 20100101, infozip 1.32 +BuildPreReq: OpenPKG, openpkg >= 20100101 1.33 PreReq: OpenPKG, openpkg >= 20100101 1.34 PreReq: apache 1.35 PreReq: apache-php 1.36 @@ -60,7 +60,16 @@ 1.37 PreReq: MTA 1.38 1.39 %description 1.40 - Joomla! is a popular Web-based Content Management System (CMS). 1.41 + Joomla is a web based content management system (CMS) for publishing 1.42 + content on the internet and intranets. It features a model view 1.43 + controller (MVC) Web application framework and is useful for easily 1.44 + creating and building a websites and web enabled applications. 1.45 + 1.46 + Joomla is written using object oriented programming techniques 1.47 + and software design patterns, stores data in a MySQL database, 1.48 + and includes features such as page caching, RSS feeds, printable 1.49 + versions of pages, news flashes, blogs, polls, search, and support 1.50 + for language internationalization. 1.51 1.52 %track 1.53 prog joomla = { 1.54 @@ -75,8 +84,7 @@ 1.55 } 1.56 1.57 %prep 1.58 - %setup -q -T -c 1.59 - unzip -q -x %{SOURCE0} 1.60 + %setup -q -T -c -a 0 1.61 1.62 %build 1.63 1.64 @@ -93,8 +101,11 @@ 1.65 1.66 # adjust default configuration 1.67 %{l_shtool} subst \ 1.68 - -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;' \ 1.69 - installation/template/tmpl/configuration.html 1.70 + -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;g' \ 1.71 + libraries/phpmailer/phpmailer.php \ 1.72 + installation/models/configuration.php \ 1.73 + installation/configuration.php-dist \ 1.74 + administrator/components/com_config/models/forms/application.xml 1.75 1.76 # install main program files 1.77 find . -name ".#*" -print | xargs rm -f 1.78 @@ -103,12 +114,12 @@ 1.79 rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/joomla/runtime/configuration.php-dist 1.80 rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/joomla/runtime/htaccess.txt 1.81 1.82 - # post-adjustment: move risky installation area out of runtime area 1.83 - # (will be dynmically linked in again later) 1.84 + # postadjustment: move risky installation area out of runtime area 1.85 + # which will be dynmically linked in again later 1.86 mv $RPM_BUILD_ROOT%{l_prefix}/lib/joomla/runtime/installation \ 1.87 $RPM_BUILD_ROOT%{l_prefix}/lib/joomla/installation 1.88 1.89 - # install run-command script 1.90 + # install runcommand script 1.91 %{l_shtool} install -c -m 755 %{l_value -s -a} \ 1.92 -e 's;@l_path@;%{l_build_path};' \ 1.93 %{SOURCE rc.joomla} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ 1.94 @@ -182,7 +193,7 @@ 1.95 # remove database 1.96 $RPM_INSTALL_PREFIX/sbin/joomla-setup uninstall >/dev/null 2>&1 || true 1.97 1.98 - # remove run-time files 1.99 + # remove runtime files 1.100 rm -f $RPM_INSTALL_PREFIX/var/joomla/db/* >/dev/null 2>&1 || true 1.101 rm -f $RPM_INSTALL_PREFIX/var/joomla/db/*/* >/dev/null 2>&1 || true 1.102 rm -f $RPM_INSTALL_PREFIX/var/joomla/run/* >/dev/null 2>&1 || true