]> git.pld-linux.org Git - packages/PHPTAL.git/blob - PHPTAL.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/PHPTAL.git] / PHPTAL.spec
1 %define         _class          PHPTAL
2 %define         _status         beta
3 %define         _pearname       %{_class}
4
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
7 Name:           PHPTAL
8 Version:        1.1.16
9 Release:        1
10 License:        LGPL
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
19 Requires:       php-pear
20 Obsoletes:      php-Algo_map
21 Obsoletes:      php-GetText
22 Obsoletes:      php-Types
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP.
28
29 %description -l pl.UTF-8
30 PHPTAL jest implementacjÄ… Zope Page Templates (ZPT) w PHP.
31
32 %prep
33 %pear_package_setup
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{php_pear_dir}
38 %pear_package_install
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc install.log
46 %doc docs/%{_pearname}/README
47 %{php_pear_dir}/.registry/*.reg
48 %{php_pear_dir}/%{_class}
49 %{php_pear_dir}/%{_class}.php
This page took 0.093204 seconds and 4 git commands to generate.