]> git.pld-linux.org Git - packages/php-pear-Net_DNSBL.git/blob - php-pear-Net_DNSBL.spec
- BR php-pear-PEAR
[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:        3
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:  php-pear-PEAR
19 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
20 Requires:       php-common >= 3:4.3.6
21 Requires:       php-pear
22 Requires:       php-pear-Cache_Lite >= 1.3.1
23 Requires:       php-pear-HTTP_Request >= 1.2.3
24 Requires:       php-pear-Net_CheckIP >= 1.1
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Checks if a given Host or URL is listed on an DNSBL or SURBL.
30
31 In PEAR status of this package is: %{_status}.
32
33 %description -l pl
34 Za pomoc± tej klasy mo¿na sprawdziæ czy dany host lub URL jest wpisany
35 na listy DNSBL lub SURBL.
36
37 Ta klasa ma w PEAR status: %{_status}.
38
39 %package tests
40 Summary:        Tests for PEAR::%{_pearname}
41 Summary(pl):    Testy dla PEAR::%{_pearname}
42 Group:          Development/Languages/PHP
43 Requires:       %{name} = %{epoch}:%{version}-%{release}
44 AutoReq:        no
45
46 %description tests
47 Tests for PEAR::%{_pearname}.
48
49 %description tests -l pl
50 Testy dla PEAR::%{_pearname}.
51
52 %prep
53 %pear_package_setup
54 mv ./%{php_pear_dir}/tests/%{_pearname}/{tests/*,}
55 rmdir ./%{php_pear_dir}/tests/%{_pearname}/tests
56 rm -rf .%{php_pear_dir}/tests/Net_DNSBL/Tests
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{php_pear_dir}
61 %pear_package_install
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc install.log
69 %{php_pear_dir}/.registry/*.reg
70 %{php_pear_dir}/%{_class}/*.php
71 %{php_pear_dir}/%{_class}/%{_subclass}
72
73 %files tests
74 %defattr(644,root,root,755)
75 %{php_pear_dir}/tests/*
This page took 0.111506 seconds and 3 git commands to generate.