%define DATE 20040130 %define language Finnish %define lang fi %define format1 html-%{lang} %define format2 HTML/%{lang} Summary: %language HOWTO documents (html format) from the Linux Documentation Project Name: howto-%{format1} Version: 10.0 Release: 1mdk 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 * Fri Jan 30 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10.0-1mdk - from Thomas Backlund <tmb@mandrake.org>: * updated Sal-Faq to 0.2.1 * updated Finnish-Howto to 2.0.21 * Mon Mar 03 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.1-1mdk from Thomas Backlund <tmb@iki.fi>: - first mdk build - specs and look based on howto-html 9.1-0.6mdk