diff --git a/klines.spec b/klines.spec index 26521bc..8d7cc13 100644 --- a/klines.spec +++ b/klines.spec @@ -1,13 +1,13 @@ Name: klines -Version: 4.14.3 -Release: 1mamba +Version: 15.12.0 +Release: 2mamba Summary: KDE Tactical Game Group: Graphical Desktop/Applications/Games Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org -Source: http://download.kde.org/stable/%{version}/src/klines-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/klines-%{version}.tar.xz License: GPL BuildRequires: automoc4 BuildRequires: cmake @@ -16,6 +16,7 @@ BuildRequires: kdelibs-devel ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 klines' to get the list of build requirements. ## AUTOBUILDREQ-END +BuildRequires: libkdegames5-devel >= %{version} Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -28,7 +29,7 @@ KDE Tactical Game. %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -39,36 +40,64 @@ KDE Tactical Game. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 +touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 exit 0 %posttrans update-desktop-database -q >/dev/null 2>&1 -update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 -gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 +update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 +gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 exit 0 %postun if [ $1 -eq 0 ]; then update-desktop-database -q >/dev/null 2>&1 - update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 - touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 - gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 + update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 + touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 + gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 fi exit 0 %files %defattr(-,root,root) -%{_kde4_bindir}/klines -%{_kde4_xdgappsdir}/klines.desktop -%dir %{_kde4_datadir}/klines -%{_kde4_datadir}/klines/* -%{_kde4_kcfgdir}/klines.kcfg -%doc %lang(en) %{_kde4_htmldir}/en/klines/* -%{_kde4_icondir}/hicolor/*/apps/klines.png +%{_kde5_bindir}/klines +%{_kde5_xdgappsdir}/org.kde.klines.desktop +%dir %{_kde5_datadir}/klines +%{_kde5_datadir}/klines/* +%{_kde5_kcfgdir}/klines.kcfg +%{_datadir}/kxmlgui5/klines/klinesui.rc +%doc %lang(en) %{_kde5_htmldir}/en/klines/* +%{_kde5_icondir}/hicolor/*/apps/klines.png %doc AUTHORS COPYING COPYING.DOC %changelog +* Wed Jan 06 2016 Silvan Calarco 15.12.0-2mamba +- rebuilt with libkdegames5 + +* Sun Dec 20 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist + +* Tue Nov 10 2015 Automatic Build System 15.08.3-1mamba +- automatic version update by autodist + +* Tue Oct 13 2015 Automatic Build System 15.08.2-1mamba +- automatic version update by autodist + +* Sun Sep 20 2015 Automatic Build System 15.08.1-1mamba +- automatic version update by autodist + +* Sun Aug 23 2015 Automatic Build System 15.08.0-1mamba +- automatic version update by autodist + +* Thu Jul 02 2015 Automatic Build System 15.04.3-1mamba +- automatic version update by autodist + +* Wed Jun 03 2015 Automatic Build System 15.04.2-1mamba +- automatic version update by autodist + +* Tue May 12 2015 Automatic Build System 15.04.1-1mamba +- automatic version update by autodist + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist