]>
Commit | Line | Data |
---|---|---|
1 | %include /usr/lib/rpm/macros.php | |
2 | %define _class Crypt | |
3 | %define _subclass CBC | |
4 | %define _status stable | |
5 | %define _pearname %{_class}_%{_subclass} | |
6 | ||
7 | Summary: %{_pearname} - A class to emulate Perl's Crypt::CBC module | |
8 | Summary(pl.UTF-8): %{_pearname} - Klasa emulująca perlowy moduł Crypt::CBC | |
9 | Name: php-pear-%{_pearname} | |
10 | Version: 0.4 | |
11 | Release: 4 | |
12 | License: PHP 2.02 | |
13 | Group: Development/Languages/PHP | |
14 | # Source0-md5: 0463f7e12758b9ae1104af4e357da125 | |
15 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
16 | URL: http://pear.php.net/package/Crypt_CBC/ | |
17 | BuildRequires: php-pear-PEAR | |
18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
19 | BuildRequires: rpmbuild(macros) >= 1.300 | |
20 | Requires: php-pear | |
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 | ||
27 | In PEAR status of this package is: %{_status}. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Klasa emulująca perlowy moduł Crypt::CBC. | |
31 | ||
32 | Ta klasa ma w PEAR status: %{_status}. | |
33 | ||
34 | %prep | |
35 | %pear_package_setup | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
40 | %pear_package_install | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc install.log | |
48 | %{php_pear_dir}/.registry/*.reg | |
49 | %{php_pear_dir}/%{_class}/*.php |