SHA256
1
0
forked from pool/ksirk

KDE Applications 17.12 beta

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/ksirk?expand=0&rev=63
This commit is contained in:
Fabian Vogt 2017-11-21 22:36:14 +00:00 committed by Git OBS Bridge
parent c57f841b7c
commit 147786d8d8
4 changed files with 90 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35ded5065ee2335240a47daa1d931546acd6d2ca6d5f2884e9c7333912740198
size 5499732

3
ksirk-17.11.80.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7109e712ddecff481f264c05540e9ab7ed4e8b1d1d6813bb3517ea8dd2edfe6a
size 6086484

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Nov 20 06:59:47 CET 2017 - lbeltrame@kde.org
- Update to 17.11.80
* New feature release
* For more details please see:
* https://www.kde.org/announcements/announce-applications-17.12-beta.php
- Changes since 17.08.3:
* Too many changes to list here
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 09 23:13:23 CET 2017 - lbeltrame@kde.org Thu Nov 09 23:13:23 CET 2017 - lbeltrame@kde.org

View File

@ -15,57 +15,106 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_without lang
Name: ksirk Name: ksirk
Summary: Risk-like game for KDE Version: 17.11.80
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: Risk-like game by KDE
License: GPL-2.0+ and LGPL-2.0+ License: GPL-2.0+ and LGPL-2.0+
Group: Amusements/Games/Strategy/Turn Based Group: Amusements/Games/Strategy/Turn Based
Url: http://www.kde.org Url: http://www.kde.org
Version: 17.08.3
Release: 0
Source0: ksirk-%{version}.tar.xz Source0: ksirk-%{version}.tar.xz
BuildRequires: libkdegames4-devel BuildRequires: extra-cmake-modules
BuildRequires: libqca2-devel BuildRequires: kcompletion-devel
BuildRequires: xz BuildRequires: kconfig-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: kconfigwidgets-devel
%kde4_runtime_requires BuildRequires: kcoreaddons-devel
BuildRequires: kcrash-devel
BuildRequires: kdbusaddons-devel
BuildRequires: kdeclarative-devel
BuildRequires: kdelibs4support-devel
BuildRequires: kdoctools-devel
BuildRequires: kguiaddons-devel
BuildRequires: ki18n-devel
BuildRequires: kiconthemes-devel
BuildRequires: kio-devel
BuildRequires: kitemviews-devel
BuildRequires: knewstuff-devel
BuildRequires: knotifyconfig-devel
BuildRequires: ktextwidgets-devel
BuildRequires: kwallet-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kxmlgui-devel
BuildRequires: libkdegames-devel
BuildRequires: libqca-qt5-devel
BuildRequires: phonon4qt5-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
Obsoletes: ksirk5 < %{version}
Provides: ksirk5 = %{version}
%if %{with lang}
Recommends: %{name}-lang
%endif
%description %description
KsirK is a computerized version of a well known strategy game. KsirK is a computerized version of a well known strategy game.
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q %setup -q
%build %build
%cmake_kde4 -d build %cmake_kf5 -d build
%make_jobs %make_jobs
%install %install
%kde4_makeinstall -C build %kf5_makeinstall -C build
rm %{buildroot}%{_kde4_libdir}/libiris_ksirk.so %if %{with lang}
%kde_post_install %find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%endif
rm %{buildroot}%{_kf5_libdir}/libiris_ksirk.so
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB %doc COPYING COPYING.DOC COPYING.LIB
%dir %{_kde4_datadir}/metainfo %config %{_kf5_configdir}/ksirk.knsrc
%{_kde4_applicationsdir}/org.kde.ksirk.desktop %dir %{_kf5_configkcfgdir}
%{_kde4_applicationsdir}/org.kde.ksirkskineditor.desktop %doc %lang(en) %{_kf5_htmldir}/en/ksirk/
%{_kde4_appsdir}/ksirk/ %doc %lang(en) %{_kf5_htmldir}/en/ksirkskineditor/
%{_kde4_appsdir}/ksirkskineditor/ %{_kf5_applicationsdir}/org.kde.ksirk.desktop
%{_kde4_bindir}/ksirk %{_kf5_applicationsdir}/org.kde.ksirkskineditor.desktop
%{_kde4_bindir}/ksirkskineditor %{_kf5_appstreamdir}/org.kde.ksirk.appdata.xml
%{_kde4_configdir}/ksirk.knsrc %{_kf5_bindir}/ksirk
%{_kde4_configkcfgdir}/ksirk*.kcfg %{_kf5_bindir}/ksirkskineditor
%{_kde4_datadir}/metainfo/org.kde.ksirk.appdata.xml %{_kf5_configkcfgdir}/ksirk*.kcfg
%{_kde4_htmldir}/en/ksirk/ %{_kf5_iconsdir}/hicolor/*/apps/ksirk.*
%{_kde4_htmldir}/en/ksirkskineditor/ %{_kf5_iconsdir}/locolor/*/apps/ksirk.*
%{_kde4_iconsdir}/hicolor/*/apps/ksirk.* %{_kf5_kxmlguidir}/ksirk/
%{_kde4_iconsdir}/locolor/*/apps/ksirk.* %{_kf5_kxmlguidir}/ksirkskineditor/
%{_kde4_libdir}/libiris_ksirk.so.* %{_kf5_libdir}/libiris_ksirk.so.*
%{_kf5_sharedir}/ksirk/
%{_kf5_sharedir}/ksirkskineditor/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog