%define DATE 20020129 %define LANG nl %define format html-nl %define format2 HTML/nl Summary: HOWTO documents (html format) from the Linux Documentation Project Name: howto-%{format} Version: 8.2 Release: 2mdk Group: Books/Howtos Source0: howto-%{format}.tar.bz2 Source1: howto-html-%{LANG} Url: http://nl.linux.org/doc/nlhowto.php License: GPL BuildRoot: %{_tmppath}/howto-%{format}-root BuildArch: noarch BuildRequires: howto-utils Requires: locales-nl, webclient Requires: howto-utils %description Linux HOWTOs in Dutch documents are located at http://nl.linux.org/doc/nlhowto.php and ftp://fjordland.nl.linux.org/pub/HOWTO-NL/all-howtos-html.tar.gz %prep %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_docdir}/HOWTO/%{format2} cd $RPM_BUILD_ROOT%{_docdir}/HOWTO/%{format2} bzcat %{SOURCE0} | tar x install -m 755 -d $RPM_BUILD_ROOT%{_menudir} install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_menudir} (cd $RPM_BUILD_ROOT%{_docdir}/HOWTO/%{format2}; makehowtoindex Dutch; perl -p -i -e "s|<LI><A HREF=\"Bootdisk-HOWTO-NL.html\">De Linux Bootdisk HOWTO</A>|<LI><A HREF=\"Bootdisk-HOWTO-NL.html\">De Linux Bootdisk HOWTO</A>\n<LI><A HREF=\"Bootdisk/t1.html\">De Linux Bootdisk HOWTO</A>|" index.html) # this perl line is needed to include the Bootdisk-howto which is in a directory with strange file name. %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_docdir}/HOWTO/%{format2} %{_menudir}/* %post %{update_menus} %postun %{clean_menus} %changelog * 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 * Fri Mar 9 2001 Etienne Faure <etienne@mandrakesoft.com> 8.0-2mdk - Small fixes - Include Bootdisk howto * Wed Feb 28 2001 Andre van Blokland <ablokland@go.com> 8.0-1 - First Dutch Howto using English and French spec-files