File typo3-manager.spec of Package typo3-manager
#
# spec file for package typo3-manager
#
# 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-manager
Summary: Typo3 Manager
License: GPL-2.0+
Group: Productivity/Networking/Web/Frontends
Version: 1.0.1
Release: 0
Source0: typo3-manager.php
Source1: instances.phpdat
Source50: README.SuSE
Source51: GPL.txt
Url: http://www.typo3.org/
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: apache2
Requires: php5
%description
Typo3 Manager is a management utility for instances of Typo3 products.
%prep
%{__cp} %{S:0} .
%{__cp} %{S:1} .
%{__cp} %{S:50} .
%{__cp} %{S:51} .
%build
%check
%install
mkdir -p %{buildroot}%{_bindir}
cp typo3-manager.php %{buildroot}%{_bindir}/typo3-manager.php
mkdir -p %{buildroot}%{_localstatedir}/lib/typo3
cp instances.phpdat %{buildroot}%{_localstatedir}/lib/typo3/instances.phpdat
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/typo3-manager.php
%{_localstatedir}/lib/typo3
%doc README.SuSE
%doc GPL.txt
%changelog