forked from pool/kajongg
Accepting request 443291 from home:luca_b:test_KA
KDE Applications - please review OBS-URL: https://build.opensuse.org/request/show/443291 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kajongg?expand=0&rev=37
This commit is contained in:
committed by
Git OBS Bridge
parent
6b58b150ed
commit
7bfe7fe789
33
kajongg.spec
33
kajongg.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kajongg
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,21 +17,24 @@
|
||||
|
||||
|
||||
Name: kajongg
|
||||
BuildRequires: libkdegames4-devel
|
||||
BuildRequires: python-kde4-devel
|
||||
BuildRequires: python-kdebase4
|
||||
BuildRequires: xz
|
||||
Version: 16.11.80
|
||||
Release: 0
|
||||
%define kf5_version 5.26.0
|
||||
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
|
||||
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
||||
Summary: 4 Player Mahjongg game
|
||||
License: GPL-2.0+
|
||||
Group: Amusements/Games/Board/Puzzle
|
||||
Url: http://www.kde.org
|
||||
Version: 16.08.3
|
||||
Release: 0
|
||||
Source0: kajongg-%{version}.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libkdegames4-devel
|
||||
BuildRequires: python-kde4-devel
|
||||
BuildRequires: python-kdebase4
|
||||
BuildRequires: xz
|
||||
Requires: python-kde4
|
||||
Requires: python-twisted
|
||||
%kde4_runtime_requires
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{kde4_runtime_requires}
|
||||
|
||||
%description
|
||||
Kajongg is a version of the four player Mahjongg tile game.
|
||||
@@ -45,27 +48,23 @@ Kajongg is a version of the four player Mahjongg tile game.
|
||||
|
||||
%install
|
||||
cd build
|
||||
%makeinstall
|
||||
%suse_update_desktop_file -r kajongg Game BoardGame
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||
%suse_update_desktop_file -r org.kde.kajongg Game BoardGame
|
||||
%kde_post_install
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING COPYING.DOC README
|
||||
%{_kde4_bindir}/kajongg
|
||||
%{_kde4_bindir}/kajonggserver
|
||||
%{_kde4_applicationsdir}/kajongg.desktop
|
||||
%{_kde4_applicationsdir}/org.kde.kajongg.desktop
|
||||
%{_kde4_htmldir}/en/kajongg/
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/kajongg.*
|
||||
%{_kde4_iconsdir}/hicolor/*/actions/games-kajongg-law.*
|
||||
%{_kde4_appsdir}/kajongg/
|
||||
%{_datadir}/appdata/
|
||||
%{_datadir}/metainfo/
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user