1 %include /usr/lib/rpm/macros.php
4 %define _pearname %{_class}
6 Summary: PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP
7 Summary(pl): PHPTAL jest implementacj± Zope Page Templates (ZPT) w PHP
12 Group: Development/Languages/PHP
13 Source0: http://phptal.motion-twin.com/files/%{name}-%{version}.tar.gz
14 # Source0-md5: e3b117de6f6d40431d87193f190cc403
15 URL: http://phptal.motion-twin.com/
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.300
18 Requires: php-common >= 3:5.0.0
20 Obsoletes: php-Algo_map
21 Obsoletes: php-GetText
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP.
30 PHPTAL jest implementacj± Zope Page Templates (ZPT) w PHP.
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{php_pear_dir}
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
46 %doc docs/%{_pearname}/README
47 %{php_pear_dir}/.registry/*.reg
48 %{php_pear_dir}/%{_class}
49 %{php_pear_dir}/%{_class}.php