]>
Commit | Line | Data |
---|---|---|
366e32c5 ER |
1 | Summary: Zend Framework |
2 | Name: ZendFramework | |
3 | Version: 0.1.2 | |
4 | Release: 0.1 | |
5 | License: Zend Framework License, 1.0, (distributable, see LICENSE) | |
6 | Group: Development/Languages/PHP | |
7 | Source0: http://framework.zend.com/releases/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 68a2d2673abaf34d6db7facb79cef670 | |
9 | URL: http://framework.zend.com/ | |
10 | Requires: php-common >= 4:5.0.0 | |
11 | BuildArch: noarch | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %define _appdir %{_datadir}/%{name} | |
15 | ||
16 | %description | |
17 | Zend Framework is a high quality and open source framework for | |
18 | developing Web Applications and Web Services. | |
19 | ||
20 | Built in the true PHP spirit, the Zend Framework delivers ease-of-use | |
21 | and powerful functionality. It provides solutions for building modern, | |
22 | robust, and secure websites. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_appdir}} | |
30 | cp -a demos/Zend/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
31 | ||
32 | # library should be in include_path if used | |
33 | cp -a library $RPM_BUILD_ROOT%{_appdir} | |
34 | ||
35 | # The /incubator directory contains recent contributions that may | |
36 | # eventually be moved to the /library directory. These are considered | |
37 | # highly unstable. | |
38 | cp -a incubator $RPM_BUILD_ROOT%{_appdir} | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc LICENSE.txt README.txt NEWS.txt | |
46 | # TODO: subpackage docs | |
47 | %doc documentation/* | |
48 | %{_appdir} | |
49 | %{_examplesdir}/%{name}-%{version} |