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