Name: pairs Version: 4.8.90 Release: 1%{?dist} Summary: Memory and logic stimulation game for preschool children License: GPLv2 or GPLv3 URL: http://www.kde.org/ %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: ftp://ftp.kde.org/pub/kde/%{stable}/%{version}/src/%{name}-%{version}.tar.xz #BuildRequires: kdelibs4-devel >= %{version} %description Pairs is a collection of games aimed to help the development of preschool children. With these games the child can improve memory, logic, hearing and even reading skills. Each game can have different themes so the child is stimulated with different and new challenges. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %check desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/pairs.desktop %post touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null fi %posttrans gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || : %files %doc README COPYING %{_kde4_bindir}/pairs %{_kde4_datadir}/applications/kde4/pairs.desktop %{_kde4_configdir}/pairs.knsrc %{_kde4_iconsdir}/hicolor/*/*/* %{_kde4_appsdir}/pairs/ %changelog * Wed Jun 13 2012 Jaroslav Reznik 4.8.90-1 - 4.8.90 - Fedora and the other non-free logo removed * Thu May 31 2012 Jaroslav Reznik 4.8.80-1 - initial try