RPM Packaging: update tdegames

pull/3/head
François Andriot 10 years ago
parent 54795cd33a
commit 4b4a591aae

@ -30,7 +30,7 @@ Name: trinity-dbus-1-tqt
Epoch: %{tde_epoch}
Version: 0.9
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: dbus bindings for the Trinity Qt [TQt] interface
Summary: Dbus bindings for the Trinity Qt [TQt] interface
Group: System/Libraries
URL: http://www.trinitydesktop.org/
@ -74,7 +74,7 @@ See the dbus description for more information about D-BUS in general.
###########
%package -n %{libdbus}-1-tqt0
Summary: dbus bindings for the Trinity Qt [TQt] interface
Summary: Dbus bindings for the Trinity Qt [TQt] interface
Group: System/Libraries
Provides: libdbus-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release}
@ -104,7 +104,7 @@ See the dbus description for more information about D-BUS in general.
##########
%package -n %{libdbus}-1-tqt-devel
Summary: dbus bindings for the Trinity Qt [TQt] interface (Development Files)
Summary: Dbus bindings for the Trinity Qt [TQt] interface (Development Files)
Group: Development/Libraries/C and C++
Provides: libdbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{libdbus}-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release}

@ -66,15 +66,16 @@ BuildRequires: gtk2-devel
# CURL support
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
BuildRequires: libcurl-devel
%define libcurl_devel libcurl-devel
%else
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}curl-devel
%define libcurl_devel %{_lib}curl-devel
%else
# Specific CURL version for TDE on RHEL 5 (and older)
#BuildRequires: trinity-libcurl-devel
#define libcurl_devel trinity-libcurl-devel
%endif
%endif
%{?libcurl_devel:BuildRequires: %{libcurl_devel}}
%description
libcaldev is a client library that adds support for the CalDAV protocol (rfc4791).
@ -114,6 +115,8 @@ easy to integrate CalDAV support into any PIM application.
Summary: A client library that adds support for the CalDAV protocol (Development Files)
Group: Development/Libraries/C and C++
Requires: %{libcaldav}0 = %{?epoch:%{epoch}:}%{version}-%{release}
%{?libcurl_devel:Requires: %{libcurl_devel}}
Requires: glib2-devel
Obsoletes: trinity-libcaldav-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release}

@ -57,15 +57,16 @@ BuildRequires: libtool
# CURL support
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
BuildRequires: libcurl-devel
%define libcurl_devel libcurl-devel
%else
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}curl-devel
%define libcurl_devel %{_lib}curl-devel
%else
# Specific CURL version for TDE on RHEL 5 (and older)
BuildRequires: trinity-libcurl-devel
#define libcurl_devel trinity-libcurl-devel
%endif
%endif
%{?libcurl_devel:BuildRequires: %{libcurl_devel}}
# GTK2 support
%if 0%{?rhel} == 4
@ -113,6 +114,8 @@ Build dependencies are minimal, requiring only libcurl.
Summary: A portable CardDAV client implementation (Development Files)
Group: Development/Libraries/C and C++
Requires: libcarddav = %{?epoch:%{epoch}:}%{version}-%{release}
%{?libcurl_devel:Requires: %{libcurl_devel}}
Requires: glib2-devel
Obsoletes: trinity-libcarddav-devel < %{version}-%{release}
Provides: trinity-libcarddav-devel = %{version}-%{release}

@ -180,7 +180,7 @@ python-tqt Extensions. Contains:
##########
%package -n trinity-pytqt-tools
Summary: pyuic and pylupdate for TQt
Summary: Pyuic and pylupdate for TQt
Group: Development/Libraries/Python
Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
@ -192,6 +192,7 @@ pylupdate is the counterpart for TQt's lupdate. It updates TQt
Linguist translation files from Python code.
%files -n trinity-pytqt-tools
%defattr(-,root,root,-)
%{tde_bindir}/pylupdate
%{tde_bindir}/pyuic

@ -287,6 +287,9 @@ BuildRequires: util-linux
%endif
%description
This is the Trolltech TQt library, version 3. It's necessary for
applications that link against the libtqt-mt.so.3, e.g. all Trinity
applications.
##########
@ -1492,6 +1495,9 @@ install -D -m 755 %{SOURCE1} %{?buildroot}%{_docdir}/tqt3-examples/build-example
tar cvvfz tqt3-examples.tar.gz tqt3-examples/
install -D -m644 "tqt3-examples.tar.gz" "%{?buildroot}%{_docdir}/tqt3-examples/tqt3-examples.tar.gz"
# Fix wrong permissions
chmod 644 "%{?buildroot}%{_datadir}/tqt3/mkspecs/"*/*
%clean
%__rm -rf %{buildroot}

@ -307,7 +307,6 @@ This package is part of Trinity, as a component of the TDE accessibility module.
%files -n trinity-ksayit
%defattr(-,root,root,-)
%{tde_bindir}/ksayit
%{tde_tdeincludedir}/ksayit_fxplugin.h
%{tde_tdelibdir}/libFreeverb_plugin.la
%{tde_tdelibdir}/libFreeverb_plugin.so
%{tde_libdir}/libKTTSD_Lib.so.*
@ -467,6 +466,8 @@ Summary: Development files for tdeaccessibility
Group: Development/Libraries/X11
Requires: %{name} = %{version}-%{release}
Requires: trinity-tdelibs-devel >= %{version}
Requires: libjpeg-devel
Requires: libpng-devel
Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release}
Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
@ -481,6 +482,7 @@ programs.
%{tde_libdir}/libkttsd.so
%{tde_libdir}/libKTTSD_Lib.la
%{tde_libdir}/libKTTSD_Lib.so
%{tde_tdeincludedir}/ksayit_fxplugin.h
%post devel
/sbin/ldconfig ||:

@ -108,8 +108,8 @@ Provides: trinity-kdebase-extras = %{version}-%{release}
Obsoletes: tdebase < %{version}-%{release}
Provides: tdebase = %{version}-%{release}
%if 0%{?suse_version}
# for set_permissions macro
%if 0%{?suse_version}
PreReq: permissions
%endif
@ -235,7 +235,7 @@ Requires: desktop-common-data
# OpenSuse 11.4 Theme
%if "%{?suse_version}" == "1140"
Requires: hicolor-icon-theme-branding
Requires: hicolor-icon-theme-branding = 11.4
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif
@ -243,7 +243,7 @@ Requires: hicolor-icon-theme-branding
%if "%{?suse_version}" == "1220"
Requires: wallpaper-branding = 12.2
%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
Requires: hicolor-icon-theme-branding
Requires: hicolor-icon-theme-branding = 12.2
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif
@ -251,7 +251,7 @@ Requires: hicolor-icon-theme-branding
%if "%{?suse_version}" == "1230"
Requires: wallpaper-branding = 12.3
%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
Requires: hicolor-icon-theme-branding
Requires: hicolor-icon-theme-branding = 12.3
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif
@ -259,7 +259,7 @@ Requires: hicolor-icon-theme-branding
%if "%{?suse_version}" == "1310"
Requires: wallpaper-branding = 13.1
%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
Requires: hicolor-icon-theme-branding
Requires: hicolor-icon-theme-branding = 13.1
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif
@ -269,6 +269,7 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: fdupes
# HTDIG support
BuildRequires: htdig
@ -840,11 +841,11 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
%package -n trinity-kate-devel
Summary: Development files for kate
Group: System/GUI/Other
Group: Development/Libraries/Other
Requires: trinity-kate = %{version}-%{release}
%description -n trinity-kate-devel
%{summary}.
This package contains the development files fare Kate.
%files -n trinity-kate-devel
%defattr(-,root,root,-)
@ -3762,6 +3763,9 @@ chmod 0755 "%{?buildroot}%{tde_bindir}/tdekbdledsync"
chmod 0755 "%{?buildroot}%{tde_datadir}/apps/tdeconf_update/move_session_config.sh"
chmod 0755 "%{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter/glossary/checkxrefs"
# Links duplicate files
%fdupes "%{?buildroot}%{tde_datadir}"
%clean
%__rm -rf %{?buildroot}

@ -1,196 +0,0 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.12
%endif
%define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.12 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/kde3
Name: trinity-kdegames
Summary: Trinity Desktop Environment - Games
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2
Group: Amusements/Games
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdegames-%{version}.tar.gz
Provides: kdegames3 = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: trinity-kdelibs-devel
%description
Games and gaming libraries for the K Desktop Environment.
Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg,
kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris,
ksnake, ksirtet, katomic, kjumpingcube, ktuberling.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
License: LGPLv2
Provides: kdegames3-devel = %{version}-%{release}
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: trinity-kdelibs-devel
%description devel
%{summary}.
Install %{name}-devel if you wish to develop or compile games for the
KDE desktop.
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-kdelibs
License: LGPLv2
# include to paranoid, installing libs-only is still mostly untested -- Rex
#Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libs
%{summary}.
%prep
%setup -q -n kdegames
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%if 0%{?fedora} > 0
export CXXFLAGS="${CXXFLAGS} -lkio"
%endif
%configure \
--enable-new-ldflags \
--disable-dependency-tracking \
--disable-rpath \
--enable-final \
--disable-debug \
--disable-warnings \
--includedir=%{_includedir}/kde \
--disable-setgid \
--with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
# locale's
%find_lang %{name} || touch %{name}.lang
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
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 k* lskat ; do
for file in AUTHORS ChangeLog README TODO ; do
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
done
done
%clean
%__rm -rf %{buildroot}
%post
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
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 || :
%post libs
/sbin/ldconfig
%postun libs
/sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS README COPYING
%doc rpmdocs/*
%{_bindir}/*
%{_datadir}/applications/kde/*.desktop
%{_datadir}/apps/*
%{_datadir}/config*/*
%{_datadir}/icons/crystalsvg/*/*/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/mimelnk/*/*
%{_datadir}/service*/*
%{tde_libdir}/*
%{_libdir}/libkdeinit_*.so
%files libs
%defattr(-,root,root,-)
%{_libdir}/lib*.so.*
%{_libdir}/lib*.la
%files devel
%defattr(-,root,root,-)
%doc COPYING.LIB
%doc libkdegames/README libkdegames/TODO
%{tde_includedir}/*
%{_libdir}/lib*.so
%exclude %{_libdir}/libkdeinit_*.so
%changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial release for RHEL 6
- Spec file based on Fedora 8 "kdegames-3.5.10-1"
- Import to GIT

@ -1,11 +0,0 @@
--- kdegames/ktuberling/toplevel.cpp.ORI 2011-12-04 05:49:35.462097224 -0500
+++ kdegames/ktuberling/toplevel.cpp 2011-12-04 05:49:38.089040247 -0500
@@ -189,7 +189,7 @@
// Load the layouts file
bool TopLevel::loadLayout(TQDomDocument &layoutDocument)
{
- TQFile layoutFile(TQFile::encodeName(locate("data", "ktuberling/pics/tqlayout.xml")));
+ TQFile layoutFile(TQFile::encodeName(locate("data", "ktuberling/pics/layout.xml")));
if (!layoutFile.open(IO_ReadOnly))
return false;

@ -1,44 +0,0 @@
--- kdegames/libkdegames/Makefile.am.ORI 2012-07-31 20:25:24.961859509 +0200
+++ kdegames/libkdegames/Makefile.am 2012-07-31 20:25:32.306619391 +0200
@@ -2,7 +2,7 @@
lib_LTLIBRARIES = libkdegames.la
libkdegames_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 3:0:2
libkdegames_la_LIBADD = highscore/libkhighscore.la kgame/libkgame.la kgame/dialogs/libkgamedialogs.la \
- $(LIB_KSYCOCA) $(LIB_KDNSSD)
+ $(LIB_KSYCOCA) $(LIB_KDNSSD) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI)
libkdegames_la_SOURCES = kcarddialog.cpp kstdgameaction.cpp \
kgamemisc.cpp kchatbase.cpp kchat.cpp \
--- kdegames/atlantik/libatlantikclient/Makefile.am.ORI 2012-07-31 20:26:55.089913155 +0200
+++ kdegames/atlantik/libatlantikclient/Makefile.am 2012-07-31 20:27:00.414739083 +0200
@@ -1,7 +1,7 @@
INCLUDES = -I$(top_srcdir)/atlantik/libatlantic $(all_includes)
lib_LTLIBRARIES = libatlantikclient.la
libatlantikclient_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 3:0:2
-libatlantikclient_la_LIBADD = ../libatlantic/libatlantic.la $(LIB_KIO)
+libatlantikclient_la_LIBADD = ../libatlantic/libatlantic.la $(LIB_KIO) $(LIB_KDECORE)
libatlantikclient_la_SOURCES = atlantik_network.cpp monopdprotocol.cpp
--- kdegames/atlantik/libatlantikui/Makefile.am.ORI 2012-07-31 20:29:44.177385572 +0200
+++ kdegames/atlantik/libatlantikui/Makefile.am 2012-07-31 20:30:27.821958801 +0200
@@ -1,7 +1,7 @@
INCLUDES = -I$(top_srcdir)/atlantik/libatlantic $(all_includes)
lib_LTLIBRARIES = libatlantikui.la
libatlantikui_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 3:0:2
-libatlantikui_la_LIBADD = ../libatlantic/libatlantic.la $(LIB_KIO)
+libatlantikui_la_LIBADD = ../libatlantic/libatlantic.la $(LIB_KIO) $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx
libatlantikui_la_SOURCES = auction_widget.cpp board.cpp estatedetails.cpp \
estateview.cpp kwrappedlistviewitem.cpp portfolioestate.cpp \
--- kdegames/kolf/Makefile.am.ORI 2012-07-31 20:38:20.125518870 +0200
+++ kdegames/kolf/Makefile.am 2012-07-31 20:38:30.672174091 +0200
@@ -12,7 +12,7 @@
floater.cpp slope.cpp
libkolf_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 3:0:2
-libkolf_la_LIBADD = $(LIB_KDEGAMES) $(LIB_KDEPRINT) $(LIB_KIO) -lartskde
+libkolf_la_LIBADD = $(LIB_KDEGAMES) $(LIB_KDEPRINT) $(LIB_KIO) -lartskde $(LIB_ARTS) -lkdefx -lartsmodules
libkolf_la_DEPENDENCIES = $(LIB_KDEGAMES_DEP)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,50 +1,86 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
#
# spec file for package tdegames (version R14.0.0)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
#
# BUILD WARNING:
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
# TDE variables
%define tde_epoch 2
%define tde_version 14.0.0
# TDE specific building variables
%define tde_pkg tdegames
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir}
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
Name: trinity-tdegames
Summary: Trinity Desktop Environment - Games
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Group: System/GUI/Other
URL: http://www.trinitydesktop.org/
License: GPLv2
Group: Amusements/Games
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
#Vendor: Trinity Project
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
BuildRequires: autoconf automake libtool m4
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: libtool
BuildRequires: trinity-tqt3-devel >= 3.5.0
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
# SUSE desktop files utility
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
%if 0%{?opensuse_bs} && 0%{?suse_version}
# for xdg-menu script
BuildRequires: brp-check-trinity
%endif
Obsoletes: trinity-kdegames < %{version}-%{release}
Provides: trinity-kdegames = %{version}-%{release}
@ -99,8 +135,7 @@ ksnake, ksirtet, katomic, kjumpingcube, ktuberling.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
License: LGPLv2
Group: Amusements/Games/Other
Requires: %{name} = %{version}-%{release}
Requires: trinity-tdelibs-devel >= %{tde_version}
@ -112,8 +147,6 @@ Obsoletes: trinity-kdegames-devel < %{version}-%{release}
Provides: trinity-kdegames-devel = %{version}-%{release}
%description devel
%{summary}.
Install %{name}-devel if you wish to develop or compile games for the
TDE desktop.
@ -124,7 +157,7 @@ TDE desktop.
%package -n trinity-libtdegames1
Summary: Trinity games library and common files
Group: Amusements/Games
Group: Amusements/Games/Other
%description -n trinity-libtdegames1
This library provides a common infrastructure for several of the
@ -140,7 +173,6 @@ This package is part of TDE, and a component of the TDE games module.
%{tde_datadir}/apps/tdegames/pics/star.png
%{tde_datadir}/icons/crystalsvg/*/actions/roll.png
%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png
#%{tde_tdedocdir}/HTML/en/%{name}-%{version}-apidocs/
%post -n trinity-libtdegames1
for f in crystalsvg ; do
@ -160,7 +192,7 @@ done
%package -n trinity-libtdegames-devel
Summary: Trinity games library headers
Group: Development/Libraries
Group: Amusements/Games/Other
Requires: trinity-libtdegames1 = %{version}-%{release}
%description -n trinity-libtdegames-devel
@ -180,7 +212,7 @@ This package is part of Trinity, and a component of the TDE games module.
%package card-data
Summary: Card decks for Trinity games
Group: Amusements/Games
Group: Amusements/Games/Other
%description card-data
Several different collections of card images for use by TDE games.
@ -195,7 +227,7 @@ This package is part of Trinity, and a component of the TDE games module.
%package -n trinity-atlantik
Summary: TDE client for Monopoly-like network games
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-atlantik
This is a TDE client for playing Monopoly-like boardgames on the
@ -270,7 +302,7 @@ This package is part of Trinity, and a component of the TDE games module.
%package -n trinity-kasteroids
Summary: Asteroids for Trinity
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-kasteroids
You know this game. It is based on Warwick Allison's QwSpriteField
@ -309,7 +341,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-katomic
Summary: Atomic Entertainment game for Trinity
Group: Amusements/Games
Group: Amusements/Games/Strategy/Other
%description -n trinity-katomic
This is a puzzle game, in which the object is to assemble a molecule
@ -345,7 +377,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kbackgammon
Summary: A Backgammon game for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-kbackgammon
KBackgammon is a backgammon program for Trinity. It is based on the
@ -383,7 +415,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kbattleship
Summary: Battleship game for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-kbattleship
This is an implementation of the Battleship game. Each player tries
@ -420,7 +452,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kblackbox
Summary: A simple logical game for the Trinity project
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-kblackbox
KBlackBox is a game of hide and seek played on an grid of boxes. Your
@ -458,7 +490,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kbounce
Summary: Jezzball clone for the K Desktop Environment
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-kbounce
This is a clone of the popular Jezzball game originally created by
@ -506,7 +538,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kenolaba
Summary: Enolaba board game for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-kenolaba
kenolaba is a simple board strategy game that is played by two
@ -546,7 +578,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kfouleggs
Summary: A TDE clone of the Japanese PuyoPuyo game
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-kfouleggs
KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced
@ -583,7 +615,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kgoldrunner
Summary: A Trinity clone of the Loderunner arcade game
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-kgoldrunner
KGoldrunner, a game of action and puzzle solving. Run through the
@ -629,7 +661,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kjumpingcube
Summary: Tactical one or two player game
Group: Amusements/Games
Group: Amusements/Games/Strategy/Other
%description -n trinity-kjumpingcube
KJumpingCube is a simple tactical game. You can play it against the
@ -668,7 +700,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-klickety
Summary: A Clickomania-like game for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-klickety
Klickety is an adaptation of the (perhaps) well-known Clickomania
@ -704,7 +736,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-klines
Summary: Color lines for Trinity
Group: Amusements/Games
Group: Amusements/Games/Strategy/Other
%description -n trinity-klines
KLines is a simple game. It is played by one player, so there is only
@ -748,7 +780,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kmahjongg
Summary: the classic mahjongg game for Trinity project
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-kmahjongg
Your mission in this game is to remove all tiles from the game board. A
@ -784,7 +816,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kmines
Summary: Minesweeper for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-kmines
KMines is the classic Minesweeper game. You must uncover all the
@ -824,7 +856,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-knetwalk
Summary: A game for system administrators
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-knetwalk
This game presents the player with a rectangular field consisting of
@ -860,7 +892,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kolf
Summary: Minigolf game for TDE
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-kolf
This is a minigolf game for TDE that allows you to go through different
@ -930,7 +962,7 @@ This package is part of Trinity, and a component of the TDE games module.
%package -n trinity-konquest
Summary: TDE based GNU-Lactic Konquest game
Group: Amusements/Games
Group: Amusements/Games/Strategy/Other
%description -n trinity-konquest
This the TDE version of Gnu-Lactic Konquest, a multi-player strategy
@ -965,7 +997,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kpat
Summary: Trinity solitaire patience game
Group: Amusements/Games
Group: Amusements/Games/Board/Card
%description -n trinity-kpat
KPatience is a collection of 14 card games. All the games are single
@ -999,7 +1031,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kpoker
Summary: Trinity based Poker clone
Group: Amusements/Games
Group: Amusements/Games/Board/Card
%description -n trinity-kpoker
KPoker is a TDE compliant clone of those highly addictive pocket
@ -1033,7 +1065,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kreversi
Summary: Reversi for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-kreversi
Reversi is a simple strategy game that is played by two
@ -1076,7 +1108,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-ksame
Summary: SameGame for Trinity
Group: Amusements/Games
Group: Amusements/Games/Strategy/Other
%description -n trinity-ksame
KSame is a simple game. It's played by one player, so there is only
@ -1112,7 +1144,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kshisen
Summary: Shisen-Sho for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-kshisen
KShisen-Sho is a single-player-game similar to Mahjongg and uses the
@ -1149,7 +1181,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-ksirtet
Summary: Tetris and Puyo-Puyo games for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-ksirtet
This program is a clone of the well known game Tetris. You must fit
@ -1190,7 +1222,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-ksmiletris
Summary: Tetris like game for Trinity
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-ksmiletris
This is a game with falling blocks composed of different types of
@ -1225,7 +1257,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-ksnake
Summary: Snake Race for Trinity
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-ksnake
Snake Race is a game of speed and agility. You are a hungry snake and
@ -1260,7 +1292,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-ksokoban
Summary: Sokoban game for Trinity
Group: Amusements/Games
Group: Amusements/Games/Strategy/Other
%description -n trinity-ksokoban
The first sokoban game was created in 1982 by Hiroyuki Imabayashi at
@ -1309,7 +1341,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kspaceduel
Summary: Arcade two-player space game for Trinity
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-kspaceduel
KSpaceduel is an space arcade game for two players.
@ -1348,7 +1380,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-ktron
Summary: Tron clone for the K Desktop Environment
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-ktron
The object of the game is to avoid running into walls, your own tail,
@ -1383,7 +1415,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-ktuberling
Summary: Potato Guy for Trinity
Group: Amusements/Games
Group: Amusements/Games/Action/Arcade
%description -n trinity-ktuberling
KTuberling is a game intended for small children. Of course, it may
@ -1431,7 +1463,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-twin4
Summary: Connect Four clone for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Other
%description -n trinity-twin4
Four wins is a game for two players. Each player is represented by a
@ -1475,7 +1507,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-lskat
Summary: Lieutnant Skat card game for Trinity
Group: Amusements/Games
Group: Amusements/Games/Board/Card
%description -n trinity-lskat
Lieutnant Skat (from German Offiziersskat) is a card game for two
@ -1514,7 +1546,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
##########
%if 0%{?suse_version} || 0%{?pclinuxos}
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
@ -1571,6 +1603,42 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file -r kasteroids Game ArcadeGame
%suse_update_desktop_file -r KGoldrunner Game ArcadeGame
%suse_update_desktop_file -r ksnake Game ArcadeGame
%suse_update_desktop_file -r kspaceduel Game ArcadeGame
%suse_update_desktop_file -r ktron Game ArcadeGame
%suse_update_desktop_file -r kfouleggs Game BlocksGame
%suse_update_desktop_file -r ksirtet Game BlocksGame
%suse_update_desktop_file -r klickety Game BoardGame
%suse_update_desktop_file -r ksmiletris Game BlocksGame
%suse_update_desktop_file -r ktuberling Game KidsGame
%suse_update_desktop_file -r atlantik Game BoardGame
%suse_update_desktop_file -r kbackgammon Game BoardGame
%suse_update_desktop_file -r kbattleship Game BoardGame
%suse_update_desktop_file -r kblackbox Game BoardGame
%suse_update_desktop_file -r kenolaba Game BoardGame
%suse_update_desktop_file -r kmahjongg Game BoardGame
%suse_update_desktop_file -r kreversi Game BoardGame
%suse_update_desktop_file -r kshisen Game BoardGame
%suse_update_desktop_file -r kwin4 Game BoardGame
%suse_update_desktop_file -r kpat Game CardGame
%suse_update_desktop_file -r kpoker Game CardGame
%suse_update_desktop_file -r lskat Game CardGame
%suse_update_desktop_file -r katomic Game LogicGame
%suse_update_desktop_file -r kjumpingcube Game LogicGame
%suse_update_desktop_file -r klines Game LogicGame
%suse_update_desktop_file -r -G "Tactical Game" knetwalk Game LogicGame
%suse_update_desktop_file -r kmines Game LogicGame
%suse_update_desktop_file -r konquest Game LogicGame
%suse_update_desktop_file -r ksame Game LogicGame
%suse_update_desktop_file -r ksokoban Game LogicGame
%suse_update_desktop_file -r kbounce Game LogicGame
%suse_update_desktop_file -r kolf Game SportsGame
%endif
%clean
%__rm -rf %{buildroot}

Loading…
Cancel
Save