From: Ryan Flegel Date: Tue, 29 Jun 2004 17:31:30 +0000 (+0000) Subject: - added specfile from Peter Astakhov X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=0d50f0458107fd7cf5e5a25c6ef13491fe886bf1;p=supertux.git - added specfile from Peter Astakhov SVN-Revision: 1521 --- diff --git a/contrib/supertux.spec b/contrib/supertux.spec new file mode 100644 index 000000000..0b7b7fa37 --- /dev/null +++ b/contrib/supertux.spec @@ -0,0 +1,65 @@ +Name: supertux +Version: 0.1.1 +Release: 2zebar + +Group: Amusements/Games +Summary: A free arcade game like Super Mario. + +Vendor: The SuperTux Developer Team +Packager: Astakhov Peter +License: GPL +URL: http://super-tux.sf.net/ +Source0: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Prefix: /usr +Requires: SDL, SDL_image, SDL_mixer +BuildRequires: SDL-devel, SDL_mixer-devel, SDL_image-devel +%description +SuperTux is a jump'n run like game, with strong inspiration from the +Super Mario Bros games for Nintendo. + +Run and jump through multiple worlds, fighting off enemies by jumping +on them or bumping them from below. Grabbing power-ups and other stuff +on the way. + +%prep +#Unpack package +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ +./configure --prefix=%{_prefix} --disable-opengl --disable-debug +make + +%install +#make DESTDIR=%{buildroot} install +%makeinstall + +#Install application link for X-Windows +install -d %{buildroot}/etc/X11/applnk/Games +echo -e "[Desktop Entry] +Name=SuperTux +Comment=Arcade game +Exec=supertux +Icon=/usr/share/supertux/images/icon.xpm +Terminal=0 +Type=Application" > %{buildroot}/etc/X11/applnk/Games/SuperTux.desktop + + + + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc COPYING README ChangeLog TODO +#%doc doc/* +/etc/X11/applnk/* +%{_bindir}/* +%{_prefix}/share/supertux/* + + +%changelog +* Wed Jun 23 2004 Astakhov Peter +- initial supertux specfile