1 %include /usr/lib/rpm/macros.php
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - A class to calculate RFC 2104 compliant hashes
8 Summary(pl): %{_pearname} - klasa licz±ca hashe zgodne z RFC 2104
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 7c9781e32d23ff35754fd7261a3aad39
16 URL: http://pear.php.net/package/Crypt_HMAC/
17 BuildRequires: rpm-php-pearprov >= 4.4.2-10.2
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 A class to calculate RFC 2104 compliant hashes.
25 In PEAR status of this package is: %{_status}.
28 Klasa licz±ca hashe zgodne z RFC 2104.
30 Ta klasa ma w PEAR status: %{_status}.
33 Summary: Tests for PEAR::%{_pearname}
35 Requires: %{name} = %{version}-%{release}
38 Tests for PEAR::%{_pearname}.
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{php_pear_dir}/.registry/*.reg
55 %{php_pear_dir}/%{_class}/*.php
58 %defattr(644,root,root,755)
59 %{php_pear_dir}/tests/*