head 1.17;
access;
symbols;
locks; strict;
comment @-- @;
1.17
date 2009.12.01.07.44.38; author rse; state Exp;
branches;
next 1.16;
commitid jy2iqLlKjMNUWDdu;
1.16
date 2009.10.22.20.44.25; author rse; state Exp;
branches;
next 1.15;
commitid gkFrGBWHmz29yz8u;
1.15
date 2009.09.29.21.16.45; author rse; state Exp;
branches;
next 1.14;
commitid mvJC5kBtb694tC5u;
1.14
date 2009.07.05.07.32.13; author rse; state Exp;
branches;
next 1.13;
commitid mbbQy7BY9dTAFuUt;
1.13
date 2009.07.04.17.25.03; author rse; state Exp;
branches;
next 1.12;
commitid 97mGMgFkgNHXYpUt;
1.12
date 2009.04.18.13.17.19; author rse; state Exp;
branches;
next 1.11;
commitid 4pHXU27WTIGCZuKt;
1.11
date 2009.02.11.22.30.28; author rse; state Exp;
branches;
next 1.10;
commitid W2jsDRGmn4dJg4Ct;
1.10
date 2009.01.24.19.51.02; author rse; state Exp;
branches;
next 1.9;
commitid FrdjTplGWy4UXJzt;
1.9
date 2009.01.21.07.38.07; author rse; state Exp;
branches;
next 1.8;
commitid boXLPMutUYGr0izt;
1.8
date 2008.11.11.21.21.18; author rse; state Exp;
branches;
next 1.7;
commitid uBZEfkXCTmkkQeqt;
1.7
date 2008.10.06.17.25.45; author rse; state Exp;
branches;
next 1.6;
commitid 4NEvbsLOtjFhHAlt;
1.6
date 2008.06.11.17.54.13; author rse; state Exp;
branches;
next 1.5;
commitid e6QruMBQNisdCy6t;
1.5
date 2008.04.23.17.24.57; author rse; state Exp;
branches;
next 1.4;
commitid nlUi4jm4M2mP1g0t;
1.4
date 2008.03.04.06.24.09; author rse; state Exp;
branches;
next 1.3;
commitid TmKEkQhTUCmMYLTs;
1.3
date 2008.01.01.15.06.22; author rse; state Exp;
branches;
next 1.2;
commitid B8esaHJHoduuKILs;
1.2
date 2007.12.14.16.12.28; author cs; state Exp;
branches;
next 1.1;
commitid HKDOiOplD6C1QpJs;
1.1
date 2007.12.13.14.49.56; author rse; state Exp;
branches;
next ;
commitid 5hxAqSdERZPHphJs;
desc
@@
1.17
log
@upgrading package: typo3 4.2.10 -> 4.3.0
@
text
@##
## typo3.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: typo3
Summary: Enterprise Content Management System (CMS)
URL: http://typo3.com/
Vendor: TYPO3 Association et al.
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: CMS
License: GPL
Version: 4.3.0
Release: 20091201
# list of sources
Source0: http://switch.dl.sourceforge.net/typo3/typo3_src-%{version}.tar.gz
Source1: http://switch.dl.sourceforge.net/typo3/dummy-%{version}.tar.gz
Source2: rc.typo3
Source3: typo3-apache.conf
Source4: typo3-setup.sh
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823, cpio
PreReq: OpenPKG, openpkg >= 20060823
PreReq: apache
PreReq: apache-php
PreReq: apache-php::with_mysql = yes
PreReq: apache-php::with_sendmail = yes
PreReq: apache-php::with_gd = yes
PreReq: apache-php::with_freetype = yes
PreReq: apache-php::with_mm = yes
PreReq: apache-php::with_xml = yes
AutoReq: no
AutoReqProv: no
%description
TYPO3 is a free Open Source content management system for enterprise
purposes on the Web and in intranets. It offers full flexibility
and extendability while featuring an accomplished set of ready-made
interfaces, functions and modules.
%track
prog typo3:typo3 = {
version = %{version}
url = http://typo3.org/download/packages/
regex = typo3_src-(\d+\.\d+\.\d+)\.tar\.gz
}
prog typo3:dummy = {
version = %{version}
url = http://typo3.org/download/packages/
regex = dummy-(\d+\.\d+\.\d+)\.tar\.gz
}
%prep
%setup -q -n typo3_src-%{version}
%build
%{l_shtool} subst \
-e 's;/usr/X11R6/bin/;%{l_prefix}/bin/;' \
-e 's;/usr/bin/;%{l_prefix}/bin/;' \
t3lib/config_default.php
%install
# create installation hierarchy
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/sbin \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
$RPM_BUILD_ROOT%{l_prefix}/etc/typo3 \
$RPM_BUILD_ROOT%{l_prefix}/lib/typo3 \
$RPM_BUILD_ROOT%{l_prefix}/var/typo3/cms \
$RPM_BUILD_ROOT%{l_prefix}/var/typo3/run \
$RPM_BUILD_ROOT%{l_prefix}/var/typo3/log
# install program code
(find . -depth -print | cpio -o 2>/dev/null) |\
(cd $RPM_BUILD_ROOT%{l_prefix}/lib/typo3; cpio -idmu) || exit $?
# install skeleton CMS
%{l_shtool} install -c -m 644 \
%{SOURCE dummy-%{version}.tar.gz} \
$RPM_BUILD_ROOT%{l_prefix}/lib/typo3/
# install MySQL database setup script
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE typo3-setup.sh} $RPM_BUILD_ROOT%{l_prefix}/sbin/typo3-setup
# install run-command script
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE rc.typo3} \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
# install Apache server configuration
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE typo3-apache.conf} \
$RPM_BUILD_ROOT%{l_prefix}/etc/typo3/
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/typo3/typo3-apache.conf' \
'%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/typo3/*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ $1 -eq 1 ]; then
# make sure a default CMS named "typo3" is available
if [ ! -d $RPM_INSTALL_PREFIX/var/typo3/cms/typo3 ]; then
( echo "Creating default CMS named \"typo3\""
) | %{l_rpmtool} msg -b -t notice
# unpack skeleton CMS
( cd $RPM_INSTALL_PREFIX/var/typo3/cms || exit $?
%{l_tar} xf $RPM_INSTALL_PREFIX/lib/typo3/dummy-%{version}.tar.gz || exit $?
mv dummy-%{version} typo3 || exit $?
) || exit $?
# link default CMS to program code
rm -f $RPM_INSTALL_PREFIX/var/typo3/cms/typo3/typo3_src
%{l_shtool} mkln -s \
$RPM_INSTALL_PREFIX/lib/typo3 \
$RPM_INSTALL_PREFIX/var/typo3/cms/typo3/typo3_src
# create hint file for TYPO3 1-2-3 installer
touch $RPM_INSTALL_PREFIX/var/typo3/cms/typo3/typo3conf/ENABLE_INSTALL_TOOL
# fixate file ownerships
chown -R %{l_rusr}:%{l_rgrp} \
$RPM_INSTALL_PREFIX/var/typo3/cms/typo3 >/dev/null 2>&1 || true
fi
# display final hints on initial installation
( echo "1. To complete this installation of TYPO3 please start MySQL and"
echo " initialize the TYPO3 database like this:"
echo " \$ $RPM_INSTALL_PREFIX/bin/openpkg rc mysql start"
echo " \$ $RPM_INSTALL_PREFIX/sbin/typo3-setup install"
echo ""
echo "2. By default, TYPO3 runs its own Apache server on IPv4 address"
echo " 127.0.0.1, TCP port 8082. Please change this by editing the"
echo " \"Listen 127.0.0.1:8082\" directive in the configuration file"
echo " $RPM_INSTALL_PREFIX/etc/typo3/typo3-apache.conf"
echo ""
echo "3. After this postinstallation, start TYPO3 by running"
echo " \$ $RPM_INSTALL_PREFIX/bin/openpkg rc typo3 start"
echo " and initialize the TYPO3 database by connecting to:"
echo " http://127.0.0.1:8082/typo3/"
echo " Now configure TYPO3 for access to the database \"typo3\""
echo " with the login \"typo3\" and password \"typo3\"."
echo ""
echo "4. Now you can access TYPO3 at the following two URLs:"
echo " http://127.0.0.1:8082/typo3/ (website)"
echo " http://127.0.0.1:8082/typo3/typo3/ (administration)"
echo " Login with username \"admin\" and password \"password\""
echo " at the administration interface."
) | %{l_rpmtool} msg -b -t notice
fi
exit 0
%preun
if [ $1 -eq 0 ]; then
# before erase, stop service and remove log files
%{l_rc} typo3 stop 2>/dev/null
$RPM_INSTALL_PREFIX/sbin/typo3-setup uninstall >/dev/null 2>&1 || true
rm -rf $RPM_INSTALL_PREFIX/var/typo3/cms/* >/dev/null 2>&1 || true
rm -f $RPM_INSTALL_PREFIX/var/typo3/log/* >/dev/null 2>&1 || true
rm -f $RPM_INSTALL_PREFIX/var/typo3/run/* >/dev/null 2>&1 || true
fi
exit 0
@
1.16
log
@upgrading package: typo3 4.2.9 -> 4.2.10
@
text
@d34 2
a35 2
Version: 4.2.10
Release: 20091022
@
1.15
log
@upgrading package: typo3 4.2.8 -> 4.2.9
@
text
@d34 2
a35 2
Version: 4.2.9
Release: 20090929
@
1.14
log
@PCRE now always present in PHP
@
text
@d34 2
a35 2
Version: 4.2.8
Release: 20090705
@
1.13
log
@upgrading package: typo3 4.2.6 -> 4.2.8
@
text
@d35 1
a35 1
Release: 20090704
a51 1
PreReq: apache-php::with_pcre = yes
@
1.12
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version: 4.2.6
Release: 20090211
@
1.11
log
@upgrading package: typo3 4.2.5 -> 4.2.6
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.10
log
@upgrading package: typo3 4.2.4 -> 4.2.5
@
text
@d34 2
a35 2
Version: 4.2.5
Release: 20090124
@
1.9
log
@upgrading package: typo3 4.2.3 -> 4.2.4
@
text
@d34 2
a35 2
Version: 4.2.4
Release: 20090121
@
1.8
log
@upgrading package: typo3 4.2.2 -> 4.2.3
@
text
@d34 2
a35 2
Version: 4.2.3
Release: 20081111
@
1.7
log
@upgrading package: typo3 4.2.1 -> 4.2.2
@
text
@d34 2
a35 2
Version: 4.2.2
Release: 20081006
@
1.6
log
@upgrading package: typo3 4.2.0 -> 4.2.1
@
text
@d34 2
a35 2
Version: 4.2.1
Release: 20080611
@
1.5
log
@upgrading package: typo3 4.1.6 -> 4.2.0
@
text
@d34 2
a35 2
Version: 4.2.0
Release: 20080423
@
1.4
log
@upgrading package: typo3 4.1.5 -> 4.1.6
@
text
@d34 2
a35 2
Version: 4.1.6
Release: 20080304
@
1.3
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version: 4.1.5
Release: 20080101
@
1.2
log
@upgrading package: typo3 4.1.4 -> 4.1.5
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20071214
@
1.1
log
@new package: typo3 4.1.4 (Enterprise Content Management System (CMS))
@
text
@d35 2
a36 2
Version: 4.1.4
Release: 20071213
d39 2
a40 2
Source0: http://typo3.org/fileadmin/dl/packages/typo3_src-%{version}.tar.gz
Source1: http://typo3.org/fileadmin/dl/packages/dummy-%{version}.tar.gz
@