Name: lpairs Summary: Classical memory game with cards Version: 1.0.4 Release: 1 License: GPLv2+ and CC-BY-SA and Freely redistributable without restriction Group: Amusements/Games URL: http://lgames.sourceforge.net/index.php?project=LPairs Source0: http://dl.sf.net/lgames/%{name}-%{version}.tar.gz Patch0: %{name}-1.0.3-datadir.diff Patch1: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: patch BuildRequires: gettext BuildRequires: SDL-devel >= 1.2.14-3 Requires: gettext Requires: SDL >= 1.2.14-3 %description LPairs is a classical memory game. This means you have to find pairs of identical cards which will then be removed. Your time and tries needed will be counted but there is no highscore chart or limit to this. %prep %setup -q export PATH=/opt/freeware/bin:$PATH %patch0 -p0 %patch1 %build export CC="xlc_r" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --disable-sound make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc AUTHORS ChangeLog COPYING README %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/locale/*/*/* /usr/bin/%{name} %changelog * Tue Mar 08 2011 Michael Perzl - 1.0.4-1 - first version for AIX V5.1 and higher