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