File linux-kernel-nutshell.spec of Package linux-kernel-nutshell

#
# spec file for package linux-kernel-nutshell (Version 1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           linux-kernel-nutshell
%define tarname   lkn_pdf
License:        Other uncritical OpenSource License
Group:          Documentation/Other
Autoreqprov:    on
PreReq:         %insserv_prereq
Version:        1
Release:        1
Summary:        Linux Kernel In A Nutshell Book
Source:         http://www.kernel.org/pub/linux/kernel/people/gregkh/lkn/lkn_pdf.tar.bz2/%{tarname}.tar.bz2
URL:            http://www.kroah.com/lkn/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Written by a leading developer and maintainer of the Linux kernel,
Linux Kernel in a Nutshell is a comprehensive overview of kernel
configuration and building, a critical task for Linux users and
administrators.

No distribution can provide a Linux kernel that meets all users' needs.
Computers big and small have special requirements that require
reconfiguring and rebuilding the kernel. Whether you are trying to get
sound, wireless support, and power management working on a laptop or
incorporating enterprise features such as logical volume management on
a large server, you can benefit from the insights in this book.

Linux Kernel in a Nutshell covers the entire range of kernel tasks,
starting with downloading the source and making sure that the kernel is
in sync with the versions of the tools you need. In addition to
configuration and installation steps, the book offers reference
material and discussions of related topics such as control of kernel
options at runtime.

A key benefit of the book is a chapter on determining exactly what
drivers are needed for your hardware. Also included are recipes that
list what you need to do to accomplish a wide range of popular tasks.



Authors:
--------
    Greg Kroah-Hartman <gregkh@suse.de>

%prep
%setup -n %{tarname}

%build

%install
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}
cp -r *.pdf $RPM_BUILD_ROOT/%{_docdir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_docdir}/%{name}

%changelog
* Fri Apr 20 2007 - bwalle@suse.de
- initial package
openSUSE Build Service is sponsored by