]>
Commit | Line | Data |
---|---|---|
d603c97b | 1 | Summary: Dynamic Kernel Module Support Framework |
e48e5909 | 2 | Summary(pl.UTF-8): Obsługa dynamicznych modułów jądra |
a9b375c3 | 3 | Name: dkms |
d603c97b | 4 | Version: 2.2.0.3 |
7f2d513b | 5 | Release: 4 |
8668c89e | 6 | License: GPL v2+ |
a9b375c3 | 7 | Group: Base/Kernel |
c3226a3d | 8 | Source0: http://linux.dell.com/dkms/permalink/%{name}-%{version}.tar.gz |
d603c97b | 9 | # Source0-md5: 11a8aaade2ebec2803653837c7593030 |
08c2236d | 10 | Source1: %{name}.modprobe.conf |
36c91343 | 11 | Patch0: kernel.conf.patch |
c3226a3d | 12 | URL: http://linux.dell.com/dkms/ |
d603c97b ER |
13 | Requires: bash >= 3.0 |
14 | Requires: coreutils | |
15 | Requires: cpio | |
16 | Requires: findutils | |
17 | Requires: gawk | |
dadb45dc | 18 | Requires: gcc |
d603c97b ER |
19 | Requires: grep |
20 | Requires: gzip | |
d603c97b | 21 | Requires: kmod |
e579e121 | 22 | Requires: lsb-release |
d603c97b ER |
23 | Requires: sed |
24 | Requires: tar | |
7f2d513b | 25 | Suggests: kernel-module-build |
08c2236d | 26 | BuildArch: noarch |
a9b375c3 ER |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
a9b375c3 ER |
29 | %description |
30 | DKMS stands for Dynamic Kernel Module Support. It is designed to | |
31 | create a framework where kernel dependant module source can reside so | |
32 | that it is very easy to rebuild modules as you upgrade kernels. This | |
33 | will allow Linux vendors to provide driver drops without having to | |
34 | wait for new kernel releases while also taking out the guesswork for | |
35 | customers attempting to recompile modules for new kernels. | |
36 | ||
d5f6adb2 JR |
37 | %description -l pl.UTF-8 |
38 | DKMS (Dynamic Kernel Module Support) to obsługa dynamicznych modułów | |
39 | jądra. Została zaprojektowana aby stworzyć szkielet do przechowywania | |
40 | źródeł modułów zależnych od jądra w sposób łatwy do zbudowania modułów | |
41 | po uaktualnieniu jądra. Pozwala to dostawcom Linuksa udostępniać | |
42 | sterowniki bez czekania na nowe wydania jądra ani rozwiązywania | |
43 | problemów klientów próbujących przebudować moduły dla nowych jąder. | |
ceb21f4f | 44 | |
8668c89e JB |
45 | %package -n bash-completion-dkms |
46 | Summary: Bash completion for dkms command | |
47 | Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla polecenia dkms | |
48 | Group: Applications/Shells | |
49 | Requires: %{name} = %{version}-%{release} | |
50 | Requires: bash-completion | |
51 | ||
52 | %description -n bash-completion-dkms | |
53 | Bash completion for dkms command. | |
54 | ||
55 | %description -n bash-completion-dkms -l pl.UTF-8 | |
56 | Bashowe uzupełnianie parametrów dla polecenia dkms. | |
57 | ||
a9b375c3 ER |
58 | %prep |
59 | %setup -q | |
36c91343 | 60 | %patch0 -p1 |
a9b375c3 ER |
61 | |
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
4bca79fb | 64 | install -d $RPM_BUILD_ROOT/etc/modprobe.d |
4bca79fb | 65 | |
e579e121 | 66 | %{__make} install \ |
5602cd94 ER |
67 | SHELL=/bin/sh \ |
68 | DESTDIR=$RPM_BUILD_ROOT | |
a9b375c3 | 69 | |
e579e121 ER |
70 | # not in pld |
71 | %{__rm} $RPM_BUILD_ROOT/etc/kernel/postinst.d/dkms | |
72 | %{__rm} $RPM_BUILD_ROOT/etc/kernel/prerm.d/dkms | |
73 | %{__rm} $RPM_BUILD_ROOT/usr/lib/dkms/dkms_autoinstaller | |
74 | ||
75 | cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/modprobe.d/dkms.conf | |
76 | ||
a9b375c3 ER |
77 | %clean |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %files | |
81 | %defattr(644,root,root,755) | |
5602cd94 | 82 | %doc AUTHORS README.dkms TODO sample.spec |
d603c97b ER |
83 | %dir %{_sysconfdir}/%{name} |
84 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/framework.conf | |
4bca79fb | 85 | %config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/dkms.conf |
a9b375c3 | 86 | %attr(755,root,root) %{_sbindir}/dkms |
d603c97b ER |
87 | %{_mandir}/man8/dkms.8* |
88 | %dir %{_prefix}/lib/%{name} | |
89 | %{_prefix}/lib/%{name}/common.postinst | |
d603c97b ER |
90 | %dir %{_localstatedir}/lib/%{name} |
91 | %{_localstatedir}/lib/%{name}/dkms_dbversion | |
8668c89e JB |
92 | |
93 | %files -n bash-completion-dkms | |
94 | %defattr(644,root,root,755) | |
95 | /etc/bash_completion.d/dkms |