]> git.pld-linux.org Git - packages/php-pear-Crypt_HMAC2.git/blame - php-pear-Crypt_HMAC2.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Crypt_HMAC2.git] / php-pear-Crypt_HMAC2.spec
CommitLineData
0273b8fe
AG
1%define _class Crypt
2%define _subclass HMAC2
dee4d3ea 3%define _status stable
0273b8fe
AG
4%define _pearname Crypt_HMAC2
5Summary: %{_pearname} - Implementation of Hashed Message Authentication Code for PHP5
6Summary(pl.UTF-8): %{_pearname} - implementacja kodu HMAC (Hashed Message Authentication Code) dla PHP5
7Name: php-pear-%{_pearname}
dee4d3ea 8Version: 1.0.0
82b966ed 9Release: 3
0273b8fe
AG
10License: New BSD License
11Group: Development/Languages/PHP
12Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
dee4d3ea 13# Source0-md5: a409494b0baad6da364424f1e18bcc0f
0273b8fe 14URL: http://pear.php.net/package/Crypt_HMAC2/
61e26375 15BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
0273b8fe 16BuildRequires: rpm-php-pearprov >= 4.4.2-11
4d25e38a 17BuildRequires: rpmbuild(macros) >= 1.300
0273b8fe 18Requires: php-pear
61e26375 19Requires: php-pear-PEAR-core >= 1:1.3.6
d338fc10 20Obsoletes: php-pear-Crypt_HMAC2-tests
0273b8fe
AG
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Implementation of Hashed Message Authentication Code for PHP5. This
26package may use the hash or mhash extensions when enabled to extend
27the range of cryptographic hash functions beyond the natively
28implemented MD5 and SHA1.
29
30In PEAR status of this package is: %{_status}.
31
32%description -l pl.UTF-8
33Implementacja kodu Hashed Message Authentication Code dla PHP5. Pakiet
d2c142b4 34może skorzystać z modułów hash oraz mhash w celu poszerzenia zakresu
35kryptograficznych funkcji skrótu poza natywnie zaimplementowane MD5
0273b8fe
AG
36oraz SHA1.
37
38Ta klasa ma w PEAR status: %{_status}.
39
0273b8fe
AG
40%prep
41%pear_package_setup
42
dee4d3ea
ER
43rm .%{php_pear_dir}/generate_package_xml.php
44
0273b8fe
AG
45%install
46rm -rf $RPM_BUILD_ROOT
dee4d3ea 47install -d $RPM_BUILD_ROOT%{php_pear_dir}
0273b8fe 48%pear_package_install
0273b8fe
AG
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc install.log docs/Crypt_HMAC2/docs/intro.xml
56%{php_pear_dir}/.registry/*.reg
57%{php_pear_dir}/Crypt/HMAC2
58%{php_pear_dir}/Crypt/HMAC2.php
This page took 0.083252 seconds and 4 git commands to generate.