]> git.pld-linux.org Git - packages/dkms.git/commitdiff
- new, based on dag's spec (http://dag.wieers.com/packages/dkms/dkms.spec)
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 25 May 2006 13:13:20 +0000 (13:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dkms.spec -> 1.1

dkms.spec [new file with mode: 0644]

diff --git a/dkms.spec b/dkms.spec
new file mode 100644 (file)
index 0000000..bcf2132
--- /dev/null
+++ b/dkms.spec
@@ -0,0 +1,49 @@
+Summary:       Dynamic Kernel Module Support
+Name:          dkms
+Version:       2.0.11
+Release:       0.1
+License:       GPL
+Group:         Base/Kernel
+URL:           http://linux.dell.com/projects.shtml#dkms
+Source0:       http://linux.dell.com/dkms/%{name}-%{version}.tar.gz
+# Source0-md5: 6eff10dd54fe1a5fde4f3abafb50606b
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _localstatedir  /var/lib/%{name}
+%define                _sysconfdir             /etc/%{name}
+
+%description
+DKMS stands for Dynamic Kernel Module Support. It is designed to
+create a framework where kernel dependant module source can reside so
+that it is very easy to rebuild modules as you upgrade kernels. This
+will allow Linux vendors to provide driver drops without having to
+wait for new kernel releases while also taking out the guesswork for
+customers attempting to recompile modules for new kernels.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},%{_mandir}/man8,%{_localstatedir},/etc/rc.d/init.d}
+install dkms $RPM_BUILD_ROOT%{_sbindir}
+install dkms.8 $RPM_BUILD_ROOT%{_mandir}/man8
+install dkms_dbversion $RPM_BUILD_ROOT%{_localstatedir}
+install dkms_autoinstaller $RPM_BUILD_ROOT/etc/rc.d/init.d
+install dkms_mkkerneldoth $RPM_BUILD_ROOT%{_sbindir}
+install dkms_framework.conf $RPM_BUILD_ROOT%{_sysconfdir}/framework.conf
+install template-dkms-mkrpm.spec $RPM_BUILD_ROOT%{_sysconfdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS sample.spec
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/framework.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/template-dkms-mkrpm.spec
+%attr(754,root,root) /etc/rc.d/init.d/dkms_autoinstaller
+%attr(755,root,root) %{_sbindir}/dkms
+%attr(755,root,root) %{_sbindir}/dkms_mkkerneldoth
+%{_mandir}/man?/*
+%{_localstatedir}
This page took 0.066367 seconds and 4 git commands to generate.