%define name lpg %define version 0.4 %define release 8mdk 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 Copyright: distributable Buildroot: %{_tmppath}/%{name}-buildroot BuildArchitectures: 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 lpg %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_docdir}/LDP/lpg chmod 755 $RPM_BUILD_ROOT/%{_docdir}/LDP/lpg cp -ar * $RPM_BUILD_ROOT/%{_docdir}/LDP/lpg find $RPM_BUILD_ROOT/%{_docdir}/LDP -type f | xargs chmod 644 find $RPM_BUILD_ROOT/%{_docdir}/LDP -type d | xargs chmod 755 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_docdir}/LDP/lpg %changelog * Thu Aug 24 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.4-8mdk - BM * Wed Mar 22 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.4-7mdk - fix group - spechelper fixes * Thu Nov 18 1999 Thierry Vignaud <tvignaud@mandrakesoft.com> - build release - fix non root build * Thu May 13 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com> - Mandrake adaptions * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) * Wed Jan 06 1999 Cristian Gafton <gafton@redhat.com> - rebuilt for 6.0 * Mon Apr 27 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Fri Oct 24 1997 Otto Hammersmith <otto@redhat.com> - created the package