Name: gnome-hearts Version: 0.2.1 Release: 1%{?dist} Summary: Hearts game for GNOME Group: Amusements/Games License: GPLv2+ and GFDL URL: http://www.jejik.com/gnome-hearts/ Source0: http://www.jejik.com/files/gnome-hearts/gnome-hearts-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libgnomeui-devel BuildRequires: libglade2-devel BuildRequires: python-devel BuildRequires: intltool BuildRequires: gettext BuildRequires: desktop-file-utils %description An implementation of the classic hearts card game for the GNOME desktop, featuring configurable rulesets and editable computer opponents to satisfy widely diverging playing styles. Gnome Hearts is Free Software, released under the GNU General Public License and should be able to run on any computer that can run the GNOME desktop. %prep %setup -q %build %configure make %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop %find_lang %{name} --with-gnome %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING README NEWS AUTHORS TODO %{_bindir}/gnome-hearts %{_datadir}/applications/gnome-hearts.desktop %{_datadir}/gnome-hearts %{_mandir}/man6/gnome-hearts.6* %{_datadir}/pixmaps/gnome-hearts.png %{_datadir}/pixmaps/gnome-hearts %changelog * Sat Mar 1 2008 Christopher Aillon - 0.2.1-1 - Update to 0.2.1 - Package cleanups I noticed in Richi's earlier package attempt * Fri Nov 23 2007 Richi Plana - 0.2-3.svn163 - Pre-generated "configure" script - Added find_lang macro - Used desktop-file-install in install * Wed Nov 21 2007 Richi Plana - 0.2-2.svn163 - Added BuildRequires to satisfy SVN build. - Fixed rpmlint warning of unstripped-binary. * Sat Nov 17 2007 Richi Plana - 0.2-1.svn163 - Initial attempt at packaging.