]> git.pld-linux.org Git - packages/php-pear-Net_DNSBL.git/blob - php-pear-Net_DNSBL.spec
- fix duplicate files, rel 3, STBR
[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:  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-HTTP_Request >= 1.2.3
23 Requires:       php-pear-Net_CheckIP >= 1.1
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 mv ./%{php_pear_dir}/tests/%{_pearname}/{tests/*,}
54 rmdir ./%{php_pear_dir}/tests/%{_pearname}/tests
55 rm -rf .%{php_pear_dir}/tests/Net_DNSBL/Tests
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{php_pear_dir}
60 %pear_package_install
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc install.log
68 %{php_pear_dir}/.registry/*.reg
69 %{php_pear_dir}/%{_class}/*.php
70 %{php_pear_dir}/%{_class}/%{_subclass}
71
72 %files tests
73 %defattr(644,root,root,755)
74 %{php_pear_dir}/tests/*
This page took 0.132099 seconds and 4 git commands to generate.