]> git.pld-linux.org Git - packages/php-pear-Net_Portscan.git/blob - php-pear-Net_Portscan.spec
- group Development/Languages/PHP for -tests
[packages/php-pear-Net_Portscan.git] / php-pear-Net_Portscan.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Net
3 %define         _subclass       Portscan
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - portscanner utilities
8 Summary(pl):    %{_pearname} - narzêdzia skanuj±ce porty
9 Name:           php-pear-%{_pearname}
10 Version:        1.0.2
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:  37f71b85c3f9a4acff42d019b6d23cd3
17 URL:            http://pear.php.net/package/Net_Portscan/
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 Requires:       php-pear
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The Net_Portscan package allows one to perform basic portscanning
25 functions with PHP. It supports checking an individual port or
26 checking a whole range of ports on a machine.
27
28 In PEAR status of this package is: %{_status}.
29
30 %description -l pl
31 Pakiet Net_Portscan pozwala na podstawowe skany portów przy u¿yciu
32 PHP. Umo¿liwia sprawdzanie pojedynczych portów, jak i ca³ych zakresów
33 portów na danej maszynie.
34
35 Ta klasa ma w PEAR status: %{_status}.
36
37 %package tests
38 Summary:        Tests for PEAR::%{_pearname}
39 Summary(pl):    Testy dla PEAR::%{_pearname}
40 Group:          Development/Languages/PHP
41 Requires:       %{name} = %{epoch}:%{version}-%{release}
42 AutoReq:        no
43
44 %description tests
45 Tests for PEAR::%{_pearname}.
46
47 %description tests -l pl
48 Testy dla PEAR::%{_pearname}.
49
50 %prep
51 %pear_package_setup
52
53 install -d ./%{php_pear_dir}/tests/%{_pearname}
54 mv ./%{php_pear_dir}/{%{_class}/tests/*,tests/%{_pearname}}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{php_pear_dir}
59 %pear_package_install
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc install.log
67 %doc docs/%{_pearname}/*
68 %{php_pear_dir}/.registry/*.reg
69 %{php_pear_dir}/%{_class}/*.php
70
71 %files tests
72 %defattr(644,root,root,755)
73 %{php_pear_dir}/tests/*
This page took 0.336755 seconds and 3 git commands to generate.