]> git.pld-linux.org Git - packages/acx.git/blame_incremental - acx.spec
- rel 4; with 2.6.30 patch
[packages/acx.git] / acx.spec
... / ...
CommitLineData
1# TODO:
2# - add firmware download?
3#
4# Conditional build:
5%bcond_without dist_kernel # without distribution kernel
6#
7Summary: Linux driver for WLAN card base on ACX100/ACX111
8Summary(pl.UTF-8): Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100/ACX111
9Name: acx
10Version: 20070101
11%define _rel 4
12Release: %{_rel}
13License: MPL or GPL
14Group: Base/Kernel
15Source0: http://www.cmartin.tk/acx/%{name}-%{version}.tar.bz2
16# Source0-md5: ec6322b9c82781897a9433ef0cefda6f
17Patch0: %{name}-skb.patch
18# based on https://dev.openwrt.org/browser/trunk/package/acx/patches/003-2.6.24-compat.diff?rev=10425&format=txt
19Patch1: %{name}-2.6.24.patch
20Patch2: %{name}-2.6.29.patch
21Patch3: %{name}-2.6.30.patch
22URL: http://acx100.sourceforge.net/
23%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
24BuildRequires: rpmbuild(macros) >= 1.379
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28This is driver for WLAN card based on ACX100/ACX111 for Linux.
29
30%description -l pl.UTF-8
31Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
32
33%package -n kernel%{_alt_kernel}-net-acx
34Summary: Linux driver for WLAN card base on ACX100/ACX111
35Summary(pl.UTF-8): Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100/ACX111
36Release: %{_rel}@%{_kernel_ver_str}
37Group: Base/Kernel
38%{?with_dist_kernel:%requires_releq_kernel}
39Requires(post,postun): /sbin/depmod
40Obsoletes: kernel%{_alt_kernel}-net-acx100
41
42%description -n kernel%{_alt_kernel}-net-acx
43This is driver for WLAN card based on ACX100/ACX111 for Linux.
44
45%description -n kernel%{_alt_kernel}-net-acx -l pl.UTF-8
46Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
47
48%prep
49%setup -q
50%patch0 -p1
51%patch1 -p1
52%patch2 -p1
53%patch3 -p1
54
55%build
56%build_kernel_modules -m acx
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%install_kernel_modules -m acx -d misc
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%post -n kernel%{_alt_kernel}-net-acx
67%depmod %{_kernel_ver}
68
69%postun -n kernel%{_alt_kernel}-net-acx
70%depmod %{_kernel_ver}
71
72%files -n kernel%{_alt_kernel}-net-acx
73%defattr(644,root,root,755)
74%doc Changelog README
75/lib/modules/%{_kernel_ver}/misc/*.ko*
This page took 0.061871 seconds and 4 git commands to generate.