File typo3-cms-4_7.spec of Package typo3-cms-4_7

# spec file for package typo3-cms-4_7
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Thomas Worm <>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           typo3-cms-4_7
Summary:        Typo3 CMS v4.7
License:        GPL-2.0+
Group:          Productivity/Networking/Web/Frontends
Version:        4.7.15
Release:        0
Source0:        typo3-%{version}.tar.bz2
Source100:      typo3-cms-4_7-rpmlintrc
Patch0:         typo3-4.7.7-fixes.patch
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       apache2
Requires:       php5 >= 5.3
Requires:       php5-iconv
Requires:       php5-mbstring
Requires:       php5-mysql
Requires:       php5-zlib
Requires:       typo3-manager
Recommends:     php5-gd
Recommends:     GraphicsMagick
Provides:       typo3-cms-src

# Renamed with version 4.7.5 from typo3-4_7 to typo3-cms-4_7
Obsoletes:      typo3-4_7

%define underscored_version %(echo -n %{version} | sed 's/\\./_/g')

Enterprise Content Management System, Version %{version}

%setup -q -n typo3-%{version} -c
pushd typo3-%{version}
%patch0 -p1
rm typo3/sysext/cms/tslib/class.tslib_content.php.orig



mkdir -p %{buildroot}%{_datadir}/typo3-cms-%{underscored_version}
cp -pr typo3-%{version}/* %{buildroot}%{_datadir}/typo3-cms-%{underscored_version}/
ln -s typo3-cms-%{underscored_version} %{buildroot}%{_datadir}/%{name}


openSUSE Build Service is sponsored by