]> git.pld-linux.org Git - packages/php-pear-Crypt_HMAC.git/blob - php-pear-Crypt_HMAC.spec
b367d339a0b4edd3baadf61bcb9f4371d585ef35
[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.UTF-8):   %{_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 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 calculate RFC 2104 compliant hashes.
26
27 In PEAR status of this package is: %{_status}.
28
29 %description -l pl.UTF-8
30 Klasa licząca hashe zgodne z RFC 2104.
31
32 Ta klasa ma w PEAR status: %{_status}.
33
34 %package tests
35 Summary:        Tests for PEAR::%{_pearname}
36 Summary(pl.UTF-8):   Testy dla PEAR::%{_pearname}
37 Group:          Development/Languages/PHP
38 Requires:       %{name} = %{version}-%{release}
39 AutoReq:        no
40 AutoProv:       no
41
42 %description tests
43 Tests for PEAR::%{_pearname}.
44
45 %description tests -l pl.UTF-8
46 Testy dla PEAR::%{_pearname}.
47
48 %prep
49 %pear_package_setup
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 %pear_package_install
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc install.log
62 %{php_pear_dir}/.registry/*.reg
63 %{php_pear_dir}/%{_class}/*.php
64
65 %files tests
66 %defattr(644,root,root,755)
67 %{php_pear_dir}/tests/*
This page took 0.069757 seconds and 3 git commands to generate.