From 366e32c5d7053aa3b4db54755d97b249b220b5aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 10 Apr 2006 07:55:31 +0000 Subject: [PATCH] - initial submission Changed files: ZendFramework.spec -> 1.1 --- ZendFramework.spec | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 ZendFramework.spec diff --git a/ZendFramework.spec b/ZendFramework.spec new file mode 100644 index 0000000..05d0cdb --- /dev/null +++ b/ZendFramework.spec @@ -0,0 +1,49 @@ +Summary: Zend Framework +Name: ZendFramework +Version: 0.1.2 +Release: 0.1 +License: Zend Framework License, 1.0, (distributable, see LICENSE) +Group: Development/Languages/PHP +Source0: http://framework.zend.com/releases/%{name}-%{version}.tar.gz +# Source0-md5: 68a2d2673abaf34d6db7facb79cef670 +URL: http://framework.zend.com/ +Requires: php-common >= 4:5.0.0 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _appdir %{_datadir}/%{name} + +%description +Zend Framework is a high quality and open source framework for +developing Web Applications and Web Services. + +Built in the true PHP spirit, the Zend Framework delivers ease-of-use +and powerful functionality. It provides solutions for building modern, +robust, and secure websites. + +%prep +%setup -q + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_appdir}} +cp -a demos/Zend/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +# library should be in include_path if used +cp -a library $RPM_BUILD_ROOT%{_appdir} + +# The /incubator directory contains recent contributions that may +# eventually be moved to the /library directory. These are considered +# highly unstable. +cp -a incubator $RPM_BUILD_ROOT%{_appdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc LICENSE.txt README.txt NEWS.txt +# TODO: subpackage docs +%doc documentation/* +%{_appdir} +%{_examplesdir}/%{name}-%{version} -- 2.44.0