Rex Dieter 010979
Rex Dieter 010979
Name:    kollision
Rex Dieter 010979
Summary: A simple ball dodging game
Rex Dieter d88504
Version: 4.12.2
Rex Dieter 8059b8
Release: 1%{?dist}
Rex Dieter 010979
Rex Dieter 010979
License: GPLv2+ and GFDL
Rex Dieter 010979
URL:     https://projects.kde.org/projects/kde/kdegames/%{name}
Rex Dieter 010979
%global revision %(echo %{version} | cut -d. -f3)
Rex Dieter 010979
%if %{revision} >= 50
Rex Dieter 010979
%global stable unstable
Rex Dieter 010979
%else
Rex Dieter 010979
%global stable stable
Rex Dieter 010979
%endif
Rex Dieter 010979
Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
Rex Dieter 010979
Rex Dieter 010979
BuildRequires: desktop-file-utils
Rex Dieter 010979
BuildRequires: libkdegames-devel >= %{version}
Rex Dieter 010979
Rex Dieter 010979
Requires: libkdegames%{?_isa} >= %{_kde4_version}
Rex Dieter 010979
Rex Dieter 010979
%description
Rex Dieter 010979
Kollision is a simple ball dodging game. Let the blue ball
Rex Dieter 010979
move in the field without touching the red balls.
Rex Dieter 010979
Rex Dieter 010979
Rex Dieter 010979
%prep
Rex Dieter 010979
%setup -q
Rex Dieter 010979
Rex Dieter 010979
Rex Dieter 010979
%build
Rex Dieter 010979
mkdir -p %{_target_platform}
Rex Dieter 010979
pushd %{_target_platform}
Rex Dieter 010979
%{cmake_kde4} ..
Rex Dieter 010979
popd
Rex Dieter 010979
Rex Dieter 010979
make %{?_smp_mflags} -C %{_target_platform}
Rex Dieter 010979
Rex Dieter 010979
Rex Dieter 010979
%install
Rex Dieter 010979
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter 010979
Rex Dieter 010979
%find_lang %{name} --with-kde
Rex Dieter 010979
Rex Dieter 010979
Rex Dieter 010979
%check
Rex Dieter 010979
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop
Rex Dieter 010979
Rex Dieter 010979
Rex Dieter 010979
%post
Rex Dieter 010979
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
Rex Dieter 010979
touch --no-create %{_kde4_iconsdir}/oxygen &> /dev/null || :
Rex Dieter 010979
Rex Dieter 010979
%postun
Rex Dieter 010979
if [ $1 -eq 0 ] ; then
Rex Dieter 010979
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null
Rex Dieter 010979
touch --no-create %{_kde4_iconsdir}/oxygen &> /dev/null || :
Rex Dieter 010979
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
Rex Dieter 010979
gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null || :
Rex Dieter 010979
fi
Rex Dieter 010979
Rex Dieter 010979
%posttrans
Rex Dieter 010979
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
Rex Dieter 010979
gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null || :
Rex Dieter 010979
Rex Dieter 010979
Rex Dieter 010979
%files -f %{name}.lang
Rex Dieter 010979
%doc COPYING*
Rex Dieter 010979
%{_kde4_bindir}/%{name}
Rex Dieter 010979
%{_kde4_datadir}/applications/kde4/%{name}.desktop
Rex Dieter 010979
%{_kde4_iconsdir}/hicolor/*/*/*
Rex Dieter 010979
%{_kde4_iconsdir}/oxygen/*/*/*
Rex Dieter 010979
%{_kde4_appsdir}/%{name}/
Rex Dieter 010979
Rex Dieter 010979
Rex Dieter 010979
%changelog
Rex Dieter d88504
* Fri Jan 31 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.2-1
Rex Dieter d88504
- 4.12.2
Rex Dieter d88504
Rex Dieter e51291
* Fri Jan 10 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.1-1
Rex Dieter e51291
- 4.12.1
Rex Dieter e51291
Rex Dieter 73486f
* Thu Dec 19 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.12.0-1
Rex Dieter 73486f
- 4.12.0
Rex Dieter 73486f
Rex Dieter bbb613
* Sun Dec 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.97-1
Rex Dieter bbb613
- 4.11.97
Rex Dieter bbb613
Rex Dieter 7cb5cf
* Thu Nov 21 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.95-1
Rex Dieter 7cb5cf
- 4.11.95
Rex Dieter 7cb5cf
Rex Dieter 8df7cb
* Sat Nov 16 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.90-1
Rex Dieter 8df7cb
- 4.11.90
Rex Dieter 8df7cb
Rex Dieter ae612a
* Sat Nov 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.3-1
Rex Dieter ae612a
- 4.11.3
Rex Dieter ae612a
Rex Dieter 51d2f7
* Sat Sep 28 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.2-1
Rex Dieter 51d2f7
- 4.11.2
Rex Dieter 51d2f7
Rex Dieter f3c9f3
* Wed Sep 04 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.1-1
Rex Dieter f3c9f3
- 4.11.1
Rex Dieter f3c9f3
032bb4
* Thu Aug 08 2013 Than Ngo <than@redhat.com> - 4.11.0-1
032bb4
- 4.11.0
032bb4
Rex Dieter 98fd7a
* Thu Jul 25 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.97-1
Rex Dieter 98fd7a
- 4.10.97
Rex Dieter 98fd7a
Rex Dieter fef4fd
* Tue Jul 23 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.95-1
Rex Dieter fef4fd
- 4.10.95
Rex Dieter fef4fd
Rex Dieter ac6db6
* Fri Jun 28 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.90-1
Rex Dieter ac6db6
- 4.10.90
Rex Dieter ac6db6
Rex Dieter b6dc7c
* Sat Jun 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.4-1
Rex Dieter b6dc7c
- 4.10.4
Rex Dieter b6dc7c
96e454
* Mon May 06 2013 Than Ngo <than@redhat.com> - 4.10.3-1
96e454
- 4.10.3
96e454
Rex Dieter d70b17
* Mon Apr 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.2-1
Rex Dieter d70b17
- 4.10.2
Rex Dieter d70b17
Rex Dieter 8059b8
* Sat Mar 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.1-1
Rex Dieter 8059b8
- 4.10.1
Rex Dieter 8059b8
Rex Dieter 010979
* Fri Feb 15 2013 Rex Dieter <rdieter@fedoraproject.org> 4.10.0-2
Rex Dieter 010979
- update license, description
Rex Dieter 010979
Rex Dieter 010979
* Thu Feb 07 2013 Rex Dieter <rdieter@fedoraproject.org> 4.10.0-1
Rex Dieter 010979
- first try
Rex Dieter 010979