diff --git a/kopete.spec b/kopete.spec index 895de59..0712a61 100644 --- a/kopete.spec +++ b/kopete.spec @@ -1,5 +1,5 @@ Name: kopete -Version: 17.08.3 +Version: 18.04.0 Release: 1mamba Summary: Multi-protocol plugin-based instant messenger for the K Desktop Environment Group: Graphical Desktop/Applications/Internet @@ -13,8 +13,6 @@ Patch1: kopete-17.08.3-libjingle-pthread.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: kdelibs-devel -BuildRequires: kdepimlibs-devel BuildRequires: libX11-devel BuildRequires: libXScrnSaver-devel BuildRequires: libbctoolbox-devel @@ -38,7 +36,7 @@ BuildRequires: libphonon-devel BuildRequires: libqca-devel BuildRequires: libqimageblitz-devel BuildRequires: libqjson-devel -BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libsoprano-devel BuildRequires: libsrtp-devel BuildRequires: libstdc++6-devel @@ -84,214 +82,132 @@ This package contains libraries and header files for developing applications tha %patch1 -p1 %build -%cmake_kde4 -d build +%cmake_kde5 -d build \ + -DWITH_wlm:BOOL=OFF + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig -touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 -touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1 +touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 +touch --no-create %{_kde5_icondir}/oxygen >/dev/null 2>&1 exit 0 %posttrans /sbin/ldconfig 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 -gtk-update-icon-cache %{_kde4_icondir}/oxygen >/dev/null 2>&1 +update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 +gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 +gtk-update-icon-cache %{_kde5_icondir}/oxygen >/dev/null 2>&1 exit 0 %postun /sbin/ldconfig 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 - touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1 - gtk-update-icon-cache %{_kde4_icondir}/oxygen >/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 + touch --no-create %{_kde5_icondir}/oxygen >/dev/null 2>&1 + gtk-update-icon-cache %{_kde5_icondir}/oxygen >/dev/null 2>&1 fi exit 0 -%files +%files -f %{name}5_qt.lang %defattr(-,root,root) -#%{_kde4_bindir}/googletalk-call -%{_kde4_bindir}/kopete -%{_kde4_bindir}/kopete_latexconvert.sh -%{_kde4_bindir}/libjingle-call -%{_kde4_bindir}/winpopup-install -%{_kde4_bindir}/winpopup-send -%{_kde4_libdir}/kde4/kcm_kopete_accountconfig.so -%{_kde4_libdir}/kde4/kcm_kopete_addbookmarks.so -%{_kde4_libdir}/kde4/kcm_kopete_appearanceconfig.so -%{_kde4_libdir}/kde4/kcm_kopete_autoreplace.so -%{_kde4_libdir}/kde4/kcm_kopete_avdeviceconfig.so -%{_kde4_libdir}/kde4/kcm_kopete_behaviorconfig.so -%{_kde4_libdir}/kde4/kcm_kopete_chatwindowconfig.so -%{_kde4_libdir}/kde4/kcm_kopete_highlight.so -%{_kde4_libdir}/kde4/kcm_kopete_history.so -%{_kde4_libdir}/kde4/kcm_kopete_history2.so -%{_kde4_libdir}/kde4/kcm_kopete_latex.so -%{_kde4_libdir}/kde4/kcm_kopete_nowlistening.so -%{_kde4_libdir}/kde4/kcm_kopete_otr.so -%{_kde4_libdir}/kde4/kcm_kopete_pipes.so -%{_kde4_libdir}/kde4/kcm_kopete_pluginconfig.so -%{_kde4_libdir}/kde4/kcm_kopete_privacy.so -%{_kde4_libdir}/kde4/kcm_kopete_statusconfig.so -%{_kde4_libdir}/kde4/kcm_kopete_texteffect.so -%{_kde4_libdir}/kde4/kcm_kopete_translator.so -%{_kde4_libdir}/kde4/kcm_kopete_urlpicpreview.so -%{_kde4_libdir}/kde4/kcm_kopete_webpresence.so -%{_kde4_libdir}/kde4/kopete_addbookmarks.so -%{_kde4_libdir}/kde4/kopete_aim.so -%{_kde4_libdir}/kde4/kopete_autoreplace.so -%{_kde4_libdir}/kde4/kopete_bonjour.so -%{_kde4_libdir}/kde4/kopete_chatwindow.so -%{_kde4_libdir}/kde4/kopete_contactnotes.so -%{_kde4_libdir}/kde4/kopete_emailwindow.so -%{_kde4_libdir}/kde4/kopete_gadu.so -%{_kde4_libdir}/kde4/kopete_groupwise.so -%{_kde4_libdir}/kde4/kopete_highlight.so -%{_kde4_libdir}/kde4/kopete_history.so -%{_kde4_libdir}/kde4/kopete_history2.so -%{_kde4_libdir}/kde4/kopete_icq.so -%{_kde4_libdir}/kde4/kopete_jabber.so -%{_kde4_libdir}/kde4/kopete_latex.so -%{_kde4_libdir}/kde4/kopete_meanwhile.so -%{_kde4_libdir}/kde4/kopete_nowlistening.so -%{_kde4_libdir}/kde4/kopete_otr.so -%{_kde4_libdir}/kde4/kopete_pipes.so -%{_kde4_libdir}/kde4/kopete_privacy.so -%{_kde4_libdir}/kde4/kopete_qq.so -%{_kde4_libdir}/kde4/kopete_skype.so -%{_kde4_libdir}/kde4/kopete_sms.so -%{_kde4_libdir}/kde4/kopete_statistics.so -%{_kde4_libdir}/kde4/kopete_testbed.so -%{_kde4_libdir}/kde4/kopete_texteffect.so -%{_kde4_libdir}/kde4/kopete_translator.so -%{_kde4_libdir}/kde4/kopete_urlpicpreview.so -%{_kde4_libdir}/kde4/kopete_webpresence.so -%{_kde4_libdir}/kde4/kopete_wlm.so -%{_kde4_libdir}/kde4/kopete_wp.so -%{_kde4_libdir}/kde4/kopete_yahoo.so -%{_kde4_libdir}/kde4/libchattexteditpart.so -%{_kde4_pluginsdir}/accessible/chatwindowaccessiblewidgetfactory.so -%{_kde4_libdir}/libkopete.so.* -%{_kde4_libdir}/libkopete_oscar.so.* -%{_kde4_libdir}/libkopete_otr_shared.so.* -%{_kde4_libdir}/libkopete_videodevice.so.* -%{_kde4_libdir}/libkopeteaddaccountwizard.so.* -%{_kde4_libdir}/libkopetechatwindow_shared.so.* -%{_kde4_libdir}/libkopetecontactlist.so.* -%{_kde4_libdir}/libkopeteidentity.so.* -%{_kde4_libdir}/libkopeteprivacy.so.* -%{_kde4_libdir}/libkopetestatusmenu.so.* -%{_kde4_libdir}/libkyahoo.so.* -%{_kde4_libdir}/liboscar.so.* -%{_kde4_libdir}/libqgroupwise.so -%{_kde4_libdir}/mozilla/plugins/skypebuttons.so -%{_kde4_xdgappsdir}/kopete.desktop -%{_kde4_kconfupdatedir}/kopete-* -%dir %{_kde4_datadir}/kopete -%{_kde4_datadir}/kopete/*.xml -%dir %{_kde4_datadir}/kopete/icons -%dir %{_kde4_datadir}/kopete/icons/crystalsvg -%{_kde4_datadir}/kopete/icons/crystalsvg/* -%dir %{_kde4_datadir}/kopete/icons/hicolor -%{_kde4_datadir}/kopete/icons/hicolor/* -%dir %{_kde4_datadir}/kopete/icons/oxygen -%{_kde4_datadir}/kopete/icons/oxygen/* -%{_kde4_datadir}/kopete/kopete*rc -%{_kde4_datadir}/kopete/nowlisteningchatui.rc -%{_kde4_datadir}/kopete/nowlisteningui.rc -%dir %{_kde4_datadir}/kopete/styles -%{_kde4_datadir}/kopete/styles/* -%dir %{_kde4_datadir}/kopete/webpresence -%{_kde4_datadir}/kopete/webpresence/webpresence*.xsl -%{_kde4_datadir}/kopete_contactnotes/contactnotesui.rc -%dir %{_kde4_datadir}/kopete_contactnotes -%{_kde4_datadir}/kopete_groupwise/gwchatui.rc -%dir %{_kde4_datadir}/kopete_history -%{_kde4_datadir}/kopete_history/history*.rc -%dir %{_kde4_datadir}/kopete_history2 -%{_kde4_datadir}/kopete_history2/history2*.rc -%dir %{_kde4_datadir}/kopete_jabber -%{_kde4_datadir}/kopete_jabber/jabberchatui.rc -%dir %{_kde4_datadir}/kopete_latex -%{_kde4_datadir}/kopete_latex/latexchatui.rc -%dir %{_kde4_datadir}/kopete_otr -%{_kde4_datadir}/kopete_otr/otr*.rc -%dir %{_kde4_datadir}/kopete_privacy -%{_kde4_datadir}/kopete_privacy/privacy*.rc -%dir %{_kde4_datadir}/kopete_skype -%{_kde4_datadir}/kopete_skype/skype*.rc -%dir %{_kde4_datadir}/kopete_statistics -%{_kde4_datadir}/kopete_statistics/statisticsui.rc -%dir %{_kde4_datadir}/kopete_translator -%{_kde4_datadir}/kopete_translator/translator*.rc -%dir %{_kde4_datadir}/kopete_wlm -%{_kde4_datadir}/kopete_wlm/wlmchatui.rc -%dir %{_kde4_datadir}/kopete_yahoo -%{_kde4_datadir}/kopete_yahoo/yahoo*.rc -%dir %{_kde4_datadir}/kopeterichtexteditpart -%{_kde4_datadir}/kopeterichtexteditpart/kopeterichtexteditpartfull.rc -%{_kde4_kcfgdir}/*.kcfg -%config %{_kde4_configdir}/kopeterc -%doc %lang(en) %{_kde4_htmldir}/en/kopete/*.png -%doc %lang(en) %{_kde4_htmldir}/en/kopete/*.docbook -%doc %lang(en) %{_kde4_htmldir}/en/kopete/common -%doc %lang(en) %{_kde4_htmldir}/en/kopete/index.cache.bz2 -%doc %lang(en) %{_kde4_htmldir}/en/kopete/pipes.docbook -%{_kde4_icondir}/hicolor/* -%{_kde4_icondir}/oxygen/* -%{_kde4_servicesdir}/aim.protocol -%{_kde4_servicesdir}/callto.protocol -%{_kde4_servicesdir}/chatwindow.desktop -%{_kde4_servicesdir}/emailwindow.desktop -%dir %{_kde4_servicesdir}/kconfiguredialog -%{_kde4_servicesdir}/kconfiguredialog/kopete_*.desktop -%{_kde4_servicesdir}/kopete_*.desktop -%{_kde4_servicesdir}/skype.protocol -%{_kde4_servicesdir}/tel.protocol -%{_kde4_servicesdir}/xmpp.protocol -%{_kde4_servicetypesdir}/kopeteplugin.desktop -%{_kde4_servicetypesdir}/kopeteprotocol.desktop -%{_kde4_servicetypesdir}/kopeteui.desktop -%{_kde4_soundsdir}/Kopete_Event.ogg -%{_kde4_soundsdir}/Kopete_Received.ogg -%{_kde4_soundsdir}/Kopete_Sent.ogg -%{_kde4_soundsdir}/Kopete_User_is_Online.ogg -%{_datadir}/dbus-1/interfaces/org.kde.Kopete.xml -%{_datadir}/dbus-1/interfaces/org.kde.kopete.Client.xml -%{_datadir}/dbus-1/interfaces/org.kde.kopete.Statistics.xml +%{_sysconfdir}/xdg/kopete.categories +%{_sysconfdir}/xdg/kopeterc +%{_kde5_bindir}/kopete +%{_bindir}/libjingle-call +%{_bindir}/winpopup-install +%{_bindir}/winpopup-send +%{_libdir}/libkopete.so.* +%{_libdir}/libkopete_oscar.so.* +%{_libdir}/libkopete_otr_shared.so.* +%{_libdir}/libkopete_videodevice.so.* +%{_libdir}/libkopeteaddaccountwizard.so.* +%{_libdir}/libkopetechatwindow_shared.so.* +%{_libdir}/libkopetecontactlist.so.* +%{_libdir}/libkopeteidentity.so.* +%{_libdir}/libkopeteprivacy.so.* +%{_libdir}/libkopetestatusmenu.so.* +%{_libdir}/libkyahoo.so.* +%{_libdir}/liboscar.so.* +%{_libdir}/qt5/plugins/chattexteditpart.so +%{_libdir}/qt5/plugins/kcm_kopete_*.so +%{_libdir}/qt5/plugins/kopete_*.so +%{_libdir}/qt5/plugins/plugins/accessible/chatwindowaccessiblewidgetfactory.so +%{_datadir}/applications/org.kde.kopete.desktop +%{_datadir}/config.kcfg/*.kcfg +%{_datadir}/dbus-1/interfaces/org.kde.Kopete*.xml +%{_datadir}/dbus-1/interfaces/org.kde.kopete.*.xml +%{_datadir}/icons/hicolor/*/apps/kopete*.png +%{_datadir}/icons/hicolor/scalable/apps/kopete*.svgz +%{_datadir}/icons/oxygen/*/apps/*.png +%{_datadir}/icons/oxygen/*/actions/*.png +%{_datadir}/icons/oxygen/*/status/*.png +%{_datadir}/icons/oxygen/scalable/actions/*.svgz +%dir %{_datadir}/kopete_history +%{_datadir}/kopete_history/history*.rc +%{_datadir}/kservices5/* +%{_kde5_servicetypesdir}/kopete*.desktop +%dir %{_datadir}/kxmlgui5/kopete +%{_datadir}/kxmlgui5/kopete/* +%dir %{_datadir}/kxmlgui5/kopete_groupwise +%{_datadir}/kxmlgui5/kopete_groupwise/* +%dir %{_datadir}/kxmlgui5/kopete_otr +%{_datadir}/kxmlgui5/kopete_otr/* +%{_datadir}/kconf_update/kopete-* +%dir %{_datadir}/kopete +%{_datadir}/kopete/* +%{_datadir}/sounds/Kopete_*.ogg +%lang(ca) %{_datadir}/doc/HTML/ca/kopete +%lang(de) %{_datadir}/doc/HTML/de/kopete +%lang(en) %{_datadir}/doc/HTML/en/kopete +%lang(es) %{_datadir}/doc/HTML/es/kopete +%lang(et) %{_datadir}/doc/HTML/et/kopete +%lang(fr) %{_datadir}/doc/HTML/fr/kopete +%lang(it) %{_datadir}/doc/HTML/it/kopete +%lang(nl) %{_datadir}/doc/HTML/nl/kopete +%lang(pl) %{_datadir}/doc/HTML/pl/kopete +%lang(pt) %{_datadir}/doc/HTML/pt/kopete +%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kopete +%lang(ru) %{_datadir}/doc/HTML/ru/kopete +%lang(sr) %{_datadir}/doc/HTML/sr/kopete +%lang(uk) %{_datadir}/doc/HTML/uk/kopete %doc AUTHORS COPYING COPYING.DOC COPYING.LIB %files devel %defattr(-,root,root) -%dir %{_kde4_includedir}/kopete -%{_kde4_includedir}/kopete/*.h -%dir %{_kde4_includedir}/kopete/ui/*.h -%{_kde4_libdir}/libkopete.so -%{_kde4_libdir}/libkopete_oscar.so -%{_kde4_libdir}/libkopete_otr_shared.so -%{_kde4_libdir}/libkopete_videodevice.so -%{_kde4_libdir}/libkopeteaddaccountwizard.so -%{_kde4_libdir}/libkopetechatwindow_shared.so -%{_kde4_libdir}/libkopetecontactlist.so -%{_kde4_libdir}/libkopeteidentity.so -%{_kde4_libdir}/libkopeteprivacy.so -%{_kde4_libdir}/libkopetestatusmenu.so -%{_kde4_libdir}/libkyahoo.so -%{_kde4_libdir}/liboscar.so +%dir %{_includedir}/kopete +%{_includedir}/kopete/* +%{_libdir}/libkopete.so +%{_libdir}/libkopete_oscar.so +%{_libdir}/libkopete_otr_shared.so +%{_libdir}/libkopete_videodevice.so +%{_libdir}/libkopeteaddaccountwizard.so +%{_libdir}/libkopetechatwindow_shared.so +%{_libdir}/libkopetecontactlist.so +%{_libdir}/libkopeteidentity.so +%{_libdir}/libkopeteprivacy.so +%{_libdir}/libkopetestatusmenu.so +%{_libdir}/libkyahoo.so +%{_libdir}/liboscar.so +%{_libdir}/libqgroupwise.so %changelog +* Sun May 06 2018 Automatic Build System 18.04.0-1mamba +- automatic version update by autodist + * Fri Nov 17 2017 Automatic Build System 17.08.3-1mamba - automatic version update by autodist