]>
Commit | Line | Data |
---|---|---|
3f17b0f9 | 1 | %define _status alpha |
b66c9148 ER |
2 | %define _pearname PHP_Archive |
3 | %include /usr/lib/rpm/macros.php | |
3f17b0f9 | 4 | Summary: %{_pearname} - create and use PHP Archive files |
d4111649 | 5 | Summary(pl.UTF-8): %{_pearname} - tworzenie i wykorzystanie archiwów PHP |
3f17b0f9 | 6 | Name: php-pear-%{_pearname} |
240ab163 | 7 | Version: 0.11.4 |
b66c9148 | 8 | Release: 4 |
3f17b0f9 AG |
9 | License: PHP 2.02 |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
240ab163 | 12 | # Source0-md5: be6dfa685d559ed445b93e4706d4ca2a |
3f17b0f9 | 13 | URL: http://pear.php.net/package/PHP_Archive/ |
fb4d2a91 | 14 | BuildRequires: php-pear-PEAR >= 1:1.4.3 |
07a00344 | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
ccd428e3 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
b66c9148 | 17 | Requires: php(core) >= 5.1.0 |
7a2fa0eb | 18 | Requires: php-pear >= 4:1.0-7 |
ce0503ae | 19 | Requires: php-pear-Archive_Tar >= 1.3.1 |
fb4d2a91 | 20 | Requires: php-pear-PEAR-core >= 1:1.4.3 |
48a74be8 | 21 | Obsoletes: php-pear-PHP_Archive-tests |
3f17b0f9 AG |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | PHP_Archive allows you to create a single .phar file containing an | |
07a00344 | 27 | entire application. |
3f17b0f9 AG |
28 | |
29 | In PEAR status of this package is: %{_status}. | |
30 | ||
a55e03e9 JR |
31 | %description -l pl.UTF-8 |
32 | PHP_Archive pozwala na tworzenie pojedynczych plików .phar | |
33 | zawierajacych całe aplikacje. | |
3f17b0f9 AG |
34 | |
35 | Ta klasa ma w PEAR status: %{_status}. | |
36 | ||
37 | %prep | |
07a00344 | 38 | %pear_package_setup |
3f17b0f9 AG |
39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
07a00344 ER |
42 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
43 | %pear_package_install | |
3f17b0f9 AG |
44 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
07a00344 ER |
50 | %doc install.log |
51 | %{php_pear_dir}/.registry/*.reg | |
b66c9148 ER |
52 | %{php_pear_dir}/PHP/*.php |
53 | %{php_pear_dir}/PHP/Archive | |
048eed2d | 54 | %{php_pear_dir}/data/%{_pearname} |