diff --git a/ktuberling.spec b/ktuberling.spec index 730c58f..8c490cc 100644 --- a/ktuberling.spec +++ b/ktuberling.spec @@ -1,13 +1,13 @@ Name: ktuberling -Version: 4.14.3 -Release: 1mamba +Version: 15.12.0 +Release: 2mamba Summary: Picture Game for Children 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/ktuberling-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/ktuberling-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -18,6 +18,7 @@ BuildRequires: libphonon-devel BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END +BuildRequires: libkdegames5-devel >= %{version} BuildRequires: automoc4 BuildRequires: cmake Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}} @@ -32,7 +33,7 @@ Picture Game for Children. %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -43,36 +44,43 @@ Picture Game for Children. [ "%{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}/ktuberling -%{_kde4_xdgappsdir}/ktuberling.desktop -%dir %{_kde4_datadir}/ktuberling -%{_kde4_datadir}/ktuberling/* -%doc %lang(en) %{_kde4_htmldir}/en/ktuberling/* -%{_kde4_icondir}/hicolor/*/apps/ktuberling.png -%{_kde4_icondir}/hicolor/*/mimetypes/application-x-tuberling.png +%{_kde5_bindir}/ktuberling +%{_kde5_xdgappsdir}/org.kde.ktuberling.desktop +%dir %{_kde5_datadir}/ktuberling +%{_kde5_datadir}/ktuberling/* +%{_kde5_datadir}/kxmlgui5/ktuberling/ktuberlingui.rc +%doc %lang(en) %{_kde5_htmldir}/en/ktuberling/* +%{_kde5_icondir}/hicolor/*/apps/ktuberling.png +%{_kde5_icondir}/hicolor/*/mimetypes/application-x-tuberling.png %doc COPYING COPYING.DOC %changelog +* Sun Jan 03 2016 Silvan Calarco 15.12.0-2mamba +- rebuilt with libkdegames5 + +* Thu Dec 24 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist