%define version 0.0.7 %define release 1mdk Name: ggz-docs Summary: GGZ Documents Version: %{version} Release: %{release} License: GPL Group: Games/Other # http://download.sf.net/ggz/ Source: %{name}-%{version}.tar.bz2 URL: http://ggz.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildArch: noarch Prereq: /sbin/install-info %description Documents for the GGZ Gaming Zone. %prep %setup -q %build # (Abel) no problem for noarch package to not use macros # in fact it fails to build with macros ./configure --prefix=%{_prefix} --infodir=%{_infodir} %make %install [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ] || rm -rf $RPM_BUILD_ROOT %makeinstall_std mv $RPM_BUILD_ROOT/%{_docdir}/ggz-docs $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} %post %_install_info %{name}-game-development-guide.info %_install_info %{name}-hosting-guide.info %preun %_remove_install_info %{name}-game-development-guide.info %_remove_install_info %{name}-hosting-guide.info %clean [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ] || rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc %{_docdir}/%{name}-%{version} %{_infodir}/ggz-game-development-guide.info.* %{_infodir}/ggz-hosting-guide.info.* %changelog * Sat Sep 6 2003 Abel Cheung <deaddog@deaddog.org> 0.0.7-1mdk - 0.0.7 * Mon Mar 17 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.0.6-2mdk - from andi payn <payn@myrealbox.com> : - complete the Mandrakization process * Fri Jan 19 2003 Andi Payn <payn@myrealbox.net> - Initial specification file