|
|
@@ -58,6 +58,7 @@ PreReq: apache-php::with_pcre = yes
|
|
|
PreReq: apache-php::with_xml = yes
|
|
|
PreReq: apache-php::with_gd = yes
|
|
|
PreReq: apache-php::with_mm = yes
|
|
|
+PreReq: MTA
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -92,11 +93,17 @@ AutoReqProv: no
|
|
|
mv "libraries/simplepie/compatibility_test/COMPATIBILITY README.txt" \
|
|
|
"libraries/simplepie/compatibility_test/COMPATIBILITY-README.txt"
|
|
|
|
|
|
+ # adjust default configuration
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;' \
|
|
|
+ installation/template/tmpl/configuration.html
|
|
|
+
|
|
|
# install main program files
|
|
|
find . -name ".#*" -print | xargs rm -f
|
|
|
find . -name "*.orig" -print | xargs rm -f
|
|
|
cp -rp * $RPM_BUILD_ROOT%{l_prefix}/lib/joomla/runtime/
|
|
|
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)
|
|
|
@@ -148,8 +155,13 @@ AutoReqProv: no
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/sbin/joomla-setup install"
|
|
|
echo "3. start the Joomla! Apache webserver:"
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/bin/openpkg rc joomla start"
|
|
|
- echo "4. setup Joomla! through the Web installer:"
|
|
|
+ echo "4. setup Joomla! through the Web installer..."
|
|
|
echo " http://localhost:8080/joomla/"
|
|
|
+ echo " ..and on page \"4: Database\" use:"
|
|
|
+ echo " - Host Name: \"localhost\""
|
|
|
+ echo " - User Name: \"joomla\""
|
|
|
+ echo " - Password: \"joomla\""
|
|
|
+ echo " - Database Name: \"joomla\""
|
|
|
echo "5. fixup installation afterwards:"
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/sbin/joomla-setup cleanup"
|
|
|
echo "6. access Joomla! via:"
|