forked from pool/kmahjongg
This commit is contained in:
parent
0f9ddb947e
commit
9b0b45e448
@ -17,10 +17,25 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: kmahjongg
|
Name: kmahjongg
|
||||||
BuildRequires: libkdegames4-devel
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: libkmahjongg4-devel
|
BuildRequires: kconfig-devel
|
||||||
BuildRequires: libkde4-devel
|
BuildRequires: kcoreaddons-devel
|
||||||
|
BuildRequires: kdeclarative-devel
|
||||||
|
BuildRequires: kdelibs4support-devel
|
||||||
|
BuildRequires: kdnssd-framework-devel
|
||||||
|
BuildRequires: knewstuff-devel
|
||||||
|
BuildRequires: kxmlgui-devel
|
||||||
|
BuildRequires: libkdegames-devel
|
||||||
|
BuildRequires: libkmahjongg-devel
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
||||||
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
|
BuildRequires: pkgconfig(Qt5Qml)
|
||||||
|
BuildRequires: pkgconfig(Qt5Quick)
|
||||||
|
BuildRequires: pkgconfig(Qt5QuickWidgets)
|
||||||
|
BuildRequires: pkgconfig(Qt5Svg)
|
||||||
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
Summary: Mahjongg game
|
Summary: Mahjongg game
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Amusements/Games/Board/Puzzle
|
Group: Amusements/Games/Board/Puzzle
|
||||||
@ -29,7 +44,6 @@ Version: 16.03.90
|
|||||||
Release: 0
|
Release: 0
|
||||||
Source0: kmahjongg-%{version}.tar.xz
|
Source0: kmahjongg-%{version}.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%kde4_runtime_requires
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
KMahjongg is a clone of the well known tile based patience game of the
|
KMahjongg is a clone of the well known tile based patience game of the
|
||||||
@ -41,23 +55,22 @@ by removing pieces of the same type.
|
|||||||
%setup -q -n kmahjongg-%{version}
|
%setup -q -n kmahjongg-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde4 -d build
|
%cmake_kf5 -d build
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
%kf5_makeinstall -C build
|
||||||
%kde4_makeinstall
|
%suse_update_desktop_file -r org.kde.kmahjongg Game BoardGame
|
||||||
%suse_update_desktop_file -r kmahjongg Game BoardGame
|
|
||||||
%kde_post_install
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.DOC
|
%doc COPYING COPYING.DOC
|
||||||
%{_kde4_bindir}/kmahjongg
|
%{_kf5_bindir}/kmahjongg
|
||||||
%{_kde4_htmldir}/en/kmahjongg/
|
%{_kf5_htmldir}/en/kmahjongg/
|
||||||
%{_kde4_applicationsdir}/kmahjongg.desktop
|
%{_kf5_applicationsdir}/org.kde.kmahjongg.desktop
|
||||||
%{_kde4_iconsdir}/hicolor/*/apps/kmahjongg.*
|
%{_kf5_iconsdir}/hicolor/*/apps/kmahjongg.*
|
||||||
%{_kde4_appsdir}/kmahjongg/
|
%{_kf5_sharedir}/kmahjongg/
|
||||||
%{_kde4_configkcfgdir}/kmahjongg.kcfg
|
%{_kf5_configkcfgdir}/
|
||||||
|
%{_kf5_sharedir}/kxmlgui5
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user