]> git.pld-linux.org Git - packages/acx.git/blame_incremental - acx.spec
- converted to UTF-8
[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%bcond_without up # don't build UP module
7%bcond_without smp # don't build SMP module
8#
9%ifarch sparc
10%undefine with_smp
11%endif
12#
13Summary: Linux driver for WLAN card base on ACX100/ACX111
14Summary(pl.UTF-8): Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100/ACX111
15Name: acx
16Version: 20070101
17%define _rel 1
18Release: %{_rel}
19License: MPL or GPL
20Group: Base/Kernel
21Source0: http://www.cmartin.tk/acx/%{name}-%{version}.tar.bz2
22# Source0-md5: ec6322b9c82781897a9433ef0cefda6f
23URL: http://acx100.sourceforge.net/
24%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.16}
25BuildRequires: rpmbuild(macros) >= 1.330
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29This is driver for WLAN card based on ACX100/ACX111 for Linux.
30
31%description -l pl.UTF-8
32Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
33
34%package -n kernel%{_alt_kernel}-net-acx100
35Summary: Linux driver for WLAN card base on ACX100/ACX111
36Summary(pl.UTF-8): Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100/ACX111
37Release: %{_rel}@%{_kernel_ver_str}
38Group: Base/Kernel
39%{?with_dist_kernel:%requires_releq_kernel_up}
40Requires(post,postun): /sbin/depmod
41
42%description -n kernel%{_alt_kernel}-net-acx100
43This is driver for WLAN card based on ACX100/ACX111 for Linux.
44
45%description -n kernel%{_alt_kernel}-net-acx100 -l pl.UTF-8
46Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
47
48%package -n kernel%{_alt_kernel}-smp-net-acx100
49Summary: Linux SMP driver for WLAN card base on ACX100/ACX111
50Summary(pl.UTF-8): Sterownik dla Linuksa SMP do kart bezprzewodowych na układzie ACX100/ACX111
51Release: %{_rel}@%{_kernel_ver_str}
52Group: Base/Kernel
53%{?with_dist_kernel:%requires_releq_kernel_smp}
54Requires(post,postun): /sbin/depmod
55
56%description -n kernel%{_alt_kernel}-smp-net-acx100
57Linux SMP driver for WLAN card base on ACX100/ACX111.
58
59%description -n kernel%{_alt_kernel}-smp-net-acx100 -l pl.UTF-8
60Sterownik dla Linuksa SMP do kart bezprzewodowych na układzie ACX100/ACX111.
61
62%prep
63%setup -q
64
65%build
66%build_kernel_modules -m acx
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
71%install_kernel_modules -m acx -d misc
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post -n kernel%{_alt_kernel}-net-acx100
77%depmod %{_kernel_ver}
78
79%postun -n kernel%{_alt_kernel}-net-acx100
80%depmod %{_kernel_ver}
81
82%post -n kernel%{_alt_kernel}-smp-net-acx100
83%depmod %{_kernel_ver}smp
84
85%postun -n kernel%{_alt_kernel}-smp-net-acx100
86%depmod %{_kernel_ver}smp
87
88%files -n kernel%{_alt_kernel}-net-acx100
89%defattr(644,root,root,755)
90%doc Changelog README
91/lib/modules/%{_kernel_ver}/misc/*.ko*
92
93%if %{with smp}
94%files -n kernel%{_alt_kernel}-smp-net-acx100
95%defattr(644,root,root,755)
96%doc Changelog README
97/lib/modules/%{_kernel_ver}smp/misc/*.ko*
98%endif
This page took 0.034077 seconds and 4 git commands to generate.