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 Requires: php-common >= 3:5.0.0
19 Obsoletes: php-Algo_map
20 Obsoletes: php-GetText
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP.
29 PHPTAL jest implementacj± Zope Page Templates (ZPT) w PHP.
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{php_pear_dir}
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
45 %doc docs/%{_pearname}/README
46 %{php_pear_dir}/.registry/*.reg
47 %{php_pear_dir}/%{_class}
48 %{php_pear_dir}/%{_class}.php