kopete/kopete.spec

505 lines
18 KiB
RPMSpec

Name: kopete
Version: 23.04.1
Release: 1mamba
Summary: Multi-protocol plugin-based instant messenger for the K Desktop Environment
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
Source: http://download.kde.org/stable/release-service/%{version}/src/kopete-%{version}.tar.xz
Patch0: kopete-17.08.3-mediastreamer-2.14.patch
Patch1: kopete-17.08.3-libjingle-pthread.patch
Patch2: kopete-18.08.0-missing-sysmacros-include.patch
Patch3: kopete-18.12.3-openssl-1.1.1b.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libgadu-devel
BuildRequires: libgcc
BuildRequires: libidn-devel
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcmutils-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcontacts-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libkdelibs4support-devel
BuildRequires: libkdnssd-devel
BuildRequires: libkemoticons-devel
BuildRequires: libkguiaddons-devel
BuildRequires: libkhtml-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkidentitymanagement-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkjs-devel
BuildRequires: libknotifications-devel
BuildRequires: libknotifyconfig-devel
BuildRequires: libkparts-devel
BuildRequires: libkservice-devel
BuildRequires: libktexteditor-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkunitconversion-devel
BuildRequires: libkwallet-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libnsl-devel
BuildRequires: libotr-devel
BuildRequires: libphonon-devel
BuildRequires: libqca-qt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsyntax-highlighting-devel
BuildRequires: libv4l-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: libkidentitymanagement-devel >= 0:23.04.0-1mamba
BuildRequires: libjsoncpp-devel >= 1.9.3
BuildRequires: automoc4
BuildRequires: cmake
BuildConflicts: libxmms-devel
#Requires: qca-ossl
Provides: libkopete
Obsoletes: libkopete < 21.08.1
# 4.13.2:
# * Kleopatra <http://kde.org></http:>
# The Kleopatra libraries (from kdepim)
# Required for the Cryptography plugin
%description
Multi-protocol plugin-based instant messenger for the K Desktop Environment.
This package is part of KDE4.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libkopete-devel
Obsoletes: libkopete-devel < 21.08.1
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
#-D -T
#:<< _EOF
%patch 0 -p1
%patch 1 -p1
#%patch2 -p1
%patch 3 -p1
%build
#:<< _EOF
%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 --with-html --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
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 -n %{_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 -n %{_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 -f %{name}5_qt.lang
%defattr(-,root,root)
%{_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}/libqgroupwise.so
%{_libdir}/liboscar.so.*
%{_libdir}/qt5/plugins/chattexteditpart.so
%{_libdir}/qt5/plugins/kcm_kopete_*.so
%{_libdir}/qt5/plugins/kopete_*.so
%{_libdir}/qt5/plugins/accessible/chatwindowaccessiblewidgetfactory.so
%{_datadir}/applications/org.kde.kopete.desktop
%{_datadir}/metainfo/org.kde.kopete.appdata.xml
%{_datadir}/config.kcfg/*.kcfg
%{_datadir}/dbus-1/interfaces/org.kde.Kopete*.xml
%{_datadir}/dbus-1/interfaces/org.kde.kopete.*.xml
%dir %{_datadir}/kopete_history
%{_datadir}/kopete_history/history*.rc
%{_datadir}/knotifications5/kopete.notifyrc
%{_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
%{_datadir}/qlogging-categories5/kopete.categories
%{_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
%doc AUTHORS COPYING COPYING.DOC COPYING.LIB
%files devel
%defattr(-,root,root)
%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
%changelog
* Fri May 12 2023 Automatic Build System <autodist@mambasoft.it> 23.04.1-1mamba
- automatic version update by autodist
* Thu May 04 2023 Sdk Build System <sdk@mambasoft.it> 23.04.0-2mamba
- rebuilt by autoport with build requirements: libkidentitymanagement-devel>=0:23.04.0-1mamba
* Thu Apr 20 2023 Automatic Build System <autodist@mambasoft.it> 23.04.0-1mamba
- automatic version update by autodist
* Fri Mar 03 2023 Automatic Build System <autodist@mambasoft.it> 22.12.3-1mamba
- automatic version update by autodist
* Fri Feb 03 2023 Automatic Build System <autodist@mambasoft.it> 22.12.2-1mamba
- automatic version update by autodist
* Fri Jan 06 2023 Automatic Build System <autodist@mambasoft.it> 22.12.1-1mamba
- automatic version update by autodist
* Thu Dec 08 2022 Automatic Build System <autodist@mambasoft.it> 22.12.0-1mamba
- automatic version update by autodist
* Fri Nov 04 2022 Automatic Build System <autodist@mambasoft.it> 22.08.3-1mamba
- automatic version update by autodist
* Fri Oct 14 2022 Automatic Build System <autodist@mambasoft.it> 22.08.2-1mamba
- automatic version update by autodist
* Fri Sep 09 2022 Automatic Build System <autodist@mambasoft.it> 22.08.1-1mamba
- automatic version update by autodist
* Fri Aug 19 2022 Automatic Build System <autodist@mambasoft.it> 22.08.0-1mamba
- automatic version update by autodist
* Fri Jul 08 2022 Automatic Build System <autodist@mambasoft.it> 22.04.3-1mamba
- automatic version update by autodist
* Fri Jun 10 2022 Automatic Build System <autodist@mambasoft.it> 22.04.2-1mamba
- automatic version update by autodist
* Thu May 12 2022 Automatic Build System <autodist@mambasoft.it> 22.04.1-1mamba
- automatic version update by autodist
* Fri Apr 22 2022 Automatic Build System <autodist@mambasoft.it> 22.04.0-1mamba
- automatic version update by autodist
* Thu Mar 03 2022 Automatic Build System <autodist@mambasoft.it> 21.12.3-1mamba
- automatic version update by autodist
* Fri Feb 04 2022 Automatic Build System <autodist@mambasoft.it> 21.12.2-1mamba
- automatic version update by autodist
* Fri Jan 07 2022 Automatic Build System <autodist@mambasoft.it> 21.12.1-1mamba
- automatic version update by autodist
* Fri Dec 10 2021 Automatic Build System <autodist@mambasoft.it> 21.12.0-1mamba
- automatic version update by autodist
* Thu Nov 04 2021 Automatic Build System <autodist@mambasoft.it> 21.08.3-1mamba
- automatic version update by autodist
* Fri Oct 08 2021 Automatic Build System <autodist@mambasoft.it> 21.08.2-1mamba
- automatic version update by autodist
* Sat Sep 04 2021 Automatic Build System <autodist@mambasoft.it> 21.08.1-1mamba
- automatic version update by autodist
* Thu Aug 12 2021 Automatic Build System <autodist@mambasoft.it> 21.08.0-1mamba
- automatic version update by autodist
* Thu Jul 08 2021 Automatic Build System <autodist@mambasoft.it> 21.04.3-1mamba
- automatic version update by autodist
* Thu Jun 10 2021 Automatic Build System <autodist@mambasoft.it> 21.04.2-1mamba
- automatic version update by autodist
* Thu May 13 2021 Automatic Build System <autodist@mambasoft.it> 21.04.1-1mamba
- automatic version update by autodist
* Thu Apr 22 2021 Automatic Build System <autodist@mambasoft.it> 21.04.0-1mamba
- automatic version update by autodist
* Fri Mar 05 2021 Automatic Build System <autodist@mambasoft.it> 20.12.3-1mamba
- automatic version update by autodist
* Fri Feb 05 2021 Automatic Build System <autodist@mambasoft.it> 20.12.2-1mamba
- automatic version update by autodist
* Fri Jan 08 2021 Automatic Build System <autodist@mambasoft.it> 20.12.1-1mamba
- automatic version update by autodist
* Fri Dec 11 2020 Automatic Build System <autodist@mambasoft.it> 20.12.0-1mamba
- automatic version update by autodist
* Thu Nov 05 2020 Automatic Build System <autodist@mambasoft.it> 20.08.3-1mamba
- automatic version update by autodist
* Sat Oct 10 2020 Automatic Build System <autodist@mambasoft.it> 20.08.2-1mamba
- automatic version update by autodist
* Wed Sep 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20.08.1-2mamba
- kopete-devel: removed requirement for kdelibs-devel; move libqgroupwise.so to main package
* Fri Sep 04 2020 Automatic Build System <autodist@mambasoft.it> 20.08.1-1mamba
- automatic version update by autodist
* Sat Aug 15 2020 Automatic Build System <autodist@mambasoft.it> 20.08.0-1mamba
- automatic version update by autodist
* Fri Jul 10 2020 Automatic Build System <autodist@mambasoft.it> 20.04.3-1mamba
- automatic version update by autodist
* Fri Jun 12 2020 Automatic Build System <autodist@mambasoft.it> 20.04.2-1mamba
- automatic version update by autodist
* Sat May 16 2020 Automatic Build System <autodist@mambasoft.it> 20.04.1-1mamba
- automatic version update by autodist
* Fri Apr 24 2020 Automatic Build System <autodist@mambasoft.it> 20.04.0-1mamba
- automatic version update by autodist
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 19.12.3-2mamba
- rebuilt with libjsoncpp 1.9.2
* Fri Mar 06 2020 Automatic Build System <autodist@mambasoft.it> 19.12.3-1mamba
- automatic version update by autodist
* Thu Feb 06 2020 Automatic Build System <autodist@mambasoft.it> 19.12.2-1mamba
- automatic version update by autodist
* Fri Jan 10 2020 Automatic Build System <autodist@mambasoft.it> 19.12.1-1mamba
- automatic version update by autodist
* Mon Dec 30 2019 Automatic Build System <autodist@mambasoft.it> 19.12.0-1mamba
- automatic version update by autodist
* Fri Nov 08 2019 Automatic Build System <autodist@mambasoft.it> 19.08.3-1mamba
- automatic version update by autodist
* Thu Oct 10 2019 Automatic Build System <autodist@mambasoft.it> 19.08.2-1mamba
- automatic version update by autodist
* Mon Oct 07 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 19.08.1-2mamba
- rebuilt with libjsoncpp 1.9.1
* Fri Sep 13 2019 Automatic Build System <autodist@mambasoft.it> 19.08.1-1mamba
- automatic version update by autodist
* Mon Sep 02 2019 Automatic Build System <autodist@mambasoft.it> 19.08.0-1mamba
- automatic version update by autodist
* Fri Jul 12 2019 Automatic Build System <autodist@mambasoft.it> 19.04.3-1mamba
- automatic version update by autodist
* Fri Jun 07 2019 Automatic Build System <autodist@mambasoft.it> 19.04.2-1mamba
- automatic version update by autodist
* Sat May 11 2019 Automatic Build System <autodist@mambasoft.it> 19.04.1-1mamba
- automatic version update by autodist
* Sat Apr 20 2019 Automatic Build System <autodist@mambasoft.it> 19.04.0-1mamba
- automatic version update by autodist
* Sun Mar 10 2019 Automatic Build System <autodist@mambasoft.it> 18.12.3-1mamba
- automatic version update by autodist
* Sat Feb 09 2019 Automatic Build System <autodist@mambasoft.it> 18.12.2-1mamba
- automatic version update by autodist
* Fri Jan 11 2019 Automatic Build System <autodist@mambasoft.it> 18.12.1-1mamba
- automatic version update by autodist
* Sat Dec 22 2018 Automatic Build System <autodist@mambasoft.it> 18.12.0-1mamba
- automatic version update by autodist
* Mon Nov 12 2018 Automatic Build System <autodist@mambasoft.it> 18.08.3-1mamba
- automatic version update by autodist
* Thu Oct 11 2018 Automatic Build System <autodist@mambasoft.it> 18.08.2-1mamba
- automatic version update by autodist
* Fri Sep 07 2018 Automatic Build System <autodist@mambasoft.it> 18.08.1-1mamba
- automatic version update by autodist
* Sun Aug 26 2018 Automatic Build System <autodist@mambasoft.it> 18.08.0-1mamba
- automatic version update by autodist
* Fri Jul 13 2018 Automatic Build System <autodist@mambasoft.it> 18.04.3-1mamba
- automatic version update by autodist
* Fri Jun 15 2018 Automatic Build System <autodist@mambasoft.it> 18.04.2-1mamba
- automatic version update by autodist
* Thu May 10 2018 Automatic Build System <autodist@mambasoft.it> 18.04.1-1mamba
- automatic version update by autodist
* Sun May 06 2018 Automatic Build System <autodist@mambasoft.it> 18.04.0-1mamba
- automatic version update by autodist
* Fri Nov 17 2017 Automatic Build System <autodist@mambasoft.it> 17.08.3-1mamba
- automatic version update by autodist
* Mon Nov 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.08.2-1mamba
- update to 16.08.2
* Mon Nov 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 15.12.1-2mamba
- rebuilt by autoport with build requirements: libjsoncpp-devel>=1.7.7-1mamba
* Sat Feb 06 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 15.12.1-1mamba
- update to 15.12.1
* Tue Dec 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 15.08.3-1mamba
- update to 15.08.3
* Wed Jul 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 15.04.3-1mamba
- update to 15.04.3
* Wed Jul 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.3-3mamba
- rebuilt with libmediastreamer 2.11.1
* Fri Jan 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.3-2mamba
- rebuilt by autoport with build requirements: libjsoncpp-devel>=1.1.0-1mamba
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
- automatic version update by autodist
* Mon Oct 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.2-1mamba
- automatic version update by autodist
* Sun Sep 28 2014 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
- automatic version update by autodist
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 4.14.0-1mamba
- automatic version update by autodist
* Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 4.13.3-1mamba
- automatic version update by autodist
* Fri Jun 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.13.2-2mamba
- rebuilt with libotr 4.0.0, libjsoncpp, libsrtp
* Fri Jun 13 2014 Automatic Build System <autodist@mambasoft.it> 4.13.2-1mamba
- automatic version update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 4.13.1-1mamba
- automatic version update by autodist
* Thu Apr 17 2014 Automatic Build System <autodist@mambasoft.it> 4.13.0-1mamba
- automatic version update by autodist
* Wed Apr 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.4-2mamba
- added requirement for qca-ossl
* Fri Apr 04 2014 Automatic Build System <autodist@mambasoft.it> 4.12.4-1mamba
- automatic version update by autodist
* Wed Mar 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.3-1mamba
- automatic version update by autodist
* Wed Feb 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.2-1mamba
- automatic version update by autodist
* Tue Jan 14 2014 Automatic Build System <autodist@mambasoft.it> 4.12.1-1mamba
- automatic version update by autodist
* Sat Dec 21 2013 Automatic Build System <autodist@mambasoft.it> 4.12.0-1mamba
- automatic version update by autodist
* Thu Dec 05 2013 Automatic Build System <autodist@mambasoft.it> 4.11.4-1mamba
- automatic version update by autodist
* Wed Nov 06 2013 Automatic Build System <autodist@mambasoft.it> 4.11.3-1mamba
- automatic version update by autodist
* Wed Oct 02 2013 Automatic Build System <autodist@mambasoft.it> 4.11.2-1mamba
- automatic version update by autodist
* Wed Sep 04 2013 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
- automatic version update by autodist
* Sun Sep 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.0-1mamba
- package created by silvan using the webbuild interface