diff --git a/kubrick-17.04.3.tar.xz b/kubrick-17.04.3.tar.xz deleted file mode 100644 index 4a8c611..0000000 --- a/kubrick-17.04.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a9783178bf2008e37b69a6870a7bb1eafb6a7d43715a6303861e975a8e672fe -size 107000 diff --git a/kubrick-17.08.0.tar.xz b/kubrick-17.08.0.tar.xz new file mode 100644 index 0000000..1bdf129 --- /dev/null +++ b/kubrick-17.08.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:111210f83d701f858cea3670bd8fb132d1611ede796e78866397f16e46f1ffab +size 306296 diff --git a/kubrick.changes b/kubrick.changes index eb15148..2afa51e 100644 --- a/kubrick.changes +++ b/kubrick.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Aug 11 22:46:13 UTC 2017 - christophe@krop.fr + +- Update to KDE Applications 17.08.0 + * New feature release + * https://www.kde.org/announcements/announce-applications-17.08.0.php +- Changes since 17.04.3 : +- Too many changes to list here + +------------------------------------------------------------------- +Sat Aug 5 18:19:10 UTC 2017 - christophe@krop.fr + +- Update to KDE Applications 17.07.90 + * KDE Applications 17.07.90 + * https://www.kde.org/announcements/announce-applications-17.07.90.php + + ------------------------------------------------------------------- Mon Jul 17 07:13:07 CEST 2017 - lbeltrame@kde.org diff --git a/kubrick.spec b/kubrick.spec index a9dfc52..cae7403 100644 --- a/kubrick.spec +++ b/kubrick.spec @@ -1,7 +1,7 @@ # # spec file for package kubrick # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,44 +16,78 @@ # +%bcond_without lang + Name: kubrick -BuildRequires: libkdegames4-devel -BuildRequires: xz -BuildRequires: pkgconfig(glu) -Summary: Kubrick is a game based on Rubik's Cube +Version: 17.08.0 +Release: 0 +%define kf5_version 5.26.0 +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) +%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} +Summary: Game based on Rubik's Cube License: GPL-2.0+ Group: Amusements/Games/Logic Url: http://www.kde.org -Version: 17.04.3 -Release: 0 Source0: kubrick-%{version}.tar.xz +BuildRequires: extra-cmake-modules +BuildRequires: kconfig-devel +BuildRequires: kconfigwidgets-devel +BuildRequires: kcoreaddons-devel +BuildRequires: kcrash-devel +BuildRequires: kdoctools-devel +BuildRequires: ki18n-devel +BuildRequires: kio-devel +BuildRequires: kwidgetsaddons-devel +BuildRequires: kxmlgui-devel +BuildRequires: libkdegames-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(Qt5OpenGL) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(glu) +Obsoletes: kubrick5 < %{version} +Provides: kubrick5 = %{version} +%if %{with lang} +Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -%kde4_runtime_requires %description This package contains the KDE game Kubrick which is based on Rubik's Cube. +%if %{with lang} +%lang_package +%endif %prep -%setup -q -n kubrick-%{version} +%setup -q %build - %cmake_kde4 -d build + %cmake_kf5 -d build %make_jobs %install - cd build - %kde4_makeinstall - %kde_post_install + %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %files %defattr(-,root,root) %doc COPYING COPYING.DOC -%{_kde4_bindir}/kubrick -%{_kde4_htmldir}/en/kubrick/ -%{_kde4_applicationsdir}/kubrick.desktop -%{_kde4_iconsdir}/hicolor/*/apps/kubrick.* -%{_kde4_appsdir}/kubrick/ +%doc %lang(en) %{_kf5_htmldir}/en/kubrick/ +%{_kf5_applicationsdir}/org.kde.kubrick.desktop +%{_kf5_appstreamdir}/org.kde.kubrick.appdata.xml +%{_kf5_bindir}/kubrick +%{_kf5_iconsdir}/hicolor/*/*/kubrick* +%{_kf5_kxmlguidir}/kubrick/ +%{_kf5_sharedir}/kubrick/ + +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif %changelog