File typo3-flow-1_1.spec of Package typo3-flow-1_1
#
# spec file for package typo3-flow-1_1
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Thomas Worm <Thomas.Worm@DATEV.de>
#
# 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 http://bugs.opensuse.org/
#
Name: typo3-flow-1_1
Version: 1.1.0
Release: 0
Summary: Typo3 FLOW Enterprise Web Application Framework
License: LGPL-3.0+
Group: Productivity/Networking/Web/Utilities
Url: http://flow3.typo3.org/
Source0: flow3-%{version}.tar.bz2
Source1: typo3-flow-1_1-init
Source50: LGPL-3.0.txt
Source99: README.SuSE
Requires: php5 >= 5.3.2
Requires: php5-mbstring
Requires: php5-pdo
Requires: php5-tokenizer
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: unzip
# Package has been renamed from flow3-1 to typo3-flow-1_1
Provides: flow3-1 = %version
Obsoletes: flow3-1 <= 1.1
%define underscored_version %(echo -n %{version} | sed 's/\\./_/g')
%description
Typo3 FLOW is a web application platform enabling developers creating excell ent web solutions and bring back the joy of coding.
It gives you fast results. It is a reliable foundation for complex applications. And it is backed by one of the biggest PHP communities.
Typo3 FLOW is not a pick'n'mix store of motley components. It's a framework which helps you with the infrastructure of your application. Object Lifecycle Management, Package Management, Resource Management and Security are on it's home field. Real business logic is left to custom packages.
Whenever possible, Typo3 FLOW analyzes your code for choosing the right configuration for you. Clear conventions and an intuitive API let you concentrate on the essential parts of your application. After all you want to write PHP and not XML, YAML, INI, don't you?
Well-proven concepts from various frameworks, applications and programming languages were considered for the design of Typo3 FLOW. Techniques like Dependency Injection and Aspect-Oriented Programming open up new ways of developing PHP applications. But instead of just copying other solutions, the concepts have been carefully adapted to fit the "Typo3 FLOW feeling".
Typo3 FLOW was created as the foundation of the next generation Typo3 CMS called Typo3 neos. Applications based on Typo3 FLOW can be used as a plugin in TYPO3 or serve as standalone solutions, completely independent from the CMS. By using FLOW3 as an application platform, you get a CMS on top!
%prep
%setup -q -n flow3-%{version} -c
%{__cp} %{S:1} .
%{__cp} %{S:50} .
%{__cp} %{S:99} .
%build
%check
%install
mkdir -p %{buildroot}%{_datadir}/flow3-%{underscored_version}
cp -pr flow3-%{version}/* %{buildroot}%{_datadir}/flow3-%{underscored_version}/
ln -s flow3-%{underscored_version} %{buildroot}%{_datadir}/%{name}
mkdir -p %{buildroot}%{_bindir}
cp typo3-flow-1_1-init %{buildroot}%{_bindir}/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,755)
%{_datadir}/flow3-%{underscored_version}
%{_datadir}/%{name}
%attr(755,root,root) %{_bindir}/typo3-flow-1_1-init
%doc README.SuSE
%doc LGPL-3.0.txt
%changelog