]>
Commit | Line | Data |
---|---|---|
5a2e5989 ER |
1 | %define status stable |
2 | %define pearname Text_Template | |
99175c5c | 3 | %include /usr/lib/rpm/macros.php |
5a2e5989 ER |
4 | Summary: %{pearname} - Simple template engine |
5 | Name: php-phpunit-Text_Template | |
b2484e55 | 6 | Version: 1.2.0 |
5a2e5989 ER |
7 | Release: 1 |
8 | License: BSD License | |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz | |
b2484e55 | 11 | # Source0-md5: 481577612222928eca4c80cd696be41a |
99175c5c | 12 | URL: http://pear.phpunit.de/ |
5a2e5989 ER |
13 | BuildRequires: php-channel(pear.phpunit.de) |
14 | BuildRequires: php-packagexml2cl | |
15 | BuildRequires: php-pear-PEAR | |
16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
17 | BuildRequires: rpmbuild(macros) >= 1.580 | |
18 | Requires: php-channel(pear.phpunit.de) | |
19 | Requires: php-pear | |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Simple template engine. | |
25 | ||
26 | In PEAR status of this package is: %{status}. | |
27 | ||
28 | %prep | |
29 | %pear_package_setup | |
30 | ||
31 | %build | |
32 | packagexml2cl package.xml > ChangeLog | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
37 | %pear_package_install | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc ChangeLog install.log | |
45 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
46 | %{php_pear_dir}/Text/Template.php | |
99175c5c | 47 | %{php_pear_dir}/Text/Template |