]> git.pld-linux.org Git - packages/php-pear-Crypt_HMAC.git/blob - php-pear-Crypt_HMAC.spec
- AutoProv: no for -tests
[packages/php-pear-Crypt_HMAC.git] / php-pear-Crypt_HMAC.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Crypt
3 %define         _subclass       HMAC
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
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}
10 Version:        1.0.1
11 Release:        2
12 License:        PHP 2.02
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:  php-pear-PEAR
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 Requires:       php-pear
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 A class to calculate RFC 2104 compliant hashes.
25
26 In PEAR status of this package is: %{_status}.
27
28 %description -l pl
29 Klasa licz±ca hashe zgodne z RFC 2104.
30
31 Ta klasa ma w PEAR status: %{_status}.
32
33 %package tests
34 Summary:        Tests for PEAR::%{_pearname}
35 Summary(pl):    Testy dla PEAR::%{_pearname}
36 Group:          Development/Languages/PHP
37 Requires:       %{name} = %{version}-%{release}
38 AutoReq:        no
39 AutoProv:       no
40
41 %description tests
42 Tests for PEAR::%{_pearname}.
43
44 %description tests -l pl
45 Testy dla PEAR::%{_pearname}.
46
47 %prep
48 %pear_package_setup
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{php_pear_dir}
53 %pear_package_install
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc install.log
61 %{php_pear_dir}/.registry/*.reg
62 %{php_pear_dir}/%{_class}/*.php
63
64 %files tests
65 %defattr(644,root,root,755)
66 %{php_pear_dir}/tests/*
This page took 0.080549 seconds and 3 git commands to generate.