]> git.pld-linux.org Git - packages/acx.git/blame_incremental - acx.spec
- Th kernel support
[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 2
12Release: %{_rel}
13License: MPL or GPL
14Group: Base/Kernel
15Source0: http://www.cmartin.tk/acx/%{name}-%{version}.tar.bz2
16# Source0-md5: ec6322b9c82781897a9433ef0cefda6f
17URL: http://acx100.sourceforge.net/
18%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
19BuildRequires: rpmbuild(macros) >= 1.379
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23This is driver for WLAN card based on ACX100/ACX111 for Linux.
24
25%description -l pl.UTF-8
26Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
27
28%package -n kernel%{_alt_kernel}-net-acx
29Summary: Linux driver for WLAN card base on ACX100/ACX111
30Summary(pl.UTF-8): Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100/ACX111
31Release: %{_rel}@%{_kernel_ver_str}
32Group: Base/Kernel
33%{?with_dist_kernel:%requires_releq_kernel}
34Requires(post,postun): /sbin/depmod
35Obsoletes: kernel%{_alt_kernel}-net-acx100
36
37%description -n kernel%{_alt_kernel}-net-acx
38This is driver for WLAN card based on ACX100/ACX111 for Linux.
39
40%description -n kernel%{_alt_kernel}-net-acx -l pl.UTF-8
41Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
42
43%prep
44%setup -q
45
46%build
47%build_kernel_modules -m acx
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%install_kernel_modules -m acx -d misc
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post -n kernel%{_alt_kernel}-net-acx
58%depmod %{_kernel_ver}
59
60%postun -n kernel%{_alt_kernel}-net-acx
61%depmod %{_kernel_ver}
62
63%files -n kernel%{_alt_kernel}-net-acx
64%defattr(644,root,root,755)
65%doc Changelog README
66/lib/modules/%{_kernel_ver}/misc/*.ko*
This page took 0.06702 seconds and 4 git commands to generate.