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