]> git.pld-linux.org Git - projects/template-specs.git/blame - kernel-module.spec
- BR += kernel-module-build.
[projects/template-specs.git] / kernel-module.spec
CommitLineData
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 12BuildRequires: kernel-module-build >= 2.6.7
f9ab3660
PS
13
14# kernel subpackages.
15
16%package -n kernel-...
17Summary: Linux driver for ...
18Summary(pl): Sterownik dla Linuksa do ...
19Release: %{_rel}@%{_kernel_ver_str}
20Group: Base/Kernel
b514e505 21BuildRequires: rpmbuild(macros) >= 1.153
b4f698b9
PS
22%if %{with dist_kernel}
23BuildRequires: kernel-module-build >= 2.6.7
24%requires_releq_kernel_up
25%endif
f9ab3660
PS
26Requires(post,postun): /sbin/depmod
27
28%description -n kernel-smp-...
29This is driver for ... for Linux.
30
31This package contains Linux module.
32
33%description -n kernel-smp-... -l pl
34Sterownik dla Linuksa do ...
35
36