]> git.pld-linux.org Git - packages/acx.git/blob - acx.spec
- Th kernel support
[packages/acx.git] / acx.spec
1 # TODO:
2 # - add firmware download?
3 #
4 # Conditional build:
5 %bcond_without  dist_kernel     # without distribution kernel
6 #
7 Summary:        Linux driver for WLAN card base on ACX100/ACX111
8 Summary(pl.UTF-8):      Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100/ACX111
9 Name:           acx
10 Version:        20070101
11 %define _rel    2
12 Release:        %{_rel}
13 License:        MPL or GPL
14 Group:          Base/Kernel
15 Source0:        http://www.cmartin.tk/acx/%{name}-%{version}.tar.bz2
16 # Source0-md5:  ec6322b9c82781897a9433ef0cefda6f
17 URL:            http://acx100.sourceforge.net/
18 %{?with_dist_kernel:BuildRequires:      kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
19 BuildRequires:  rpmbuild(macros) >= 1.379
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This is driver for WLAN card based on ACX100/ACX111 for Linux.
24
25 %description -l pl.UTF-8
26 Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
27
28 %package -n kernel%{_alt_kernel}-net-acx
29 Summary:        Linux driver for WLAN card base on ACX100/ACX111
30 Summary(pl.UTF-8):      Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100/ACX111
31 Release:        %{_rel}@%{_kernel_ver_str}
32 Group:          Base/Kernel
33 %{?with_dist_kernel:%requires_releq_kernel}
34 Requires(post,postun):  /sbin/depmod
35 Obsoletes:      kernel%{_alt_kernel}-net-acx100
36
37 %description -n kernel%{_alt_kernel}-net-acx
38 This is driver for WLAN card based on ACX100/ACX111 for Linux.
39
40 %description -n kernel%{_alt_kernel}-net-acx -l pl.UTF-8
41 Sterownik 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
50 rm -rf $RPM_BUILD_ROOT
51
52 %install_kernel_modules -m acx -d misc
53
54 %clean
55 rm -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.068443 seconds and 4 git commands to generate.