%define nami big-forth %define namx bigForth %define name bigforth %define version 2.1.0 %define release 1mdk Name: %name Release: %release License: GPL Group: Development/Other Version: %version Summary: bigForth language Url: http://bigforth.sourceforge.net/ Source: http://prdownloads.sf.net/%name/%name-%version.tar.bz2 Source16: big-forth.16.png.bz2 Source32: big-forth.32.png.bz2 Source48: big-forth.48.png.bz2 BuildRoot: %_tmppath/%name-buildroot %description bigforth is a portable implementation of the ANS Forth language. Its greatest advantage is the portable widget toolkit MINOS which builds on top of it. There are a lot of similarites with GForth btw. %prep rm -rf $RPM_BUILD_ROOT %setup -n %name %build %configure make %install %makeinstall # icon section install -d %buildroot/%_miconsdir install -d %buildroot/%_iconsdir install -d %buildroot/%_liconsdir bzcat %SOURCE16 > %buildroot/%_miconsdir/%nami.png bzcat %SOURCE32 > %buildroot/%_iconsdir/%nami.png bzcat %SOURCE48 > %buildroot/%_liconsdir/%nami.png # debian menu file install -d %buildroot/%_menudir cat << EOF > %buildroot/%_menudir/%name ?package(%name):command="%_bindir/%name" \ icon="big-forth.png" needs="text" section="Applications/Development/Interpreters" \ title="bigForth" longtitle="%summary - Shell" EOF %post %{update_menus} %postun %{clean_menus} %files %defattr(-,root,root) %doc BUGS COPYING CREDITS README ToDo %_bindir/* %_libdir/%name %_iconsdir/* %_menudir/* %changelog * Fri Jul 08 2005 Lenny Cartier <lenny@mandrakesoft.com> 2.1.0-1mdk - 2.1.0 * Thu Jun 03 2004 Lenny Cartier <lenny@mandrakesoft.com> 2.0.11-1mdk - 2.0.11 * Sat Mar 22 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.0.9-1mdk - 2.0.9 * Sat Feb 01 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.0.4-3mdk - rebuild * Wed Jun 12 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.0.4-2mdk - fix unpacking - use make rather than %%make * Sat Jun 08 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.0.4-1mdk - 2.0.4