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: eddd23d8c4165bdea9317205082bdf08
15 URL: http://phptal.motion-twin.com/
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 Requires: php-common >= 3:5.0.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP.
26 PHPTAL jest implementacj± Zope Page Templates (ZPT) w PHP.
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{php_pear_dir}
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
42 %doc docs/%{_pearname}/README
43 %{php_pear_dir}/.registry/*.reg
44 %{php_pear_dir}/%{_class}
45 %{php_pear_dir}/%{_class}.php