]> git.pld-linux.org Git - packages/acx.git/blame - acx.spec
- patch for .29
[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
b2931714 11%define _rel 2
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
6cbd09ae 20URL: http://acx100.sourceforge.net/
99ffa12e 21%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
22BuildRequires: rpmbuild(macros) >= 1.379
a6573634 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
69bb09f6 26This is driver for WLAN card based on ACX100/ACX111 for Linux.
a6573634 27
dd13e2ab
JR
28%description -l pl.UTF-8
29Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
a6573634 30
b2931714 31%package -n kernel%{_alt_kernel}-net-acx
69bb09f6 32Summary: Linux driver for WLAN card base on ACX100/ACX111
e66dff6f 33Summary(pl.UTF-8): Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100/ACX111
1ff32b1c
JB
34Release: %{_rel}@%{_kernel_ver_str}
35Group: Base/Kernel
99ffa12e 36%{?with_dist_kernel:%requires_releq_kernel}
1ff32b1c 37Requires(post,postun): /sbin/depmod
31b71ecb 38Obsoletes: kernel%{_alt_kernel}-net-acx100
1ff32b1c 39
b2931714 40%description -n kernel%{_alt_kernel}-net-acx
69bb09f6 41This is driver for WLAN card based on ACX100/ACX111 for Linux.
1ff32b1c 42
b2931714 43%description -n kernel%{_alt_kernel}-net-acx -l pl.UTF-8
dd13e2ab 44Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
1ff32b1c 45
a6573634 46%prep
69bb09f6 47%setup -q
f4f9308c 48%patch0 -p1
72d348a4 49%patch1 -p1
6cbd09ae 50
a6573634 51%build
46eb1be4 52%build_kernel_modules -m acx
a6573634 53
54%install
55rm -rf $RPM_BUILD_ROOT
d2768da3 56
46eb1be4 57%install_kernel_modules -m acx -d misc
58
a6573634 59%clean
60rm -rf $RPM_BUILD_ROOT
61
b2931714 62%post -n kernel%{_alt_kernel}-net-acx
a6573634 63%depmod %{_kernel_ver}
64
b2931714 65%postun -n kernel%{_alt_kernel}-net-acx
a6573634 66%depmod %{_kernel_ver}
67
b2931714 68%files -n kernel%{_alt_kernel}-net-acx
a6573634 69%defattr(644,root,root,755)
6edfa414 70%doc Changelog README
6cbd09ae 71/lib/modules/%{_kernel_ver}/misc/*.ko*
This page took 0.121106 seconds and 4 git commands to generate.