Name: kdegames Version: 4.4.1 Release: 1%{?_dist_release} Summary: K Desktop Environment - Games Summary(ja): K デスクトップ環境 - ゲーム集 License: GPLv2 Group: Applications/Games URL: http://www.kde.org/ Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: desktop-file-utils BuildRequires: ggz-client-libs-devel BuildRequires: kdelibs4-devel >= %{version} BuildRequires: qca2-devel Requires: %{name}-libs = %{version}-%{release} Requires(post): ggz-client-libs Requires(post): desktop-file-utils Requires(preun): ggz-client-libs Requires(postun): desktop-file-utils # KSnakeDuel moved here from kdegames3 #Conflicts: kdegames3 < 3.5.10-6 Obsoletes: kdegames4 < %{version}-%{release} Provides: kdegames4 = %{version}-%{release} Obsoletes: ksudoku < 0.5-1 Provides: ksudoku = 0.5-1 Obsoletes: ksirk < %{version}-%{release} Provides: ksirk = %{version}-%{release} %description Games for the K Desktop Environment 4, including: * bomber * bovo * kapman * katomic * kblackbox * kblocks * kbounce * kbreakout * kdiamond * kfourinline * kgoldrunner * killbots * kiriki * kjumpingcube * klines * kmahjongg * kmines * knetwalk * kolf * kollision * konquest * kpat * kreversi * ksame * kshisen * ksinkships * ksirk * ksnakeduel / ksnake * kspaceduel * ksquares * ksudoku * ktuberling * kubrick * lskat %package libs Summary: Runtime libraries for %{name} Group: System Environment/Libraries %description libs %{summary}. %package devel Summary: Development files for kdegames Summary(ja): kdegames の開発用ファイル Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} Requires: kdelibs4-devel Obsoletes: kdegames4-devel < %{version}-%{release} Provides: kdegames4-devel = %{version}-%{release} %description devel Development files for the KDE gaming libraries. Install kdegames-devel if you wish to develop or compile games for the KDE desktop. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} unset QTDIR || : ; . /etc/profile.d/qt4.sh %cmake \ -DCMAKE_BUILD_TYPE=release \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ -DLIB_INSTALL_DIR:PATH=%{_libdir} \ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ -DSKIP_GGZCONFIG=1 \ .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf $RPM_BUILD_ROOT make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} install -m644 -p -D ./kbattleship/src/module.dsc \ $RPM_BUILD_ROOT%{_datadir}/ggz/kbattleship.dsc install -m644 -p -D ./kreversi/module.dsc \ $RPM_BUILD_ROOT%{_datadir}/ggz/kreversi.dsc install -m644 -p -D ./ksquares/src/module.dsc \ $RPM_BUILD_ROOT%{_datadir}/ggz/ksquares.dsc %check for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do desktop-file-validate $f done %clean rm -rf $RPM_BUILD_ROOT %post /usr/bin/ggz-config --install --force --modfile=%{_datadir}/ggz/kbattleship.dsc ||: /usr/bin/ggz-config --install --force --modfile=%{_datadir}/ggz/kreversi.dsc ||: /usr/bin/ggz-config --install --force --modfile=%{_datadir}/ggz/ksquares.dsc ||: touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : touch --no-create %{_datadir}/icons/locolor &> /dev/null || : touch --no-create %{_datadir}/icons/oxygen &> /dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/locolor &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null || : update-desktop-database -q &> /dev/null ||: %postun update-mime-database %{_datadir}/mime &> /dev/null || : if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : touch --no-create %{_datadir}/icons/locolor &> /dev/null || : touch --no-create %{_datadir}/icons/oxygen &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/locolor &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null || : update-desktop-database -q &> /dev/null ||: fi %preun if [ $1 -eq 0 ]; then /usr/bin/ggz-config --remove --modfile=%{_datadir}/ggz/kbattleship.dsc ||: /usr/bin/ggz-config --remove --modfile=%{_datadir}/ggz/kreversi.dsc ||: /usr/bin/ggz-config --remove --modfile=%{_datadir}/ggz/ksquares.dsc ||: fi %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS README %{_bindir}/* %{_datadir}/kde4/apps/* %exclude %{_datadir}/kde4/apps/cmake %{_datadir}/config/* %{_datadir}/sounds/*.ogg %{_datadir}/sounds/kshisen/*.ogg %{_datadir}/sounds/kapman/ %{_datadir}/applications/kde4/* %{_datadir}/config.kcfg/* %{_datadir}/kde4/services/kbattleship.protocol %{_datadir}/kde4/services/ServiceMenus/palapeli_servicemenu.desktop %{_datadir}/kde4/services/pala*.desktop %{_datadir}/kde4/servicetypes/libpala-slicerplugin.desktop %doc %{_docdir}/HTML/en/* %{_datadir}/icons/hicolor/*/*/* %{_datadir}/icons/locolor/*/*/* %{_datadir}/icons/oxygen/*/*/* %{_libdir}/kde4/pala*.so %{_datadir}/mime/packages/palapeli-mimetypes.xml %{_datadir}/ggz/kbattleship.dsc %{_datadir}/ggz/kreversi.dsc %{_datadir}/ggz/ksquares.dsc #{_sysconfdir}/ggz.modules.d/kdegames %files libs %defattr(-,root,root,-) %doc COPYING %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) %{_includedir}/kde4/* %{_libdir}/lib*.so %{_datadir}/kde4/apps/cmake/modules/* %dir %{_libdir}/libpala/ %{_libdir}/libpala/*.cmake %changelog * Sun Mar 14 2010 Ryoichi INAGAKI 4.4.1-1 - new upstream release - built with new toolchain * Wed Nov 25 2009 Ryoichi INAGAKI 4.3.3-1 - new upstream release * Mon Oct 25 2009 Ryoichi INAGAKI 4.3.2-1 - new upstream release * Sun Sep 27 2009 Ryoichi INAGAKI 4.3.1-1 - new upstream release * Sun Aug 30 2009 Ryoichi INAGAKI 4.3.0-1 - new upstream release * Mon May 11 2009 Ryoichi INAGAKI 3.5.8-1 - applied new versioning policy, spec in UTF-8 * Mon Oct 22 2007 AKIYAMA Kazuhito 3.5.8-0vl2 - rebuild for VineSeed * Mon Oct 22 2007 AKIYAMA Kazuhito 3.5.8-0vl1 - new upstream release * Wed Jun 20 2007 AKIYAMA Kazuhito 3.5.7-0vl2 - rebuild for VineSeed * Wed May 23 2007 AKIYAMA Kazuhito 3.5.7-0vl1 - new upstream release * Tue Jan 23 2007 AKIYAMA Kazuhito 3.5.6-0vl1 - new upstream release * Sun Oct 22 2006 NAKAMURA Kenta 3.5.5-0vl3 - added --with-qt-libraries and --enable-libsuffix option * Tue Oct 3 2006 AKIYAMA Kazuhito 3.5.5-0vl2 - rebuild for VineSeed * Tue Oct 3 2006 AKIYAMA Kazuhito 3.5.5-0vl1 - new upstream release * Mon Sep 25 2006 Ryoichi INAGAKI 3.5.4-0vl3 - changed Group to Applications/Games - added Japanese summary * Tue Aug 1 2006 AKIYAMA Kazuhito 3.5.4-0vl2 - rebuild for VineSeed * Tue Aug 1 2006 AKIYAMA Kazuhito 3.5.4-0vl1 - new upstream release * Tue May 30 2006 AKIYAMA Kazuhito 3.5.3-0vl2 - rebuild for VineSeed * Tue May 30 2006 AKIYAMA Kazuhito 3.5.3-0vl1 - new upstream release * Wed Mar 22 2006 AKIYAMA Kazuhito 3.5.2-0vl2 - rebuild for VineSeed * Wed Mar 22 2006 AKIYAMA Kazuhito 3.5.2-0vl1 - new upstream release * Mon Feb 6 2006 AKIYAMA Kazuhito 3.5.1-0vl2 - rebuild for VineSeed * Mon Feb 6 2006 AKIYAMA Kazuhito 3.5.1-0vl1 - new upstream release * Thu Dec 8 2005 AKIYAMA Kazuhito 3.5.0-0vl2 - rebuild for VineSeed * Tue Nov 22 2005 AKIYAMA Kazuhito 3.5.0-0vl1 - new upstream release * Mon Nov 14 2005 AKIYAMA Kazuhito 3.5.0-0vl0.rc1 - new upstream release * Mon Oct 17 2005 AKIYAMA Kazuhito 3.4.92-0vl1 - new upstream release * Wed Sep 21 2005 AKIYAMA Kazuhito 3.4.91-0vl1 - new upstream release * Fri Jul 22 2005 AKIYAMA Kazuhito 3.4.2-0vl2 - rebuild for VineSeed * Fri Jul 22 2005 AKIYAMA Kazuhito 3.4.2-0vl1 - new upstream release * Mon Jun 6 2005 AKIYAMA Kazuhito 3.4.1-0vl2 - build for VineSeed - add --disable-rpath to configure option * Mon Jun 6 2005 AKIYAMA Kazuhito 3.4.1-0vl1 - new upstream release - use %%{?_smp_mflags} for make option * Wed Mar 16 2005 AKIYAMA Kazuhito 3.4.0-0vl2 - rebuild for VineSeed * Mon Mar 14 2005 AKIYAMA Kazuhito 3.4.0-0vl1 - new upstream release * Fri Mar 4 2005 AKIYAMA Kazuhito 3.4.0-0vl0.rc1 - new upstream release (3.4.0-rc1) - update %%files * Sat Dec 18 2004 AKIYAMA Kazuhito 3.3.2-0vl2 - rebuild for VineSeed * Sat Dec 18 2004 AKIYAMA Kazuhito 3.3.2-0vl1 - source upgrade - build for Vine Linux 3.1 * Thu Oct 14 2004 AKIYAMA Kazuhito 3.3.1-0vl1 - source upgrade * Tue Aug 10 2004 AKIYAMA Kazuhito 3.2.3-0vl2 - rebuild with qt32 * Sun Jun 6 2004 AKIYAMA Kazuhito 3.2.3-0vl1 - source upgrade - remove lines about vine26 - add URL: http://www.kde.org/ * Sat May 1 2004 AKIYAMA Kazuhito 3.2.2-0vl1 - source upgrade * Tue Mar 23 2004 AKIYAMA Kazuhito 3.2.1-0vl2 - move *.so to main package * Tue Mar 9 2004 AKIYAMA Kazuhito 3.2.1-0vl1 - source upgrade * Thu Feb 5 2004 AKIYAMA Kazuhito 3.2.0-0vl1 - source upgrade * Sat Jan 17 2004 AKIYAMA Kazuhito 3.1.5-0vl2 - rebuild for VineSeedPlus * Sat Jan 10 2004 AKIYAMA Kazuhito 3.1.5-0vl1 - source upgrade - build for VinePlus/2.6 - (VinePlus/2.6) BuildPrereq: autoconf258 * Fri Dec 26 2003 AKIYAMA Kazuhito 3.1.4-0vl3 - build for VineSeed with new toolchain and qt-3.2.3 * Sun Oct 19 2003 AKIYAMA Kazuhito 3.1.4-0.26vl2 - rebuild with qt-3.2.1-0.26vl3 * Sun Oct 19 2003 AKIYAMA Kazuhito 3.1.4-0vl2 - rebuild with qt-3.2.1-0vl3 * Thu Sep 18 2003 AKIYAMA Kazuhito 3.1.4-0vl1 - source upgrade - build with gcc-3.2.3 * Sun Jul 20 2003 AKIYAMA Kazuhito 3.1.3-0vl1 - source upgrade - change spec to build with gcc295 - change make option for SMP and add script * Tue Jun 24 2003 AKIYAMA Kazuhito 3.1.2-0vl2 - change spec to build with g++-2.95.3 * Sat May 10 2003 AKIYAMA Kazuhito 3.1.2-0vl1 - source upgrade - built with libpng >= 1.2.5 when %{vine26} is set to 0 (ie VineSeedPlus) * Sat Mar 29 2003 AKIYAMA Kazuhito 3.1.1-0vl1 - source upgrade - change spec to build both VineSeed and Vine2.5/2.6 * Fri Jan 31 2003 AKIYAMA Kazuhito 3.1-0vl1 - source upgrade to 3.1-stable * Mon Jan 20 2003 AKIYAMA Kazuhito 3.1-0.rc7vl1 - source upgrade to 3.1rc7 - stop using objprelink2, it does not work with gcc3 - change spec to make monolithic package only - move %{_libdir}/*.la and %{_libdir}/*.so to devel package - add %{_libdir}/kde3/* - cleanup spec * Sun Dec 29 2002 AKIYAMA Kazuhito 3.0.5a-0vl1 - source upgrade * Sat Oct 19 2002 AKIYAMA Kazuhito 3.0.4-0vl2 - objprelink2 support only ix86 (add %ifarch %{ix86} ... ) - add Prereq: ldconfig - add Requires: XFree86-libs XFree86-gl freetype2 libjpeg libmng libpng zlib - add Requires: qt >= 3.0.5 arts >= 1:1.0.4 kdelibs >= %{version} * Sun Oct 13 2002 AKIYAMA Kazuhito 3.0.4-0vl1 - source upgrade - BuildPrereq: autoconf253 objprelink2 * Mon Sep 16 2002 AKIYAMA Kazuhito 3.0.3-0vl1 - source upgrade * Fri Jul 5 2002 AKIYAMA Kazuhito 3.0.2-0vl1 - source upgrade * Fri Jun 7 2002 AKIYAMA Kazuhito 3.0.1-0vl1 - source update to 3.0.1 * Wed Apr 24 2002 AKIYAMA Kazuhito 3.0-1vl2 - source update to 3.0 - add configure option `--with-xinerama --enable-final' - add kbounce * Sat Mar 30 2002 AKIYAMA Kazuhito 3.0-1vl1 - merged with rawhide 3.0.0-0.cvs20020306.1 - source update to cvs-20020329 - add BuildPrereq: autoconf252 automake15 - There is Vine's previous changes, hacked for Vine -- Sun Mar 17 2002 AKIYAMA Kazuhito 2.2.2-0vl1 - update to 2.2.2 -- Fri Nov 30 2001 AKIYAMA Kazuhito 2.2.1-1vl1 - Delete Epoch - Change BuildRequires and Requires - objprelink (i386 only) - Build for VineSeed * Wed Mar 6 2002 Bernhard Rosenkraenzer 3.0.0-0.cvs20020306.1 - Fix packaging glitch in monolithic version * Tue Mar 5 2002 Bernhard Rosenkraenzer 3.0.0-0.cvs20020305.1 - Make splits a buildtime option (off by default) on request * Mon Jan 7 2002 Bernhard Rosenkraenzer 3.0.0-0.cvs20020107.1 - Update to work with latest kdelibs changes * Wed Dec 26 2001 Bernhard Rosenkraenzer 3.0.0-0.cvs20011226.1 - Update - Add missing %{_bindir}/kbattleship * Sat Dec 15 2001 Bernhard Rosenkraenzer 3.0.0-0.cvs20011215.1 - Update - Split into several packages (one package per game) * Sun Jul 22 2001 Bernhard Rosenkraenzer 2.2-0.cvs20010722.1 - Update - Work around ia64 breakages - Add build requirements (#48977) * Thu Feb 22 2001 Bernhard Rosenkraenzer - Fix problem when changing the card type (Bug #28824) * Wed Feb 21 2001 Bernhard Rosenkraenzer - 2.1-respin * Tue Feb 20 2001 Bernhard Rosenkraenzer - 2.1 * Sun Feb 11 2001 Than Ngo - don't use make -j CPU, it's broken * Thu Feb 1 2001 Bernhard Rosenkraenzer - Run ldconfig in %%post and %%postun to make libkdegames happy - Replace absolute symlinks with relative symlinks (#24787) * Mon Jan 22 2001 Bernhard Rosenkraenzer - Update - includedir=/usr/include/kde, now that libkdegames installs kcarddeck.h * Wed Jan 17 2001 Bernhard Rosenkraenzer - Get rid of the gcc bug workaround, it's no longer needed * Mon Jan 1 2001 Bernhard Rosenkraenzer - Update - Don't exclude ia64 * Wed Nov 15 2000 Bernhard Rosenkraenzer - Update to HEAD * Sat Oct 28 2000 Bernhard Rosenkraenzer - Update to KDE_2_0_BRANCH, now that the ".0 release" bugs are fixed. * Mon Oct 16 2000 Bernhard Rosenkraenzer - 2.0 final * Tue Oct 3 2000 Bernhard Rosenkraenzer - 2.0 * Mon Oct 2 2000 Bernhard Rosenkraenzer - new CVS - work around g++ bugs (in kjumpingcube) * Thu Aug 24 2000 Bernhard Rosenkraenzer - 1.93 * Mon Aug 7 2000 Bernhard Rosenkraenzer - new version * Wed Jul 19 2000 Than Ngo - fix docdir - rebuild 16 July snapshot * Thu Jul 13 2000 Bernhard Rosenkraenzer - SMPify - don't hardcode QTDIR * Tue Jul 11 2000 Bernhard Rosenkraenzer - use gcc 2.96 - new snapshot * Tue Jun 20 2000 Bernhard Rosenkraenzer - new snapshot - ExcludeArch ia64 for now * Sat Mar 18 2000 Bernhard Rosenkraenzer - new snapshot - move it to /usr, where it belongs * Fri Oct 22 1999 Bernhard Rosenkraenzer - 2.0 snapshot * Fri Sep 24 1999 Preston Brown - mark doc files as such * Thu Sep 09 1999 Preston Brown - 1.1.2 release. * Fri Jun 11 1999 Preston Brown - snapshot, includes kde 1.1.1 + fixes * Mon Apr 19 1999 Preston Brown - last snapshot before release - ripped out asteroids and sirtet * Mon Apr 12 1999 Preston Brown - latest stable snapshot * Wed Feb 24 1999 Preston Brown - Injected new description and group. * Mon Feb 08 1999 Preston Brown - upgraded to KDE 1.1 final. * Fri Feb 05 1999 Preston Brown - rebuilt for new libstdc++ etc. * Wed Jan 06 1999 Preston Brown - re-merged updates from Duncan Haldane, change /opt/kde --> /usr