]>
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 | # | |
063b9033 JB |
12 | %if %{with kernel} |
13 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7} | |
14 | BuildRequires: rpmbuild(macros) >= 1.153 | |
15 | %endif | |
f9ab3660 PS |
16 | |
17 | # kernel subpackages. | |
18 | ||
19 | %package -n kernel-... | |
20 | Summary: Linux driver for ... | |
21 | Summary(pl): Sterownik dla Linuksa do ... | |
22 | Release: %{_rel}@%{_kernel_ver_str} | |
23 | Group: Base/Kernel | |
063b9033 | 24 | %{?with_dist_kernel:%requires_releq_kernel_up} |
f9ab3660 PS |
25 | Requires(post,postun): /sbin/depmod |
26 | ||
27 | %description -n kernel-smp-... | |
28 | This is driver for ... for Linux. | |
29 | ||
30 | This package contains Linux module. | |
31 | ||
32 | %description -n kernel-smp-... -l pl | |
33 | Sterownik dla Linuksa do ... | |
34 | ||
35 |