]> git.pld-linux.org Git - packages/acx.git/blob - acx.spec
- updated to pre6 (request by SkIbI)
[packages/acx.git] / acx.spec
1 #
2 # Conditional build:
3 # _without_dist_kernel          without distribution kernel
4 #
5 # TODO:
6 # - UP/SMP scheme, pass CC and CFLAGS
7 %define         _orig_name      acx100_pci
8
9 Summary:        Linux driver for WLAN card base on ACX100
10 Summary(pl):    Sterownik dla Linuksa do kart bezprzewodowych na uk³adzie ACX100
11 Name:           kernel-net-acx100
12 Version:        0.2.0pre6
13 %define _rel    0.1
14 Release:        %{_rel}@%{_kernel_ver_str}
15 License:        GPL
16 Group:          Base/Kernel
17 Source0:        http://rhlx01.fht-esslingen.de/~andi/acx100/acx100-%{version}.tar.bz2
18 # Source0-md5:  194846e15cf40a89c665c16cf213ee9f
19 URL:            http://acx100.sourcefroge.net/index.html
20 %{!?_without_dist_kernel:BuildRequires: kernel-headers >= 2.4.0}}
21 BuildRequires:  rpmbuild(macros) >= 1.118
22 %{!?_without_dist_kernel:%requires_releq_kernel_up}
23 Requires(post,postun):  /sbin/depmod
24 Obsoletes:      kernel-net-acx100
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This is driver for WLAN card based on ACX100 for Linux.
29
30 %description -l pl
31 Sterownik dla Linuksa do kart WLAN opartych o uk³ad ACX100.
32
33 %prep
34 %setup -q -c
35
36 %build
37 %{__make} -C acx100-%{version}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc
42 install acx100-%{version}/src/%{_orig_name}.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/%{_orig_name}.o
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %post
48 %depmod %{_kernel_ver}
49
50 %postun
51 %depmod %{_kernel_ver}
52
53 %files
54 %defattr(644,root,root,755)
55 #%doc readme
56 /lib/modules/%{_kernel_ver}/misc/*
This page took 0.061184 seconds and 3 git commands to generate.