SHA256
1
0
forked from pool/ksudoku
Christophe Giboudeaux 2017-08-11 22:59:09 +00:00 committed by Git OBS Bridge
parent 455a4dc5fd
commit 2f2514cdf9
2 changed files with 23 additions and 13 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Aug 11 22:46:03 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:18:50 UTC 2017 - christophe@krop.fr Sat Aug 5 18:18:50 UTC 2017 - christophe@krop.fr

View File

@ -1,7 +1,7 @@
# #
# spec file for package ksudoku # spec file for package ksudoku
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,13 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_without lang %bcond_without lang
Name: ksudoku Name: ksudoku
Version: 17.07.90 Version: 17.07.90
Release: 0 Release: 0
%define kf5_version 5.26.0 %define kf5_version 5.26.0
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) # 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}')} %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
Summary: Generate and Solve Sudoku puzzles in 2D or 3D Summary: Generate and Solve Sudoku puzzles in 2D or 3D
License: GPL-2.0+ License: GPL-2.0+
@ -45,6 +46,7 @@ BuildRequires: kwindowsystem-devel
BuildRequires: kxmlgui-devel BuildRequires: kxmlgui-devel
BuildRequires: libkdegames-devel BuildRequires: libkdegames-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5Quick)
@ -53,12 +55,11 @@ BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(glu)
BuildRequires: update-desktop-files Obsoletes: ksudoku5 < %{version}
Provides: ksudoku5 = %{version}
%if %{with lang} %if %{with lang}
Recommends: %{name}-lang Recommends: %{name}-lang
%endif %endif
Obsoletes: ksudoku5 < %{version}
Provides: ksudoku5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -80,22 +81,22 @@ number twice on each column, row, or subsquare.
%make_jobs %make_jobs
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%if %{with lang} %if %{with lang}
%find_lang %{name} --with-man --all-name %find_lang %{name} --with-man --all-name
%kf5_find_htmldocs %kf5_find_htmldocs
%endif %endif
%suse_update_desktop_file -G "Sudoku Puzzles" org.kde.ksudoku Game LogicGame %suse_update_desktop_file -G "Sudoku Puzzles" org.kde.ksudoku Game LogicGame
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING COPYING.DOC %doc COPYING*
%config %{_kf5_configdir}/ksudokurc
%dir %{_kf5_appstreamdir} %dir %{_kf5_appstreamdir}
%doc %lang(en) %{_kf5_htmldir}/en/ksudoku/
%{_kf5_applicationsdir}/org.kde.ksudoku.desktop %{_kf5_applicationsdir}/org.kde.ksudoku.desktop
%{_kf5_appstreamdir}/org.kde.ksudoku.appdata.xml %{_kf5_appstreamdir}/org.kde.ksudoku.appdata.xml
%{_kf5_bindir}/ksudoku %{_kf5_bindir}/ksudoku
%{_kf5_configdir}/ksudokurc
%{_kf5_htmldir}/en/ksudoku/
%{_kf5_iconsdir}/hicolor/*/*/ksudoku* %{_kf5_iconsdir}/hicolor/*/*/ksudoku*
%{_kf5_kxmlguidir}/ksudoku/ %{_kf5_kxmlguidir}/ksudoku/
%{_kf5_sharedir}/ksudoku/ %{_kf5_sharedir}/ksudoku/