source: projects/specs/trunk/p/python-iwlib/python-iwlib-vl.spec @ 8897

Revision 8897, 1.9 KB checked in by kudoh, 10 years ago (diff)

new upstream and rebuilt

Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2%{!?python_ver: %define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")}
3
4Summary: Wireless settings python bindings
5Summary(ja): wireless-tools の python バインディング
6Name: python-iwlib
7Version: 1.2
8Release: 1%{?_dist_release}
9URL: http://git.fedorahosted.org/git/python-iwlib.git
10Source: http://fedorahosted.org/released/python-iwlib/%{name}-%{version}.tar.bz2
11License: GPLv2
12Group: System Environment/Libraries
13ExcludeArch: s390 s390x
14BuildRequires: python-devel
15BuildRequires: wireless-tools-devel
16Requires: wireless-tools
17BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
18
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23Python bindings for the iwlib kernel interface,
24that provides functions to examine the wireless network devices
25installed on the system.
26
27%prep
28%setup -q
29
30%build
31%{__python} setup.py build
32
33%install
34rm -rf %{buildroot}
35%{__python} setup.py install --skip-build --root %{buildroot}
36mkdir -p %{buildroot}%{_sbindir}
37chmod 755 %{buildroot}%{python_sitearch}/iwlib.so
38
39%clean
40rm -rf %{buildroot}
41
42%files
43%defattr(-,root,root)
44%doc COPYING
45%{python_sitearch}/iwlib.so
46%if "%{python_ver}" >= "2.5"
47%{python_sitearch}/*.egg-info
48%endif
49
50%changelog
51* Sat Aug 09 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2-1
52- new upstream release
53
54* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-4
55- rebuild with VineSeed environment
56
57* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-3
58- rebuild with python-2.7.2
59
60* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.1-2
61- rebuild with python-2.6
62
63* Wed Sep 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1-1
64- initial build for Vine Linux
65
66* Mon Jul 27 2009 Jiri Popelka <jpopelka@redhat.com> - 0.1-1
67- Get iwlib code from rhpl 0.222-1
Note: See TracBrowser for help on using the repository browser.