]>
Commit | Line | Data |
---|---|---|
4ed00e1d | 1 | %include /usr/lib/rpm/macros.php |
4d1bd5ae PG |
2 | %define _class Crypt |
3 | %define _subclass CBC | |
87820472 | 4 | %define _status stable |
4d1bd5ae | 5 | %define _pearname %{_class}_%{_subclass} |
91b27a1b | 6 | |
b6824272 | 7 | Summary: %{_pearname} - A class to emulate Perl's Crypt::CBC module |
649bfa84 | 8 | Summary(pl.UTF-8): %{_pearname} - Klasa emulująca perlowy moduł Crypt::CBC |
4ed00e1d | 9 | Name: php-pear-%{_pearname} |
01ec5402 | 10 | Version: 0.4 |
24ef4ba0 | 11 | Release: 4 |
4ed00e1d PG |
12 | License: PHP 2.02 |
13 | Group: Development/Languages/PHP | |
01ec5402 | 14 | # Source0-md5: 0463f7e12758b9ae1104af4e357da125 |
4ed00e1d | 15 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
cded8e5c | 16 | URL: http://pear.php.net/package/Crypt_CBC/ |
c9021033 | 17 | BuildRequires: php-pear-PEAR |
82872da4 | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
16968e40 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
d1f36dcf | 20 | Requires: php-pear |
4ed00e1d PG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | A class to emulate Perl's Crypt::CBC module. | |
26 | ||
998c58d4 | 27 | In PEAR status of this package is: %{_status}. |
87820472 | 28 | |
649bfa84 JR |
29 | %description -l pl.UTF-8 |
30 | Klasa emulująca perlowy moduł Crypt::CBC. | |
4ed00e1d | 31 | |
87820472 PG |
32 | Ta klasa ma w PEAR status: %{_status}. |
33 | ||
4ed00e1d | 34 | %prep |
91b27a1b | 35 | %pear_package_setup |
4ed00e1d PG |
36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
91b27a1b ER |
39 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
40 | %pear_package_install | |
4ed00e1d PG |
41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
91b27a1b ER |
47 | %doc install.log |
48 | %{php_pear_dir}/.registry/*.reg | |
4d1bd5ae | 49 | %{php_pear_dir}/%{_class}/*.php |