1 %include /usr/lib/rpm/macros.php
5 %define _pearname Net_Wifi
7 Summary: %{_pearname} - Scans for wireless networks
8 Summary(pl.UTF-8): %{_pearname} - Wyszukiwanie sieci bezprzewodowych
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: cc2b7625a60561f62df794f650023a36
16 URL: http://pear.php.net/package/Net_Wifi/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 BuildRequires: rpmbuild(macros) >= 1.300
21 Obsoletes: php-pear-Net_Wifi-tests
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Net_Wifi utilizes the command line tools "iwconfig" and "iwlist" to
27 get information about wireless lan interfaces on the system and the
28 current configuration. The class enables you to scan for wireless
29 networks and get a bunch of information about them.
31 In PEAR status of this package is: %{_status}.
33 %description -l pl.UTF-8
34 Net_Wifi wykorzystuje programy "iwconfig" oraz "iwlist" do pobrania
35 informacji na temat interfejsów sieci bezprzewodowych oraz bieżącej
36 konfiguracji. Klasa ta pozwala także na skanowanie w poszukiwaniu
37 nowych sieci oraz uzyskanie o nich zestawu informacji.
39 Ta klasa ma w PEAR status: %{_status}.
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc install.log docs/%{_pearname}/examples/Wifi_usage.php
55 %{php_pear_dir}/.registry/*.reg
56 %{php_pear_dir}/Net/Wifi.php
57 %{php_pear_dir}/Net/Wifi