diff --git a/ktimer.spec b/ktimer.spec index 2877619..a328a60 100644 --- a/ktimer.spec +++ b/ktimer.spec @@ -1,5 +1,5 @@ Name: ktimer -Version: 4.14.3 +Version: 16.08.2 Release: 1mamba Summary: Execute programs after some time Group: Graphical Desktop/Applications/Utilities @@ -7,18 +7,16 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org -Source: http://download.kde.org/stable/%{version}/src/ktimer-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/ktimer-%{version}.tar.xz License: GPL -BuildRequires: cmake ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: kdelibs-devel -BuildRequires: kde-workspace-devel BuildRequires: libgcc -BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END -Requires: kde-workspace +BuildRequires: cmake +#Requires: kde-workspace BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -30,7 +28,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -46,28 +44,85 @@ 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}/ktimer -%{_kde4_xdgappsdir}/ktimer.desktop -%doc %lang(en) %{_kde4_htmldir}/en/%{name} -%{_kde4_icondir}/hicolor/*/apps/%{name}.png +%{_kde5_bindir}/ktimer +%{_kde5_xdgappsdir}/org.kde.ktimer.desktop +%doc %lang(en) %{_kde5_htmldir}/en/%{name} +%{_kde5_icondir}/hicolor/*/apps/%{name}.png %doc COPYING %changelog +* Sun Oct 16 2016 Automatic Build System 16.08.2-1mamba +- automatic version update by autodist + +* Fri Sep 09 2016 Automatic Build System 16.08.1-1mamba +- automatic version update by autodist + +* Mon Aug 29 2016 Automatic Build System 16.08.0-1mamba +- automatic version update by autodist + +* Wed Jul 13 2016 Automatic Build System 16.04.3-1mamba +- automatic version update by autodist + +* Wed Jun 15 2016 Automatic Build System 16.04.2-1mamba +- automatic version update by autodist + +* Wed May 11 2016 Automatic Build System 16.04.1-1mamba +- automatic version update by autodist + +* Sat Apr 23 2016 Automatic Build System 16.04.0-1mamba +- automatic version update by autodist + +* Wed Mar 16 2016 Automatic Build System 15.12.3-1mamba +- automatic version update by autodist + +* Tue Feb 16 2016 Automatic Build System 15.12.2-1mamba +- automatic version update by autodist + +* Tue Jan 12 2016 Automatic Build System 15.12.1-1mamba +- automatic version update by autodist + +* Sun Dec 20 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist + +* Wed Nov 11 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 + +* Sun Apr 26 2015 Automatic Build System 15.04.0-1mamba +- automatic version update by autodist + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist