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