# $Id$ # Authority: matthias # Upstream: Ka-shu Wong Summary: GNOME version of a tetris game playable on the net Name: gtetrinet Version: 0.7.11 Release: 1%{?dist} License: GPL Group: Amusements/Games URL: http://gtetrinet.sourceforge.net/ Source0: http://ftp.gnome.org/pub/GNOME/sources/gtetrinet/0.7/gtetrinet-%{version}.tar.bz2 Source1: tetrinet.txt Source2: http://www.mavit.pwp.blueyonder.co.uk/mmr-sounds-1.0.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: libgnome >= 2.0.0, libgnomeui >= 2.0.0 BuildRequires: gtk2-devel >= 2.6.0, libgnome-devel >= 2.0.0, libgnomeui-devel >= 2.0.0, GConf2-devel BuildRequires: gettext, perl(XML::Parser) %description GTetrinet is a client program for the popular Tetrinet game, a multiplayer tetris game that is played over the internet. (If you don't know what Tetrinet is, check out tetrinet.org) %prep %setup %build %configure --disable-dependency-tracking %{__make} %{?_smp_mflags} # Fix the desktop entry %{__perl} -pi -e 's|Exec=%{name}|Exec=%{_prefix}/games/%{name}|g' \ %{name}.desktop %install %{__rm} -rf %{buildroot} %makeinstall GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %find_lang %{name} %{__cp} -ap %{SOURCE1} . %{__tar} -xzvf %{SOURCE2} -C %{buildroot}/%{_datadir}/gtetrinet/themes/ %clean %{__rm} -rf %{buildroot} %files -f %{name}.lang %defattr(-, root, root, 0755) %doc AUTHORS COPYING ChangeLog NEWS README tetrinet.txt %config %{_sysconfdir}/gconf/schemas/%{name}.schemas %{_prefix}/games/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name} %{_datadir}/pixmaps/%{name} %{_datadir}/pixmaps/%{name}.png %{_mandir}/man6/%{name}.6* %changelog * Sun Dec 10 2006 Dag Wieers - 0.7.11-1 - Updated to release 0.7.11. * Fri Mar 17 2006 Matthias Saou 0.7.9-2 - Release bump to drop the disttag number in FC5 build. * Thu May 26 2005 Matthias Saou 0.7.9-1 - Update to 0.7.9. * Mon Jan 3 2005 Matthias Saou 0.7.8-1 - Update to 0.7.8. * Wed May 5 2004 Matthias Saou 0.7.7-1 - Update to 0.7.7. - Minor spec updates (more macros), added perl(XML::Parser) build dep. - Updated download URL (dl.sf.net -> ftp.gnome.org). * Fri Nov 7 2003 Matthias Saou 0.7.5-1 - Update to 0.7.5. - Rebuild for Fedora Core 1. * Fri Aug 29 2003 Matthias Saou - Updated to 0.7.4. - Update to reflect the new style desktop entry. * Wed Jun 25 2003 Matthias Saou - Updated to 0.7.3. * Wed Jun 11 2003 Matthias Saou - Updated to 0.7.2. * Tue Apr 15 2003 Matthias Saou - Updated to 0.7.1. * Mon Mar 31 2003 Matthias Saou - Rebuilt for Red Hat Linux 9. * Tue Mar 18 2003 Matthias Saou - Updated to 0.7.0. * Tue Feb 11 2003 Matthias Saou - Updated to 0.6.2. * Wed Feb 5 2003 Matthias Saou - Updated to 0.6.0. * Sat Jan 11 2003 Matthias Saou - Updated to 0.5.2. * Tue Jan 7 2003 Matthias Saou - Updated to 0.5.1. * Mon Oct 21 2002 Matthias Saou - Updated to 0.4.3. - Spec file cleanup, now use %%find_lang. - New menu entry. * Sun Oct 20 2002 Peter Oliver - Updated to 0.4.2. - Added my preferred theme to the package. * Fri May 3 2002 Matthias Saou - Rebuilt against Red Hat Linux 7.3. - Added the %%{?_smp_mflags} expansion. * Wed Apr 26 2001 Matthias Saou - Spec file cleanup and rebuilt for Red Hat 7.1. - I think this was one of my first RPMs ;-) * Mon Jul 03 2000 Matthias Saou [gtetrinet-0.4.1-1] - Updated to version 0.4.1 - Cleaned up the build process - Added the original tetrinet.txt help file * Mon Jan 24 2000 - Fixed typo in spec file * Tue Dec 21 1999 - First RPM release