Name: mandrake_doc Summary: Mandrake Linux documentation Version: 8.2 Release: 1mdk License: GFDL Group: Books/Computer books Source0: %name-%version.tar.bz2 Source1: %name.tar.bz2 Buildroot: %_tmppath/%name-%version-%release-root BuildArch: noarch %description This package contains some useful documentation for Mandrake Linux systems. This documentation is directly accessible through the Mandrake desktop (the "Documentation" icon). It includes the Mandrake Linux Installation and User Guide, plus the Reference Manual. %package de Summary: The Mandrake Linux manuals in German Group: Books/Computer books Requires: locales-de %description de This package contains some useful documentation for Mandrake Linux systems. This documentation is directly accessible through the Mandrake desktop (the "Documentation" icon). It includes the Mandrake Linux Installation and User Guide, plus the Reference Manual. %package en Summary: The Mandrake Linux manuals in English Group: Books/Computer books Requires: locales-en %description en This package contains some useful documentation for Mandrake Linux systems. This documentation is directly accessible through the Mandrake desktop (the "Documentation" icon). It includes the Mandrake Linux Installation and User Guide, plus the Reference Manual. %package es Summary: The Mandrake Linux manuals in Spanish Group: Books/Computer books Requires: locales-es %description es This package contains some useful documentation for Mandrake Linux systems. This documentation is directly accessible through the Mandrake desktop (the "Documentation" icon). It includes the Mandrake Linux Installation and User Guide, plus the Reference Manual. %package fr Summary: The Mandrake Linux manuals in French Group: Books/Computer books Requires: locales-fr %description fr This package contains some useful documentation for Mandrake Linux systems. This documentation is directly accessible through the Mandrake desktop (the "Documentation" icon). It includes the Mandrake Linux Installation and User Guide, plus the Reference Manual. %package it Summary: The Mandrake Linux manuals in Italian Group: Books/Computer books Requires: locales-it %description it This package contains some useful documentation for Mandrake Linux systems. This documentation is directly accessible through the Mandrake desktop (the "Documentation" icon). It includes the Mandrake Linux Installation and User Guide, plus the Reference Manual. %prep %setup -q -n %name-%version -c -a 1 %build %configure %make check=no FORMATS=html %install rm -fr %buildroot install -d -m 0755 %buildroot/%_menudir # David - 8.1-3mdk - Install german menu entry cat > %buildroot/%_menudir/%name-de <<EOF ?package(mandrake_doc-de): \ command="sh -c '\$BROWSER %_docdir/mandrake/de/index.html'" \ icon="documentation_section.png" \ needs="x11" \ title="Mandrake Linux documentation in German" \ section="Documentation" EOF # David - 8.1-3mdk - Install english menu entry cat > %buildroot/%_menudir/%name-en <<EOF ?package(mandrake_doc-en): \ command="sh -c '\$BROWSER %_docdir/mandrake/en/index.html'" \ icon="documentation_section.png" \ needs="x11" \ title="Mandrake Linux documentation in English" \ section="Documentation" EOF # David - 8.1-3mdk - Install spanish menu entry cat > %buildroot/%_menudir/%name-es <<EOF ?package(mandrake_doc-es): \ command="sh -c '\$BROWSER %_docdir/mandrake/es/index.html'" \ icon="documentation_section.png" \ needs="x11" \ title="Mandrake Linux documentation in Spanish" \ section="Documentation" EOF # David - 8.1-3mdk - Install french menu entry cat > %buildroot/%_menudir/%name-fr <<EOF ?package(mandrake_doc-fr): \ command="sh -c '\$BROWSER %_docdir/mandrake/fr/index.html'" \ icon="documentation_section.png" \ needs="x11" \ title="Mandrake Linux documentation in French" \ section="Documentation" EOF # Dadou - 8.1-3mdk - Install italian menu entry cat > %buildroot/%_menudir/%name-it <<EOF ?package(mandrake_doc-it): \ command="sh -c '\$BROWSER %_docdir/mandrake/it/index.html'" \ icon="documentation_section.png" \ needs="x11" \ title="Mandrake Linux documentation in Italian" \ section="Documentation" EOF #install the books themselves %makeinstall DESTDIR=%buildroot/%{_docdir}/mandrake # Install Index page for each language install -d -m 0755 %buildroot/%_docdir/mandrake/images/ for i in en fr es de it; do cp -r mandrake_doc/$i/* %buildroot/%_docdir/mandrake/$i done for i in mandrake_doc/images/*; do install -m 0644 $i %buildroot/%_docdir/mandrake/images/ done %clean rm -fr %buildroot %post de %update_menus %postun de %clean_menus %post en %update_menus %postun en %clean_menus %post es %update_menus %postun es %clean_menus %post fr %update_menus %postun fr %clean_menus %post it %update_menus %postun it %clean_menus %files de %defattr(-,root,root) %_menudir/mandrake_doc-de # %dir %_docdir/mandrake/ %dir %_docdir/mandrake/de/ %doc %_docdir/mandrake/de/index.html # %dir %_docdir/mandrake/de/images %doc %_docdir/mandrake/de/images/* # %dir %_docdir/mandrake/de/ref.html %doc %_docdir/mandrake/de/ref.html/* # %dir %_docdir/mandrake/de/user.html %doc %_docdir/mandrake/de/user.html/* # %docdir %_docdir/mandrake/images/ %doc %_docdir/mandrake/images/* %files en %defattr(-,root,root) %_menudir/mandrake_doc-en # %dir %_docdir/mandrake/ %dir %_docdir/mandrake/en/ %doc %_docdir/mandrake/en/index.html # %dir %_docdir/mandrake/en/images %doc %_docdir/mandrake/en/images/* # %dir %_docdir/mandrake/en/ref.html %doc %_docdir/mandrake/en/ref.html/* # %dir %_docdir/mandrake/en/user.html %doc %_docdir/mandrake/en/user.html/* # %docdir %_docdir/mandrake/images/ %doc %_docdir/mandrake/images/* %files es %defattr(-,root,root) %_menudir/mandrake_doc-es # %dir %_docdir/mandrake/ %dir %_docdir/mandrake/es/ %doc %_docdir/mandrake/es/index.html # %dir %_docdir/mandrake/es/images %doc %_docdir/mandrake/es/images/* # %dir %_docdir/mandrake/es/ref.html %doc %_docdir/mandrake/es/ref.html/* # %dir %_docdir/mandrake/es/user.html %doc %_docdir/mandrake/es/user.html/* # %docdir %_docdir/mandrake/images/ %doc %_docdir/mandrake/images/* %files fr %defattr(-,root,root) %_menudir/mandrake_doc-fr # %dir %_docdir/mandrake/ %dir %_docdir/mandrake/fr/ %doc %_docdir/mandrake/fr/index.html %doc %_docdir/mandrake/fr/*.gif # %dir %_docdir/mandrake/fr/images %doc %_docdir/mandrake/fr/images/* # %dir %_docdir/mandrake/fr/ref.html %doc %_docdir/mandrake/fr/ref.html/* # %dir %_docdir/mandrake/fr/user.html %doc %_docdir/mandrake/fr/user.html/* # %docdir %_docdir/mandrake/images/ %doc %_docdir/mandrake/images/* %files it %defattr(-,root,root) %_menudir/mandrake_doc-it # %dir %_docdir/mandrake/ %dir %_docdir/mandrake/it/ %doc %_docdir/mandrake/it/index.html # %dir %_docdir/mandrake/it/images %doc %_docdir/mandrake/it/images/* # %dir %_docdir/mandrake/it/ref.html %doc %_docdir/mandrake/it/ref.html/* # %dir %_docdir/mandrake/it/user.html %doc %_docdir/mandrake/it/user.html/* # %docdir %_docdir/mandrake/images/ %doc %_docdir/mandrake/images/* %changelog * Wed Feb 20 2002 Camille Begnis <camille@mandrakesoft.com> 8.2-1mdk - Hopefully the final release. * Wed Feb 20 2002 Camille Begnis <camille@mandrakesoft.com> 8.2-0.4mdk - Update content + index manual image (ln) - Compile only HTML, not PDF * Wed Feb 20 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 8.2-0.3mdk - Escape $BROWSER in menu file * Wed Feb 20 2002 Camille Begnis <camille@mandrakesoft.com> 8.2-0.2mdk - Some updates in manuals * Sat Feb 16 2002 Camille Begnis <camille@mandrakesoft.com> 8.2-0.1mdk - First drafts for 8.2 manuals * Wed Dec 26 2001 David BAUDENS <baudens@mandrakesoft.com> 8.1-3mdk - s/Linux?Mandrake/Mandrake Linux/ - Clean spec (macros, make it readable, fix Group, don't untar/bzip2 the same source twice, etc.) - Use default documentation icon for menu * Tue Oct 09 2001 Camille Begnis <camille@mandrakesoft.com> 8.1-2mdk - updated doc * Fri Sep 21 2001 Camille Begnis <camille@mandrakesoft.com> 8.1-1mdk - updated doc * Fri Sep 21 2001 Camille Begnis <camille@mandrakesoft.com> 8.1-0.4mdk - updated some texts - updated doc * Tue Sep 18 2001 Camille Begnis <camille@mandrakesoft.com> 8.1-0.3mdk - updated some texts - updated doc * Wed Sep 08 2001 Camille Begnis <camille@mandrakesoft.com> 8.1-0.2mdk - new index page with new images - updated doc * Sat Sep 08 2001 Camille Begnis <camille@mandrakesoft.com> 8.1-0.1mdk - first beta 8.1 for beta3 * Tue Apr 17 2001 Camille Begnis <camille@mandrakesoft.com> 8.0-2mdk - Remove unused images and ­ * Sun Apr 15 2001 Camille Begnis <camille@mandrakesoft.com> 8.0-1mdk - HTML 8.0 finale * Tue Mar 27 2001 Camille Begnis <camille@mandrakesoft.com> 8.0-0.2mdk - update doc - fix menu entry * Tue Mar 27 2001 Camille Begnis <camille@mandrakesoft.com> 8.0-0.1mdk - 8.0 alpha documentation * Wed Oct 24 2000 Camille Begnis <camille@mandrakesoft.com> 0.5-9mdk - add italian sources - suppress russian * Wed Oct 24 2000 Camille Begnis <camille@mandrakesoft.com> 0.5-8mdk - fix broken link in en/index.html * Wed Oct 11 2000 Camille Begnis <camille@mandrakesoft.com> 0.5-7mdk - bugfix in sources * Thu Oct 05 2000 Camille Begnis <camille@mandrakesoft.com> 0.5-6mdk - fix images paths in index.html's - use different menu names (xx) * Thu Oct 05 2000 Camille Begnis <camille@mandrakesoft.com> 0.5-5mdk - Updated docs: en+fr+de+es finished - better integration of sources * Wed Oct 04 2000 Daouda Lo <daouda@mandrakesoft.com> 0.5-4mdk - hat icons really removed. - correct some paths and links. * Wed Sep 27 2000 Camille Begnis <camille@mandrakesoft.com> 0.5-3mdk - solve icons conflict * Wed Sep 27 2000 Camille Begnis <camille@mandrakesoft.com> 0.5-2mdk - Update - Suppress KDE doc * Sat Sep 16 2000 Camille Begnis <camille@mandrakesoft.com> 0.5-1mdk - doc drafts for 7.2 * Thu May 11 2000 Camille Begnis <camille@mandrakesoft.com> 0.4-4mdk - updated images * Wed May 10 2000 Camille Begnis <camille@mandrakesoft.com> 0.4-3mdk - updated doc * Tue May 09 2000 Camille Begnis <camille@mandrakesoft.com> 0.4-2mdk - add menu entry - updated doc * Thu May 04 2000 Camille Begnis <camille@mandrakesoft.com> 0.4-1mdk - spec update - Now split into corporate and power packages * Wed Jan 12 2000 Francis Galiegue <francis@mandrakesoft.com> - Now generate all packages, point to English docs when local ones are not available * Thu Jan 06 2000 Francis Galiegue <francis@mandrakesoft.com> - Transparency sucks * Thu Jan 06 2000 Francis Galiegue <francis@mandrakesoft.com> - Compressed GIF images (Unisys sucks, really) * Wed Jan 05 2000 Francis Galiègue <francis@mandrakesoft.com> - GIF images - Only generate en and fr packages for now * Wed Jan 05 2000 Francis Galiègue <francis@mandrakesoft.com> - Updated userguide and installguide * Wed Dec 22 1999 Pixel <pixel@mandrakesoft.com> - put this old one to have at least one... - split in different language * Wed Sep 29 1999 Francis Galiegue <francis@mandrakesoft.com> - %descripion -> %description :( - fresmeat -> freshmeat... * Wed Sep 01 1999 Francis GALIEGUE <francis@mandrakesoft.com> - updated Mandrake user guide in French, English and German - added French description and summary - disabled builds other than en and fr for now