diff --git a/cantor.spec b/cantor.spec index f5cdf1c..1786dda 100644 --- a/cantor.spec +++ b/cantor.spec @@ -1,5 +1,5 @@ Name: cantor -Version: 4.14.3 +Version: 16.04.0 Release: 1mamba Summary: KDE Frontend to Mathematical Software Group: Graphical Desktop/Applications/Educational @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org -Source: http://download.kde.org/stable/%{version}/src/cantor-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/cantor-%{version}.tar.xz License: GPL BuildRequires: cmake ## AUTOBUILDREQ-BEGIN @@ -22,7 +22,7 @@ BuildRequires: libspectre-devel BuildRequires: libstdc++6-devel BuildRequires: R ## AUTOBUILDREQ-END -Requires: kde-workspace +#Requires: kde-workspace BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -47,7 +47,7 @@ This package contains static libraries and header files need for development. %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -65,45 +65,88 @@ exit 0 %posttrans /sbin/ldconfig update-desktop-database -q &>/dev/null -gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null +gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null exit 0 %postun /sbin/ldconfig if [ $1 -eq 0 ]; then update-desktop-database -q &>/dev/null - touch --no-create %{_kde4_icondir}/hicolor &>/dev/null - gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null + touch --no-create %{_kde5_icondir}/hicolor &>/dev/null + gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null fi exit 0 %files %defattr(-,root,root) -%{_kde4_bindir}/cantor -%{_kde4_bindir}/cantor_rserver -%config %{_kde4_configdir}/cantor*.knsrc -%{_kde4_datadir}/cantor -%{_kde4_icondir}/hicolor/*/apps/*.png -%{_kde4_kcfgdir}/*.kcfg -%{_kde4_libdir}/kde4/cantor_*.so -%{_kde4_libdir}/kde4/libcantorpart.so -%{_kde4_libdir}/libcantor_config.so -%{_kde4_libdir}/libcantorlibs.so.* -%{_kde4_servicesdir}/cantor/*.desktop -%{_kde4_servicetypesdir}/cantor_assistant.desktop -%{_kde4_servicetypesdir}/cantor_backend.desktop -%{_kde4_servicetypesdir}/cantor_panelplugin.desktop -%{_kde4_sharedir}/appdata/cantor.appdata.xml -%{_kde4_xdgappsdir}/cantor.desktop -%doc %lang(en) %{_kde4_htmldir}/en/cantor +%{_sysconfdir}/xdg/cantor*.knsrc +%{_kde5_bindir}/cantor +%{_bindir}/cantor_python3server +%{_kde5_bindir}/cantor_rserver +#%config %{_kde5_configdir}/cantor*.knsrc +%{_kde5_datadir}/cantor +%{_kde5_icondir}/hicolor/*/apps/*.png +%{_kde5_kcfgdir}/*.kcfg +%{_kde5_libdir}/libcantor_config.so +%{_kde5_libdir}/libcantorlibs.so.* +%{_libdir}/libcantor_pythonbackend.so +%dir %{_libdir}/qt5/plugins/cantor +%{_libdir}/qt5/plugins/cantor/* +%{_libdir}/qt5/plugins/libcantorpart.so +%{_datadir}/applications/org.kde.cantor.desktop +#%dir %{_datadir}/kservices5/cantor/ +#%{_datadir}/kservices5/cantor/*.desktop +#%dir %{_datadir}/kservicetypes5 +#%{_datadir}/kservicetypes5/cantor_*.desktop +%dir %{_datadir}/kxmlgui5/cantor +%{_datadir}/kxmlgui5/cantor/cantor_*.rc +%{_kde5_sharedir}/appdata/org.kde.cantor.appdata.xml +%doc %lang(en) %{_kde5_htmldir}/en/cantor %doc COPYING COPYING.DOC README TODO %files devel %defattr(-,root,root) -%{_kde4_includedir}/cantor -%{_kde4_libdir}/libcantorlibs.so +%dir %{_includedir}/cantor +%{_includedir}/cantor/* +%{_kde5_libdir}/libcantorlibs.so %changelog +* Sat Apr 23 2016 Automatic Build System 16.04.0-1mamba +- automatic version update by autodist + +* Tue Mar 15 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 + +* Wed Dec 23 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist + +* Tue Nov 10 2015 Automatic Build System 15.08.3-2mamba +- automatic version update by autodist + +* Tue Nov 10 2015 Automatic Build System 15.08.3-1mamba +- automatic version update by autodist + +* Wed Oct 21 2015 Automatic Build System 15.08.2-1mamba +- automatic version update by autodist + +* Thu Jul 02 2015 Automatic Build System 15.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 05 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