]> git.pld-linux.org Git - packages/php-pear-Net_Wifi.git/blob - php-pear-Net_Wifi.spec
up to 1.2.0
[packages/php-pear-Net_Wifi.git] / php-pear-Net_Wifi.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Net
3 %define         _subclass       Wifi
4 %define         _status         stable
5 %define         _pearname       Net_Wifi
6
7 Summary:        %{_pearname} - Scans for wireless networks
8 Summary(pl.UTF-8):      %{_pearname} - Wyszukiwanie sieci bezprzewodowych
9 Name:           php-pear-%{_pearname}
10 Version:        1.2.0
11 Release:        1
12 License:        PHP License
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
20 Requires:       php-pear
21 Obsoletes:      php-pear-Net_Wifi-tests
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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.
30
31 In PEAR status of this package is: %{_status}.
32
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.
38
39 Ta klasa ma w PEAR status: %{_status}.
40
41 %prep
42 %pear_package_setup
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 %pear_package_install
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
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
This page took 0.068905 seconds and 3 git commands to generate.