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