# These games are already in KDE 4. %define donotcompilelist katomic kbattleship kblackbox kbounce kgoldrunner kjumpingcube klines klickety kmahjongg kmines knetwalk kolf konquest kpat kreversi ksame kshisen kspaceduel ktron ktuberling kwin4 lskat Name: kdegames3 Summary: KDE 3 Games not ported to KDE 4 Summary(ja): KDE 4 に移植されていない KDE 3 ゲーム集 Version: 3.5.10 Release: 4%{?_dist_release} License: GPLv2 Group: Applications/Games URL: http://www.kde.org/ Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdegames-%{version}.tar.bz2 Patch0: kdegames-3.5.10-trademarks.patch # fix FTBFS with the new stricter ld in F13 (#565113) Patch2: kdegames-3.5.10-ftbfs.patch # fixes to common KDE 3 autotools machinery # tweak autoconfigury so that it builds with autoconf 2.64 or 2.65 Patch300: kde3-acinclude.patch # remove flawed and obsolete automake version check in admin/cvs.sh Patch301: kde3-automake-version.patch # fix build failure with automake 1.13: add the --add-missing --copy flags # also add --force-missing to get aarch64 support (#925029/#925627) Patch302: kde3-automake-add-missing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: automake libtool BuildRequires: kdelibs3-devel >= %{version} Requires: kdelibs3 >= %{version} Requires: hicolor-icon-theme %description Games and gaming libraries for KDE which have not been ported to KDE 4 yet. Included with this package are: atlantik, kasteroids, kbackgammon, kboxpush, kenolaba, kfouleggs, kpoker, ksirtet, ksmiletris, ksnake. %package devel Summary: Development files for kdegames3 Summary(ja): kdegames3 の開発用ファイル Group: Development/Libraries License: LGPLv2 Requires: %{name} = %{version}-%{release} Requires: kdelibs3-devel >= %{version} %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 -n kdegames-%{version} %patch0 -p1 %patch2 -p1 -b .ftbfs export DO_NOT_COMPILE="%{donotcompilelist}" %patch300 -p1 -b .acinclude %patch301 -p1 -b .automake-version %patch302 -p1 -b .automake-add-missing make -f admin/Makefile.common cvs %build unset QTDIR || : ; . /etc/profile.d/qt.sh export DO_NOT_COMPILE="%{donotcompilelist}" %configure \ --with-qt-libraries=$QTDIR/lib \ --enable-new-ldflags \ --disable-dependency-tracking \ --disable-rpath \ --enable-final \ --disable-debug \ --disable-warnings \ --includedir=%{_includedir}/kde \ --disable-setgid make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT export DO_NOT_COMPILE="%{donotcompilelist}" make DESTDIR=$RPM_BUILD_ROOT install # locales %find_lang %{name} || touch %{name}.lang HTML_DIR=$(kde-config --expandvars --install html) if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do if [ -d $lang_dir ]; then # remove documentation for games we don't ship pushd $lang_dir for i in *; do case "%{donotcompilelist}" in *$i*) # $i is listed in %{donotcompilelist}, zap [ -d $i ] && rm -rf $i ;; esac done rm -rf kdegames-apidocs popd lang=$(basename $lang_dir) echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang # replace absolute symlinks with relative ones pushd $lang_dir for i in *; do [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common done popd fi done fi # rpmdocs for dir in atlantik k* ; do case "%{donotcompilelist}" in *$dir*) # $dir is listed in %{donotcompilelist}, skip ;; *) for file in AUTHORS ChangeLog README TODO ; do test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" done ;; esac done # remove libkdegames devel stuff, not used by anything and conflicts with KDE 4 rm -rf $RPM_BUILD_ROOT%{_includedir}/kde/k* $RPM_BUILD_ROOT%{_libdir}/libkdegames.so %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig for f in crystalsvg hicolor ; do touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: done update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %postun /sbin/ldconfig for f in crystalsvg hicolor ; do touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: done update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %files %defattr(-,root,root) %doc %{_datadir}/doc/HTML/en/* %{_bindir}/* %{_libdir}/lib*.so.* %{_libdir}/lib*.la %{_libdir}/kde3/* %{_datadir}/applications/kde/*.desktop %{_datadir}/apps/* %{_datadir}/config.kcfg/* %{_datadir}/icons/crystalsvg/*/*/* %{_datadir}/icons/hicolor/*/*/* %{_datadir}/services/* %files devel %defattr(-,root,root) %{_includedir}/kde/* %{_libdir}/lib*.so %changelog * Sun Jul 10 2016 Yoji TOYODA 3.5.10-4 - rebuild with gcc-5.4.0 * Wed Oct 8 2014 Ryoichi INAGAKI 3.5.10-3 - rebuilt with current VineSeed - added Patch300, 301 and 302 from FC - dropt Patch1 * Sun Feb 20 2011 Ryoichi INAGAKI 3.5.10-2 - dropt klickety * Sun Mar 21 2010 Ryoichi INAGAKI 3.5.10-1 - updated to 3.5.10 based on FC - built with new toolchain * Sun Aug 30 2009 Ryoichi INAGAKI 3.5.8-2 - renamed kdegames3 * 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