]> git.pld-linux.org Git - packages/php-pear-Net_DNSBL.git/blob - php-pear-Net_DNSBL.spec
- updated to: 1.3.7
[packages/php-pear-Net_DNSBL.git] / php-pear-Net_DNSBL.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _status         stable
3 %define         _pearname       Net_DNSBL
4 Summary:        %{_pearname} - DNSBL Checker
5 Summary(pl.UTF-8):      %{_pearname} - Odpytywanie DNSBL
6 Name:           php-pear-%{_pearname}
7 Version:        1.3.7
8 Release:        1
9 License:        PHP 2.02
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5:  6e15d7802ea8dfa61acc2691411ac29b
13 URL:            http://pear.php.net/package/Net_DNSBL/
14 BuildRequires:  php-pear-PEAR >= 1:1.4.0-0.b1
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.300
17 Requires:       php(core) >= 4.3.11
18 Requires:       php-pear
19 Requires:       php-pear-Net_CheckIP >= 1.1
20 Requires:       php-pear-Net_DNS >= 1.0.0
21 Requires:       php-pear-PEAR-core >= 1:1.4.0
22 # should be suggests, not requires: http://pear.php.net/bugs/bug.php?id=17789
23 Suggests:       php-pear-Cache_Lite >= 1.4.1
24 Suggests:       php-pear-HTTP_Request2 >= 2.0.0
25 Obsoletes:      php-pear-Net_DNSBL-tests
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 # exclude optional dependencies
30 %define         _noautoreq      pear(Cache/Lite.php) pear(HTTP/Request.php)
31
32 %description
33 Checks if a given Host or URL is listed on an DNSBL or SURBL.
34
35 In PEAR status of this package is: %{_status}.
36
37 %description -l pl.UTF-8
38 Za pomocą tej klasy można sprawdzić czy dany host lub URL jest wpisany
39 na listy DNSBL lub SURBL.
40
41 Ta klasa ma w PEAR status: %{_status}.
42
43 %prep
44 %pear_package_setup
45
46 # phing build file
47 rm .%{php_pear_dir}/data/Net_DNSBL/build.xml
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{php_pear_dir}
52 %pear_package_install
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc install.log
60 %{php_pear_dir}/.registry/*.reg
61 %{php_pear_dir}/Net/DNSBL.php
62 %{php_pear_dir}/Net/DNSBL
This page took 0.05431 seconds and 3 git commands to generate.