%define name lpg %define version 0.4 %define release %mkrel 19 Summary: The LDP's Linux programming guide in HTML format Name: %name Version: %version Release: %release Group: Books/Computer books Source: %name-%version.html.tar.bz2 Url: http://sunsite.unc.edu/LDP License: Artistic style Buildroot: %_tmppath/%name-%version-buildroot BuildArch: noarch %description The lpg package includes a generic guide for programming on Linux systems, in HTML format. You may want to check the Linux Documentation Project's website at http://sunsite.unc.edu/LDP/ for more information and possible updates to the programming guide. If you'd like to view the Linux programming guide using your web browser from files on your own machine, or if you'd like to provide it from your web server, you should install the lpg package. %prep %setup -n %{name} %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%_docdir/LDP/lpg cp -ar * $RPM_BUILD_ROOT/%_docdir/LDP/lpg %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %_docdir/LDP/lpg %changelog * Fri Sep 04 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.4-19mdv2010.0 + Revision: 429870 - rebuild * Mon Jul 28 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.4-18mdv2009.0 + Revision: 251408 - rebuild * Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 0.4-16mdv2008.1 + Revision: 140933 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Jan 15 2007 Lenny Cartier <lenny@mandriva.com> 0.4-16mdv2007.0 + Revision: 109148 - Rebuild - Import lpg