%define name lkmpg %define version 1.1.0 %define release %mkrel 18 Summary: The Linux Kernel Module Programming Guide Name: %{name} Version: %{version} Release: %{release} Group: Documentation Source: lkmpg.tar.bz2 License: GPL Buildroot: %{_tmppath}/%{name}-buildroot BuildArchitectures: noarch URL: http://www.linuxdoc.org/LDP/lkmpg/mpg.html %description This document is for people who want to write kernel modules. Examples are include. %prep rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_docdir}/LDP cd $RPM_BUILD_ROOT%{_docdir}/LDP bzcat %{SOURCE0} | tar xv %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_docdir}/LDP/* %changelog * Sat Jan 12 2013 umeabot <umeabot> 1.1.0-18.mga3 + Revision: 358909 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Oct 14 2012 ennael <ennael> 1.1.0-17.mga3 + Revision: 305456 - Documentation group * Wed Mar 16 2011 steletch <steletch> 1.1.0-16.mga1 + Revision: 72919 - imported package lkmpg