diff --git a/kdeplasma-addons.spec b/kdeplasma-addons.spec index c69842c..9855bf6 100644 --- a/kdeplasma-addons.spec +++ b/kdeplasma-addons.spec @@ -1,13 +1,13 @@ Name: kdeplasma-addons -Version: 4.14.3 -Release: 1mamba +Version: 5.13.3 +Release: 2mamba Summary: KDE Software Compilation - Additional plasmoids Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba -Packager: Automatic Build System +Packager: Silvan Calarco URL: http://www.kde.org/ -Source: http://download.kde.org/stable/%{version}/src/kdeplasma-addons-%{version}.tar.xz +Source: http://download.kde.org/stable/plasma/%{version}/kdeplasma-addons-%{version}.tar.xz License: GPL BuildRequires: cmake BuildRequires: libqimageblitz-devel @@ -15,10 +15,6 @@ BuildRequires: libqimageblitz-devel ## AUTOBUILDREQ-BEGIN BuildRequires: cln-devel BuildRequires: glibc-devel -BuildRequires: kdebase-runtime -BuildRequires: kdebase-workspace-devel -BuildRequires: kdelibs4-devel -BuildRequires: kdepimlibs-devel BuildRequires: libattica-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel @@ -30,7 +26,7 @@ BuildRequires: libpng-devel BuildRequires: libqalculate-devel BuildRequires: libqca-devel BuildRequires: libqimageblitz-devel -BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libqwt-devel BuildRequires: libscim-devel BuildRequires: libSM-devel @@ -49,12 +45,12 @@ BuildRequires: libXrender-devel BuildRequires: libXtst-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END -BuildRequires: libmarble-devel >= %{version} +BuildRequires: libmarble5-devel >= %{version} BuildRequires: libibus-devel +BuildRequires: libkross-devel +Provides: kdeplasma5-addons +Obsoletes: kdeplasma5-addons Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -Requires: libqt4 >= %{_qt4_version} -Requires: kdelibs4 >= %{version} -Requires: kdebase4-runtime >= %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -63,36 +59,31 @@ Additional plasmoids for KDE. %package -n lib%{name} Summary: KDE plasma addons library Group: Graphical Desktop/Libraries/KDE +Provides: libkdeplasma5-addons +Obsoletes: libkdeplasma5-addons %description -n lib%{name} KDE plasma addons library. -%package -n plasma-widget-kimpanel -Summary: Multibyte input Plasmoid -Group: Graphical Desktop/Applications/Utilities - -%description -n plasma-widget-kimpanel -kimpanel is just a Plasma applet for scim and fcitx input methods. -This package is part of KDE4, as a component of the KDE4 plasma addons. - -%package devel +%package -n lib%{name}-devel Summary: Development files for for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: kdeplasma5-addons-devel +Obsoletes: kdeplasma5-addons-devel +Provides: kdeplasma-addons-devel +Obsoletes: kdeplasma-addons-devel -%description devel +%description -n lib%{name}-devel Additional plasmoids for KDE. This package contains static libraries and header files need for development. %prep -%setup -q +%setup -q -n kdeplasma-addons-%{version} %build -%cmake_kde4 -d build - -# FIXME -sed -i "s,/opt/kde/lib/libphonon.so,/usr/lib/libphonon.so," \ - runners/contacts/CMakeFiles/krunner_contacts.dir/build.make +%cmake_kde5 -d build %make @@ -100,69 +91,193 @@ sed -i "s,/opt/kde/lib/libphonon.so,/usr/lib/libphonon.so," \ [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +> %{name}.lang +for f in `find %{buildroot}%{_datadir}/locale/ -name *.mo|sed "s|.*/\(.*\).mo|\1|"|sort -u`; do + %find_lang $f + cat $f.lang >> %{name}.lang +done + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig -%files +%files -f %{name}.lang %defattr(-,root,root) -%{_kde4_bindir}/lancelot -%{_kde4_configdir}/comic.knsrc -%{_kde4_configdir}/pastebin.knsrc -%{_kde4_configdir}/plasmaweather.knsrc -%{_kde4_configdir}/virus_wallpaper.knsrc -%{_kde4_datadir}/bball -%{_kde4_datadir}/desktoptheme -#%{_kde4_datadir}/lancelot/lancelot.notifyrc -%{_kde4_datadir}/plasma-applet-frame/picture-frame-default.jpg -%{_kde4_datadir}/plasma-applet-opendesktop/user.css -%{_kde4_datadir}/plasma-applet-opendesktop-activities/plasma-applet-opendesktop-activities.notifyrc -%{_kde4_datadir}/plasma_pastebin/plasma_pastebin.notifyrc -%{_kde4_datadir}/plasma_wallpaper_pattern/patterns -%{_kde4_datadir}/plasma -%{_kde4_datadir}/plasmaboard -%{_kde4_datadir}/rssnow -%{_kde4_datadir}/lancelot/lancelot.notifyrc -%{_kde4_servicesdir}/*.desktop -%{_kde4_servicesdir}/ServiceMenus/*.desktop -%{_kde4_sharedir}/mime/packages/*.xml -%{_kde4_sharedir}/ibus/component/kimpanel.xml -%{_kde4_icondir}/hicolor/*/apps/*.png -%{_kde4_icondir}/hicolor/scalable/apps/*.svgz -%{_kde4_icondir}/hicolor/*/actions/*.png -%{_kde4_icondir}/hicolor/scalable/actions/*.svgz -%{_kde4_servicetypesdir}/*.desktop -%{_kde4_libdir}/kde4/*.so -%doc COPYING COPYING.LIB +%{_kde5_configdir}/comic.knsrc +%{_datadir}/kservices5/*.desktop +%{_datadir}/kservices5/kwin/*.desktop +%{_datadir}/metainfo/org.kde.*.xml +%{_kde5_servicetypesdir}/plasma_comicprovider.desktop +%{_datadir}/kwin/* +%{_datadir}/plasma/desktoptheme/default/icons/quota.svg +%{_datadir}/plasma/desktoptheme/default/widgets/timer.svgz +%{_datadir}/plasma/desktoptheme/default/weather/wind-arrows.svgz +%{_datadir}/plasma/plasmoids/* +#%{_datadir}/plasma/services/kimpanel.operations +%{_datadir}/plasma/services/org.kde.plasma.dataengine.konsoleprofiles.operations +%{_datadir}/plasma/wallpapers/org.kde.*/* +%{_datadir}/icons/hicolor/scalable/apps/*.svgz +%doc COPYING %files -n lib%{name} %defattr(-,root,root) -%{_kde4_libdir}/liblancelot.so.* -%{_kde4_libdir}/libplasma*.so.* -%{_kde4_libdir}/librtm.so.* -%{_kde4_libdir}/liblancelot-datamodels.so.* -%{_kde4_libexecdir}/kimpanel-ibus-panel +%{_libdir}/libplasmacomicprovidercore.so.* +%{_libdir}/libplasmapotdprovidercore.so +%{_libdir}/libplasmapotdprovidercore.so.* +#%{_libdir}/libplasmaweatherprivate.so +%{_libdir}/qt5/plugins/* +%{_libdir}/qt5/qml/org/kde/plasma/private/* +%{_libdir}/qt5/qml/org/kde/plasmacalendar/* +#%{_libexecdir}/kimpanel-ibus-panel +#%{_libexecdir}/kimpanel-scim-panel +%doc COPYING.LIB -%files devel +%files -n lib%{name}-devel %defattr(-,root,root) -%{_kde4_libdir}/libplasma*.so -%{_kde4_libdir}/liblancelot.so -%{_kde4_libdir}/librtm.so -%{_kde4_includedir}/lancelot -%{_kde4_datadir}/cmake/modules/FindLancelot*.cmake -%{_kde4_includedir}/KDE/Lancelot -%{_kde4_includedir}/lancelot-datamodels -%{_kde4_libdir}/liblancelot-datamodels.so - -%files -n plasma-widget-kimpanel -%defattr(-,root,root) -%{_kde4_libexecdir}/kimpanel-scim-panel -%{_kde4_datadir}/kdeplasma-addons/mediabuttonsrc -%{_kde4_kcfgdir}/kimpanelconfig.kcfg +%dir %{_includedir}/plasma/potdprovider +%{_includedir}/plasma/potdprovider/*.h +%dir %{_libdir}/cmake/PlasmaPotdProvider +%{_libdir}/cmake/PlasmaPotdProvider/PlasmaPotdProvider*.cmake +%{_datadir}/kdevappwizard/templates/plasmapotdprovider.tar.bz2 %changelog +* Mon Jul 30 2018 Silvan Calarco 5.13.3-2mamba +- renamed from kdeplasma5-addons to kdeplasma-addons + +* Tue Jul 10 2018 Automatic Build System 5.13.3-1mamba +- automatic version update by autodist + +* Tue Jun 26 2018 Automatic Build System 5.13.2-1mamba +- automatic version update by autodist + +* Tue Jun 19 2018 Automatic Build System 5.13.1-1mamba +- automatic version update by autodist + +* Sun Jun 17 2018 Automatic Build System 5.13.0-1mamba +- automatic version update by autodist + +* Tue May 01 2018 Automatic Build System 5.12.5-1mamba +- automatic version update by autodist + +* Sun Apr 01 2018 Automatic Build System 5.12.4-1mamba +- automatic version update by autodist + +* Tue Mar 06 2018 Automatic Build System 5.12.3-1mamba +- automatic version update by autodist + +* Wed Feb 21 2018 Automatic Build System 5.12.2-1mamba +- automatic version update by autodist + +* Wed Feb 14 2018 Automatic Build System 5.12.1-1mamba +- automatic version update by autodist + +* Fri Feb 09 2018 Automatic Build System 5.12.0-1mamba +- automatic version update by autodist + +* Wed Jan 03 2018 Automatic Build System 5.11.5-1mamba +- automatic version update by autodist + +* Thu Dec 07 2017 Automatic Build System 5.11.4-1mamba +- automatic version update by autodist + +* Tue Nov 07 2017 Automatic Build System 5.11.3-1mamba +- automatic version update by autodist + +* Tue Oct 24 2017 Automatic Build System 5.11.2-1mamba +- automatic version update by autodist + +* Sun Oct 22 2017 Automatic Build System 5.11.1-1mamba +- automatic version update by autodist + +* Wed Oct 11 2017 Automatic Build System 5.11.0-1mamba +- automatic version update by autodist + +* Wed Aug 23 2017 Automatic Build System 5.10.5-1mamba +- automatic version update by autodist + +* Mon Aug 14 2017 Automatic Build System 5.10.4-1mamba +- automatic version update by autodist + +* Tue Feb 28 2017 Automatic Build System 5.9.3-1mamba +- automatic version update by autodist + +* Tue Feb 14 2017 Automatic Build System 5.9.2-1mamba +- automatic version update by autodist + +* Sat Feb 11 2017 Automatic Build System 5.9.1-1mamba +- automatic version update by autodist + +* Fri Jan 27 2017 Automatic Build System 5.8.5-1mamba +- automatic version update by autodist + +* Tue Nov 22 2016 Automatic Build System 5.8.4-1mamba +- automatic version update by autodist + +* Tue Nov 01 2016 Automatic Build System 5.8.3-1mamba +- automatic version update by autodist + +* Tue Oct 18 2016 Automatic Build System 5.8.2-1mamba +- automatic version update by autodist + +* Thu Oct 13 2016 Automatic Build System 5.8.1-1mamba +- automatic version update by autodist + +* Thu Oct 06 2016 Automatic Build System 5.8.0-1mamba +- automatic version update by autodist + +* Tue Sep 20 2016 Automatic Build System 5.7.5-1mamba +- automatic version update by autodist + +* Tue Aug 30 2016 Automatic Build System 5.7.4-1mamba +- automatic version update by autodist + +* Tue Aug 02 2016 Automatic Build System 5.7.3-1mamba +- automatic version update by autodist + +* Wed Jul 20 2016 Automatic Build System 5.7.2-1mamba +- automatic version update by autodist + +* Wed Jul 13 2016 Automatic Build System 5.7.1-1mamba +- automatic version update by autodist + +* Sun Jul 10 2016 Automatic Build System 5.7.0-1mamba +- automatic version update by autodist + +* Tue Jun 14 2016 Automatic Build System 5.6.5-1mamba +- automatic version update by autodist + +* Wed May 11 2016 Automatic Build System 5.6.4-1mamba +- automatic version update by autodist + +* Tue Apr 19 2016 Automatic Build System 5.6.3-1mamba +- automatic version update by autodist + +* Tue Apr 05 2016 Automatic Build System 5.6.2-1mamba +- automatic version update by autodist + +* Wed Mar 30 2016 Automatic Build System 5.6.1-1mamba +- automatic version update by autodist + +* Tue Mar 29 2016 Automatic Build System 5.6.0-1mamba +- automatic version update by autodist + +* Tue Mar 01 2016 Automatic Build System 5.5.5-1mamba +- automatic version update by autodist + +* Sat Feb 20 2016 Silvan Calarco 5.5.4-2mamba +- rename from kdeplasma-addons to kdeplasma5-addons + +* Tue Feb 16 2016 Automatic Build System 5.5.4-1mamba +- automatic version update by autodist + +* Mon Jan 18 2016 Silvan Calarco 5.5.3-1mamba +- update to 5.5.3 + +* Sat May 09 2015 Silvan Calarco 5.3.0-1mamba +- update to 5.3.0 + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist