]>
Commit | Line | Data |
---|---|---|
b4414519 | 1 | %include /usr/lib/rpm/macros.php |
33a12431 | 2 | %define _status stable |
b4414519 AG |
3 | %define _pearname Net_Nmap |
4 | Summary: %{_pearname} - A simple wrapper class for the Nmap utility | |
5 | Summary(pl.UTF-8): %{_pearname} - prosty wrapper dla programu nmap | |
6 | Name: php-pear-%{_pearname} | |
fa58c3f7 | 7 | Version: 1.0.3 |
33a12431 | 8 | Release: 1 |
b4414519 AG |
9 | License: LGPL |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
fa58c3f7 | 12 | # Source0-md5: 50f41a7f123f61462996d34a23f5c1a9 |
b4414519 AG |
13 | URL: http://pear.php.net/package/Net_Nmap/ |
14 | BuildRequires: php-pear-PEAR | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
16 | Requires: nmap | |
17 | Requires: php-pear | |
fa58c3f7 | 18 | Requires: php-pear-PEAR-core >= 1:1.5.4 |
b4414519 AG |
19 | Requires: php-pear-XML_Parser |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Net_Nmap is a simple interface for Nmap, the free and open source | |
25 | utility for network exploration or security auditing. | |
26 | ||
27 | Net_Nmap can be used to auto discovery hosts and services in your | |
28 | network or simply to parse Nmap XML output. | |
29 | ||
30 | In PEAR status of this package is: %{_status}. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | Net_Nmap to prosty interfejs do programu nmap, nardzędzia do analizy | |
34 | ruchu i audytu bezpieczeństwa. | |
35 | ||
36 | Net_Nmap może być użyty do wykrycia maszyn i usług w sieci lub do | |
37 | analizy raportu XML z nmapa. | |
38 | ||
39 | Ta klasa ma w PEAR status: %{_status}. | |
40 | ||
41 | %package tests | |
42 | Summary: Tests for PEAR::%{_pearname} | |
43 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
44 | Group: Development/Languages/PHP | |
b4414519 AG |
45 | Requires: %{name} = %{version}-%{release} |
46 | AutoProv: no | |
dbefecd5 | 47 | AutoReq: no |
b4414519 AG |
48 | |
49 | %description tests | |
50 | Tests for PEAR::%{_pearname}. | |
51 | ||
52 | %description tests -l pl.UTF-8 | |
53 | Testy dla PEAR::%{_pearname}. | |
54 | ||
55 | %prep | |
56 | %pear_package_setup | |
b4414519 AG |
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}/Net/Nmap | |
71 | %{php_pear_dir}/Net/Nmap.php | |
72 | %{php_pear_dir}/data/Net_Nmap | |
73 | ||
74 | %files tests | |
75 | %defattr(644,root,root,755) | |
76 | %{php_pear_dir}/tests/Net_Nmap |