]>
Commit | Line | Data |
---|---|---|
34602f3b ER |
1 | %define _class PHPTAL |
2 | %define _status beta | |
3 | %define _pearname %{_class} | |
43f2e364 | 4 | |
5 | Summary: PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP | |
7cce78f7 | 6 | Summary(pl.UTF-8): PHPTAL jest implementacją Zope Page Templates (ZPT) w PHP |
43f2e364 | 7 | Name: PHPTAL |
dd9b3493 | 8 | Version: 1.1.16 |
6035b817 | 9 | Release: 1 |
34602f3b | 10 | License: LGPL |
43f2e364 | 11 | Group: Development/Languages/PHP |
34602f3b | 12 | Source0: http://phptal.motion-twin.com/files/%{name}-%{version}.tar.gz |
dd9b3493 | 13 | # Source0-md5: 4592c33a331e744f054bedd9180de914 |
34602f3b | 14 | URL: http://phptal.motion-twin.com/ |
2cead0a1 | 15 | BuildRequires: php-pear-PEAR |
34602f3b | 16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
a551732a | 17 | BuildRequires: rpmbuild(macros) >= 1.300 |
34602f3b | 18 | Requires: php-common >= 3:5.0.0 |
2dfb17fd | 19 | Requires: php-pear |
edd4edaa ER |
20 | Obsoletes: php-Algo_map |
21 | Obsoletes: php-GetText | |
22 | Obsoletes: php-Types | |
43f2e364 | 23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP. | |
28 | ||
2e1e0060 JR |
29 | %description -l pl.UTF-8 |
30 | PHPTAL jest implementacją Zope Page Templates (ZPT) w PHP. | |
43f2e364 | 31 | |
32 | %prep | |
34602f3b | 33 | %pear_package_setup |
43f2e364 | 34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
34602f3b ER |
37 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
38 | %pear_package_install | |
43f2e364 | 39 | |
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
34602f3b ER |
45 | %doc install.log |
46 | %doc docs/%{_pearname}/README | |
47 | %{php_pear_dir}/.registry/*.reg | |
48 | %{php_pear_dir}/%{_class} | |
49 | %{php_pear_dir}/%{_class}.php |