diff --git a/kcalc.spec b/kcalc.spec index 1ce363f..fe22a02 100644 --- a/kcalc.spec +++ b/kcalc.spec @@ -1,5 +1,5 @@ Name: kcalc -Version: 4.14.3 +Version: 16.04.0 Release: 1mamba Summary: Scientific calculator Group: Graphical Desktop/Applications/Utilities @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org -Source: http://download.kde.org/stable/%{version}/src/kcalc-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/kcalc-%{version}.tar.xz License: GPL BuildRequires: cmake ## AUTOBUILDREQ-BEGIN @@ -19,7 +19,7 @@ BuildRequires: libgmp-devel BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END -Requires: kde-workspace +#Requires: kde-workspace Provides: kcalc4 BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -32,7 +32,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -44,28 +44,69 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %posttrans update-desktop-database -q >/dev/null 2>&1 -update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 +update-mime-database %{_kde5_mimedir} >/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 + update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 fi exit 0 %files %defattr(-,root,root) -%{_kde4_bindir}/%{name} -%{_kde4_libdir}/libkdeinit4_kcalc.so -%{_kde4_xdgappsdir}/%{name}.desktop -%{_kde4_datadir}/%{name} -%{_kde4_kconfupdatedir}/kcalcrc.upd -%{_kde4_kcfgdir}/%{name}.kcfg -%doc %lang(en) %{_kde4_htmldir}/en/%{name} +%{_kde5_bindir}/%{name} +%{_kde5_libdir}/libkdeinit5_kcalc.so +%dir %{_kde5_datadir}/kcalc +%{_kde5_datadir}/kcalc/scienceconstants.xml +%{_kde5_datadir}/kxmlgui5/kcalc/kcalcui.rc +%{_kde5_xdgappsdir}/org.kde.%{name}.desktop +%{_kde5_kconfupdatedir}/kcalcrc.upd +%{_kde5_kcfgdir}/%{name}.kcfg +%doc %lang(en) %{_kde5_htmldir}/en/%{name} %doc COPYING COPYING.LIB %changelog +* 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 + +* Thu Apr 30 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