3 %define _pearname %{_class}
5 Summary: PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP
6 Summary(pl.UTF-8): PHPTAL jest implementacjÄ… Zope Page Templates (ZPT) w PHP
11 Group: Development/Languages/PHP
12 Source0: http://phptal.motion-twin.com/files/%{name}-%{version}.tar.gz
13 # Source0-md5: 4592c33a331e744f054bedd9180de914
14 URL: http://phptal.motion-twin.com/
15 BuildRequires: php-pear-PEAR
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.
29 %description -l pl.UTF-8
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