]> git.pld-linux.org Git - packages/php-pear-Net_DNSBL.git/blob - php-pear-Net_DNSBL.spec
- define Epoch to 0 explicitly when using it
[packages/php-pear-Net_DNSBL.git] / php-pear-Net_DNSBL.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Net
3 %define         _subclass       DNSBL
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - DNSBL Checker
8 Summary(pl):    %{_pearname} - Odpytywanie DNSBL
9 Name:           php-pear-%{_pearname}
10 Version:        1.0.0
11 Release:        2
12 Epoch:          0
13 License:        PHP 2.02
14 Group:          Development/Languages/PHP
15 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 # Source0-md5:  fcc53573625e56cf53c053678ae7ada7
17 URL:            http://pear.php.net/package/Net_DNSBL/
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 Requires:       php-common >= 3:4.3.6
20 Requires:       php-pear
21 Requires:       php-pear-Cache_Lite >= 1.3.1
22 Requires:       php-pear-Net_CheckIP >= 1.1
23 Requires:       php-pear-HTTP_Request >= 1.2.3
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Checks if a given Host or URL is listed on an DNSBL or SURBL.
29
30 In PEAR status of this package is: %{_status}.
31
32 %description -l pl
33 Za pomoc± tej klasy mo¿na sprawdziæ czy dany host lub URL jest wpisany
34 na listy DNSBL lub SURBL.
35
36 Ta klasa ma w PEAR status: %{_status}.
37
38 %package tests
39 Summary:        Tests for PEAR::%{_pearname}
40 Summary(pl):    Testy dla PEAR::%{_pearname}
41 Group:          Development
42 Requires:       %{name} = %{epoch}:%{version}-%{release}
43 AutoReq:        no
44
45 %description tests
46 Tests for PEAR::%{_pearname}.
47
48 %description tests -l pl
49 Testy dla PEAR::%{_pearname}.
50
51 %prep
52 %pear_package_setup
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{php_pear_dir}
57 %pear_package_install
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc install.log
65 %{php_pear_dir}/.registry/*.reg
66 %{php_pear_dir}/%{_class}/*.php
67 %{php_pear_dir}/%{_class}/%{_subclass}
68
69 %files tests
70 %defattr(644,root,root,755)
71 %{php_pear_dir}/tests/*
This page took 0.066602 seconds and 3 git commands to generate.