]>
Commit | Line | Data |
---|---|---|
f9ab3660 PS |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without dist_kernel # allow non-distribution kernel | |
4 | %bcond_without kernel # don't build kernel modules | |
5 | %bcond_without smp # don't build SMP module | |
6 | %bcond_without userspace # don't build userspace module | |
7 | %bcond_with verbose # verbose build (V=1) | |
8 | ||
9 | # | |
10 | # main package. | |
11 | # | |
b4f698b9 | 12 | BuildRequires: kernel-module-build >= 2.6.7 |
f9ab3660 PS |
13 | |
14 | # kernel subpackages. | |
15 | ||
16 | %package -n kernel-... | |
17 | Summary: Linux driver for ... | |
18 | Summary(pl): Sterownik dla Linuksa do ... | |
19 | Release: %{_rel}@%{_kernel_ver_str} | |
20 | Group: Base/Kernel | |
b514e505 | 21 | BuildRequires: rpmbuild(macros) >= 1.153 |
b4f698b9 PS |
22 | %if %{with dist_kernel} |
23 | BuildRequires: kernel-module-build >= 2.6.7 | |
24 | %requires_releq_kernel_up | |
25 | %endif | |
f9ab3660 PS |
26 | Requires(post,postun): /sbin/depmod |
27 | ||
28 | %description -n kernel-smp-... | |
29 | This is driver for ... for Linux. | |
30 | ||
31 | This package contains Linux module. | |
32 | ||
33 | %description -n kernel-smp-... -l pl | |
34 | Sterownik dla Linuksa do ... | |
35 | ||
36 |