# HG changeset patch # User Michael Schloh von Bennewitz # Date 1346171385 -7200 # Node ID 94aa9476a1c17cc2ad08eee2c3ca97fbe7e7a491 # Parent ccd669318bc2387786571ce8258c58102dd9bd64 Update version, correct URIs, and correct typical german english mistakes. diff -r ccd669318bc2 -r 94aa9476a1c1 joomla/joomla.spec --- a/joomla/joomla.spec Tue Aug 28 18:29:40 2012 +0200 +++ b/joomla/joomla.spec Tue Aug 28 18:29:45 2012 +0200 @@ -22,9 +22,9 @@ ## # package version -%define V_dist 1.7.3 -%define V_opkg 1.7.3 -%define V_subdir 6/9/6/69674 +%define V_dist 2.5.6 +%define V_opkg 2.5.6 +%define V_subdir 17173/74756 # package information Name: joomla @@ -37,16 +37,16 @@ Group: CMS License: GPL/LGPL Version: %{V_opkg} -Release: 20111211 +Release: 20120800 # list of sources -Source0: http://downloads.joomlacode.org/frsrelease/%{V_subdir}/Joomla_%{V_dist}-Stable-Full_Package.zip +Source0: http://joomlacode.org/gf/download/frsrelease/%{V_subdir}/Joomla_%{V_dist}-Stable-Full_Package.tar.bz2 Source1: joomla-setup.sh Source2: joomla-apache.conf Source3: rc.joomla # build information -BuildPreReq: OpenPKG, openpkg >= 20100101, infozip +BuildPreReq: OpenPKG, openpkg >= 20100101 PreReq: OpenPKG, openpkg >= 20100101 PreReq: apache PreReq: apache-php @@ -60,7 +60,16 @@ PreReq: MTA %description - Joomla! is a popular Web-based Content Management System (CMS). + Joomla is a web based content management system (CMS) for publishing + content on the internet and intranets. It features a model view + controller (MVC) Web application framework and is useful for easily + creating and building a websites and web enabled applications. + + Joomla is written using object oriented programming techniques + and software design patterns, stores data in a MySQL database, + and includes features such as page caching, RSS feeds, printable + versions of pages, news flashes, blogs, polls, search, and support + for language internationalization. %track prog joomla = { @@ -75,8 +84,7 @@ } %prep - %setup -q -T -c - unzip -q -x %{SOURCE0} + %setup -q -T -c -a 0 %build @@ -93,8 +101,11 @@ # adjust default configuration %{l_shtool} subst \ - -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;' \ - installation/template/tmpl/configuration.html + -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;g' \ + libraries/phpmailer/phpmailer.php \ + installation/models/configuration.php \ + installation/configuration.php-dist \ + administrator/components/com_config/models/forms/application.xml # install main program files find . -name ".#*" -print | xargs rm -f @@ -103,12 +114,12 @@ rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/joomla/runtime/configuration.php-dist rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/joomla/runtime/htaccess.txt - # post-adjustment: move risky installation area out of runtime area - # (will be dynmically linked in again later) + # postadjustment: move risky installation area out of runtime area + # which will be dynmically linked in again later mv $RPM_BUILD_ROOT%{l_prefix}/lib/joomla/runtime/installation \ $RPM_BUILD_ROOT%{l_prefix}/lib/joomla/installation - # install run-command script + # install runcommand script %{l_shtool} install -c -m 755 %{l_value -s -a} \ -e 's;@l_path@;%{l_build_path};' \ %{SOURCE rc.joomla} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ @@ -182,7 +193,7 @@ # remove database $RPM_INSTALL_PREFIX/sbin/joomla-setup uninstall >/dev/null 2>&1 || true - # remove run-time files + # remove runtime files rm -f $RPM_INSTALL_PREFIX/var/joomla/db/* >/dev/null 2>&1 || true rm -f $RPM_INSTALL_PREFIX/var/joomla/db/*/* >/dev/null 2>&1 || true rm -f $RPM_INSTALL_PREFIX/var/joomla/run/* >/dev/null 2>&1 || true