%define DATE 20030112 %define language Polish %define lang pl %define format1 html-%{lang} %define format2 HTML/%{lang} Summary: %language HOWTO documents (html format) from the Linux Documentation Project Name: howto-%{format1} Version: 9.1 Release: 0.5mdk Group: Books/Howtos Source0: %name.tar Source1: %name Url: http://www.linuxdoc.org/docs.html#howto License: GPL BuildRoot: %{_tmppath}/%{name}-root BuildArch: noarch BuildRequires: howto-utils Requires: locales-%lang, howto-utils, webclient, mandrake_desk > 1.0.3-7mdk %description Linux HOWTOs are detailed documents which describe a specific aspect of configuring or using Linux. Linux HOWTOs are a great source of practical information about your system. The latest versions of these documents are located at http://www.linuxdoc.org/docs.html#howto %prep %setup -q -n %name %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_docdir}/HOWTO/%{format2} untar_howtos; makehowtoindex %lang %language > index.html; cp -a * $RPM_BUILD_ROOT%{_docdir}/HOWTO/%{format2} install -m 755 -d $RPM_BUILD_ROOT%{_menudir} install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_menudir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_docdir}/HOWTO/%{format2} %{_menudir}/* %post %{update_menus} %postun %{clean_menus} %changelog * Thu Feb 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.1-0.5mdk - new menu scheme * Sat Feb 15 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.1-0.4mdk - fix menu generation * Thu Feb 13 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.1-0.3mdk - synchronize all howtos spec files - use new howto-utils * Wed Feb 05 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.1-0.2mdk - fix menu entry - rebuild for latest makehowtoindex %lang %language > index.html) * Tue Jan 21 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.1-0.1mdk - new snapshot * Thu Aug 01 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.0-0.1mdk - new snapshot - add real url - sanitize menu entry (fix menu-command-not-in-package) * Thu Jan 29 2002 Adrien DEMAREZ <ademarez@mandrakesoft.com> 8.2-2mdk - updated howtos * Thu Jan 17 2002 David BAUDENS <baudens@mandrakesoft.com> 8.2-1mdk - Fix menu entry (icon) * Fri Sep 07 2001 Etienne FAURE <etienne@mandrakesoft.com> 8.1-2mdk - Modified menu entry so that it works with KDE and gnome * Thu Aug 30 2001 Etienne FAURE <etienne@mandrakesoft.com> 8.1-1mdk - Automatically updated * Tue Mar 13 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 8.0-1mdk - bump release number - fix tmppath - build with new howto-utils - add language name to rpm summary & index file * Fri Mar 2 2001 Etienne Faure <etienne@mandrakesoft.com> 7.1-5mdk - rebuild with new howto-utils * Sat Jan 13 2001 Etienne Faure <etienne@mandrakesoft.com> 7.1-4mdk - modified menu entry * Wed Aug 23 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 7.1-3mdk - add LN touch - BM - use new tool to autogenerate the menu (which was previously handly built by dadou :-( ) - fix buildrequires & requires * Mon Apr 24 2000 Pixel <pixel@mandrakesoft.com> 7.1-2mdk - change require (add locales-XX, change netscape to webclient) * Thu Apr 20 2000 David BAUDENS <baudens@mandrakesoft.com> 7.1-1mdk - 7.1 * Wed Apr 05 2000 David BAUDENS <baudens@mandrakesoft.com> 7.0-2mdk - 20000405 * Fri Jan 07 2000 - David BAUDENS <baudens@mandrakesoft.com> - Build for 7.0 * Tue Dec 30 1999 - David BAUDENS <baudens@mandrakesoft.com> - French HTML version * Sat Dec 04 1999 - David BAUDENS <baudens@mandrakesoft.com> - 19991204 - Keep only html format (others are in contribs) * Fri May 14 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Mandrake adaptations. * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - no <BASE HREF...> in howto-index.html * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 2) * Tue Jan 26 1999 Cristian Gafton <gafton@redhat.com> - updated howtos - marked translations with %lang(XX) - get rid of pdf, ps and dvi formats * Thu Oct 01 1998 Cristian Gafton <gafton@redhat.com> - added the Serbian Howtos * Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com> - updated archive - added croatian and slovenian subpackages * Wed Apr 15 1998 Cristian Gafton <gafton@redhat.com> - updated archive - subpackages for each language * Fri Oct 24 1997 Otto Hammersmith <otto@redhat.com> - fixed missing HOWTOs because the download ran out of space - added an index html page for the howto-html package * Thu Oct 23 1997 Otto Hammersmith <otto@redhat.com> - untarred the html tarballs to obsolete the ldp package * Wed Oct 22 1997 Otto Hammersmith <otto@redhat.com> - updated version - fixed description for the right date * Thu Jul 31 1997 Erik Troan <ewt@redhat.com> - made a noarch package * Sat Apr 19 1997 Otto Hammersmith <otto@redhat.com> - Updated to more recent HOWTOs. - In the next major version, %{_docdir} really ought to be cleaned out. Right now, the ldp and howto packages overlap somewhat. (HTML docs, the former, however, only has tar.gz files) I didn't want to rearrange too much for 4.2, and there are other documentation issues such as /usr/info.