SHA256
1
0
forked from pool/knetwalk
knetwalk/knetwalk.spec

94 lines
2.8 KiB
RPMSpec

#
# spec file for package knetwalk
#
# Copyright (c) 2015 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
# 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://bugs.opensuse.org/
#
Name: knetwalk
BuildRequires: libkdegames-devel
BuildRequires: update-desktop-files
BuildRequires: extra-cmake-modules
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Declarative)
BuildRequires: kcoreaddons-devel
BuildRequires: kconfig-devel
BuildRequires: kitemmodels-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kcodecs-devel
BuildRequires: kwindowsystem-devel
BuildRequires: karchive-devel
BuildRequires: kdbusaddons-devel
BuildRequires: kdnssd-framework-devel
BuildRequires: kdeclarative-devel
BuildRequires: ki18n-devel
BuildRequires: kguiaddons-devel
BuildRequireS: kservice-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kitemviews-devel
BuildRequires: kiconthemes-devel
BuildRequires: kcompletion-devel
BuildRequires: kjobwidgets-devel
BuildRequires: ktextwidgets-devel
BuildRequires: kglobalaccel-devel
BuildRequires: kxmlgui-devel
BuildRequires: kcrash-devel
BuildRequires: kbookmarks-devel
BuildRequires: kio-devel
BuildRequires: knotifyconfig-devel
BuildRequires: knewstuff-devel
BuildRequires: kdelibs4support-devel
Summary: Puzzle game
License: GPL-2.0+
Group: Amusements/Games/Board/Puzzle
Url: http://www.kde.org
Version: 15.07.90
Release: 0
Source0: knetwalk-%{version}.tar.xz
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Turn the board pieces to get all computers connected.
%prep
%setup -q -n knetwalk-%{version}
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%suse_update_desktop_file -r org.kde.knetwalk KNetwalk "Tactical Game" Game LogicGame
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kf5_bindir}/knetwalk
%{_kf5_htmldir}/en/knetwalk/
%{_kf5_applicationsdir}/org.kde.knetwalk.desktop
%{_kf5_iconsdir}/hicolor/*/*/knetwalk.*
%{_datadir}/knetwalk/
%{_kf5_kxmlguidir}/knetwalk/
%changelog