SPECS: php-pear-Net_Wifi.spec (NEW) - new
adamg
adamg at pld-linux.org
Mon Sep 4 19:37:39 CEST 2006
Author: adamg Date: Mon Sep 4 17:37:39 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
php-pear-Net_Wifi.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-pear-Net_Wifi.spec
diff -u /dev/null SPECS/php-pear-Net_Wifi.spec:1.1
--- /dev/null Mon Sep 4 19:37:39 2006
+++ SPECS/php-pear-Net_Wifi.spec Mon Sep 4 19:37:34 2006
@@ -0,0 +1,83 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define _class Net
+%define _subclass Wifi
+%define _status beta
+%define _pearname Net_Wifi
+
+Summary: %{_pearname} - Scans for wireless networks
+Summary(pl): %{_pearname} - Wyszukiwanie sieci bezprzewodowych
+Name: php-pear-%{_pearname}
+Version: 0.1.0
+Release: 1
+License: PHP License
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 6b3659bcc1cd9a9eb6d0eed85da47557
+URL: http://pear.php.net/package/Net_Wifi/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires: php-pear
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Net_Wifi utilizes the command line tools "iwconfig" and "iwlist" to
+get information about wireless lan interfaces on the system and the
+current configuration. The class enables you to scan for wireless
+networks and get a bunch of information about them.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl
+Net_Wifi wykorzystuje programi "iwconfig" oraz "iwlist" do pobrania
+informacji na temat interfejsów sieci bezprzewodowych oraz bieżącej
+konfiguracji. Klasa ta pozwala także na skanowanie w poszukiwaniu
+nowych sieci oraz uzyskanie o nich zestawu informacji.
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%package tests
+Summary: Tests for PEAR::%{_pearname}
+Summary(pl): Testy dla PEAR::%{_pearname}
+Group: Development
+Requires: %{name} = %{epoch}:%{version}-%{release}
+AutoReq: no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla PEAR::%{_pearname}.
+
+%prep
+%pear_package_setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc install.log docs/%{_pearname}/examples/Wifi_usage.php
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Net/Wifi.php
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/Net_Wifi/tests/runtest.php
+%{php_pear_dir}/tests/Net_Wifi/tests/Wifi_testcase.php
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/09/04 17:37:34 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list