diff --git a/akonadi5.spec b/akonadi5.spec index f1c8f28..0c01e8a 100644 --- a/akonadi5.spec +++ b/akonadi5.spec @@ -1,30 +1,41 @@ +%define gccver %(gcc -dumpversion) Name: akonadi5 -Version: 15.12.1 -Release: 1mamba +Version: 23.08.5 +Release: 2mamba Summary: PIM Storage Service Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan -URL: http://pim.kde.org/akonadi/ -Source: http://download.kde.org/stable/applications/%{version}/src/akonadi-%{version}.tar.xz +Packager: Silvan Calarco +URL: https://userbase.kde.org/Akonadi +Source: http://download.kde.org/stable/release-service/%{version}/src/akonadi-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libboost-devel BuildRequires: libgcc -BuildRequires: libqt4-devel -BuildRequires: libqt4-mysql -BuildRequires: libsoprano-devel +BuildRequires: libkauth-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkcrash-devel +BuildRequires: libki18n-devel +BuildRequires: libkiconthemes-devel +BuildRequires: libkio-devel +BuildRequires: libkitemmodels-devel +BuildRequires: libkservice-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkxmlgui-devel +BuildRequires: liblzma-devel BuildRequires: libstdc++6-devel -BuildRequires: mysql +BuildRequires: libxml2-devel +BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: automoc4 -BuildRequires: libsqlite-devel -Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -Requires: libqt5-sqlite -BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: libqt5-devel >= 5.6.1 +BuildRequires: libkaccounts-integration-devel >= 20.08.0 +BuildRequires: libxapian-devel %description PIM Storage Service. @@ -36,10 +47,6 @@ Summary: Static libraries and headers for %{name} %description -n lib%{name} PIM Storage Service. -This package contains static libraries and header files need for development. - -%description -PIM Storage Service. %package -n lib%{name}-devel Group: Development/Libraries @@ -48,17 +55,19 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel PIM Storage Service. -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. + +%debug_package %prep %setup -q -n akonadi-%{version} %build %cmake_kde5 -d build \ - -DCONFIG_INSTALL_DIR:PATH=%{_sysconfdir} \ - -DDATABASE_BACKEND=SQLITE \ - -DINSTALL_QSQLITE_IN_QT_PREFIX:BOOL=ON \ - -DQT_PLUGINS_DIR=%{_qt5_plugindir} + -DDATABASE_BACKEND=MYSQL \ +%ifarch arm + -DCMAKE_CXX_FLAGS="-latomic" +%endif %make @@ -66,59 +75,399 @@ This package contains static libraries and header files need for development. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build -install -d -m0755 %{buildroot}%{_sysconfdir}/xprofile.d/ -cat >> %{buildroot}%{_sysconfdir}/xprofile.d/akonadi.sh << _EOF -# set akonadi default backend db to QSQLITE3 when mysqld is not installed -if [ ! -e %{_sbindir}/mysqld -a -e ~/.config/akonadi/akonadiserverrc -a ! -e ~/.config/akonadi.backup.mysqld ]; then - [ "`grep "Driver=QMYSQL" ~/.config/akonadi/akonadiserverrc`" ] && mv ~/.config/akonadi ~/.config/akonadi.backup.mysqld -fi -_EOF -chmod +x %{buildroot}%{_sysconfdir}/xprofile.d/akonadi.sh +# Legacy package +rm -r %{buildroot}/{etc,usr/{bin,share}} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig -update-mime-database %{_datadir}/mime &> /dev/null || : +update-mime-database -n %{_datadir}/mime &> /dev/null +: %postun /sbin/ldconfig -update-mime-database %{_datadir}/mime &> /dev/null || : - -%files -%defattr(-,root,root) -%{_sysconfdir}/akonadi.categories -%{_sysconfdir}/xprofile.d/akonadi.sh -%dir %{_sysconfdir}/akonadi/ -%config(noreplace) %{_sysconfdir}/akonadi/mysql-global.conf -%config(noreplace) %{_sysconfdir}/akonadi/mysql-global-mobile.conf -%{_bindir}/akonadi_agent_launcher -%{_bindir}/akonadi_agent_server -%{_bindir}/akonadi_control -%{_bindir}/akonadi_rds -%{_bindir}/akonadictl -%{_bindir}/akonadiserver -%{_bindir}/asapcat +update-mime-database -n %{_datadir}/mime &> /dev/null +: %files -n lib%{name} %defattr(-,root,root) -%{_kde5_libdir}/libKF5AkonadiPrivate.so.* -%{_qt5_plugindir}/sqldrivers/libqsqlite3.so -%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.* -%{_datadir}/dbus-1/services/org.freedesktop.Akonadi.* -%{_datadir}/mime/packages/akonadi-mime.xml -%doc AUTHORS NEWS README +%{_libdir}/libKPim5AkonadiAgentBase.so.* +%{_libdir}/libKPim5AkonadiCore.so.* +%{_libdir}/libKPim5AkonadiPrivate.so.* +%{_libdir}/libKPim5AkonadiWidgets.so.* +%{_libdir}/libKPim5AkonadiXml.so.* +%{_libdir}/qt5/plugins/designer/akonadi5widgets.so +%{_libdir}/qt5/plugins/pim5/akonadi/akonadi_test_searchplugin.so +%doc AUTHORS %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_kde5_includedir}/akonadi/ -%{_kde5_includedir}/akonadi/* -%{_kde5_libdir}/libKF5AkonadiPrivate.so -%dir %{_kde5_libdir}/cmake/KF5AkonadiServer -%{_kde5_libdir}/cmake/KF5AkonadiServer/KF5AkonadiServer*.cmake +%dir %{_includedir}/KPim5/Akonadi +%{_includedir}/KPim5/Akonadi/* +%dir %{_includedir}/KPim5/AkonadiAgentBase +%{_includedir}/KPim5/AkonadiAgentBase/* +%dir %{_includedir}/KPim5/AkonadiCore +%{_includedir}/KPim5/AkonadiCore/* +%dir %{_includedir}/KPim5/AkonadiWidgets +%{_includedir}/KPim5/AkonadiWidgets/* +%dir %{_includedir}/KPim5/AkonadiXml +%{_includedir}/KPim5/AkonadiXml/* +%{_libdir}/libKPim5AkonadiAgentBase.so +%{_libdir}/libKPim5AkonadiCore.so +%{_libdir}/libKPim5AkonadiPrivate.so +%{_libdir}/libKPim5AkonadiWidgets.so +%{_libdir}/libKPim5AkonadiXml.so +%dir %{_kde5_libdir}/cmake/KF5Akonadi +%{_kde5_libdir}/cmake/KF5Akonadi/KF5Akonadi*.cmake +%{_kde5_libdir}/cmake/KF5Akonadi/KPim*.cmake +%dir %{_libdir}/cmake/KPim5Akonadi +%{_libdir}/cmake/KPim5Akonadi/KPim*.cmake +%{_libdir}/qt5/mkspecs/modules/qt_Akonadi*.pri +%doc NEWS README.md %changelog +* Sat Mar 16 2024 Silvan Calarco 23.08.5-2mamba +- legacy package + +* Fri Feb 16 2024 Automatic Build System 23.08.5-1mamba +- automatic version update by autodist + +* Thu Dec 07 2023 Automatic Build System 23.08.4-1mamba +- automatic version update by autodist + +* Thu Nov 09 2023 Automatic Build System 23.08.3-1mamba +- automatic version update by autodist + +* Thu Oct 12 2023 Automatic Build System 23.08.2-1mamba +- automatic version update by autodist + +* Thu Sep 14 2023 Automatic Build System 23.08.1-1mamba +- automatic version update by autodist + +* Sat Aug 26 2023 Automatic Build System 23.08.0-1mamba +- automatic version update by autodist + +* Thu Jul 06 2023 Automatic Build System 23.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 09 2023 Automatic Build System 23.04.2-1mamba +- automatic version update by autodist + +* Thu May 11 2023 Automatic Build System 23.04.1-1mamba +- automatic version update by autodist + +* Tue Apr 25 2023 Automatic Build System 23.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 02 2023 Automatic Build System 22.12.3-1mamba +- automatic version update by autodist + +* Thu Feb 02 2023 Automatic Build System 22.12.2-1mamba +- automatic version update by autodist + +* Thu Jan 05 2023 Automatic Build System 22.12.1-1mamba +- automatic version update by autodist + +* Thu Dec 08 2022 Automatic Build System 22.12.0-1mamba +- automatic version update by autodist + +* Thu Nov 03 2022 Automatic Build System 22.08.3-1mamba +- automatic version update by autodist + +* Fri Oct 14 2022 Automatic Build System 22.08.2-1mamba +- automatic version update by autodist + +* Thu Sep 08 2022 Automatic Build System 22.08.1-1mamba +- automatic version update by autodist + +* Fri Aug 19 2022 Automatic Build System 22.08.0-1mamba +- automatic version update by autodist + +* Sat Jul 09 2022 Automatic Build System 22.04.3-1mamba +- automatic version update by autodist + +* Sat Jun 18 2022 Silvan Calarco 22.04.2-2mamba +- apply merge request to fix breaking database on upgrade, see https://invent.kde.org/pim/akonadi/-/merge_requests/105 + +* Thu Jun 09 2022 Automatic Build System 22.04.2-1mamba +- automatic version update by autodist + +* Thu May 12 2022 Automatic Build System 22.04.1-1mamba +- automatic version update by autodist + +* Sat Apr 23 2022 Automatic Build System 22.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 03 2022 Automatic Build System 21.12.3-1mamba +- automatic version update by autodist + +* Fri Feb 04 2022 Automatic Build System 21.12.2-1mamba +- automatic version update by autodist + +* Thu Jan 06 2022 Automatic Build System 21.12.1-1mamba +- automatic version update by autodist + +* Thu Dec 09 2021 Automatic Build System 21.12.0-1mamba +- automatic version update by autodist + +* Thu Nov 04 2021 Automatic Build System 21.08.3-1mamba +- automatic version update by autodist + +* Fri Oct 08 2021 Automatic Build System 21.08.2-1mamba +- automatic version update by autodist + +* Thu Sep 02 2021 Automatic Build System 21.08.1-1mamba +- automatic version update by autodist + +* Thu Aug 12 2021 Automatic Build System 21.08.0-1mamba +- automatic version update by autodist + +* Thu Jul 08 2021 Automatic Build System 21.04.3-1mamba +- automatic version update by autodist + +* Tue Jun 15 2021 Silvan Calarco 21.04.2-1mamba +- update to 21.04.2 + +* Thu May 13 2021 Automatic Build System 21.04.1-1mamba +- automatic version update by autodist + +* Thu Apr 22 2021 Automatic Build System 21.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 04 2021 Automatic Build System 20.12.3-1mamba +- automatic version update by autodist + +* Thu Feb 04 2021 Automatic Build System 20.12.2-1mamba +- automatic version update by autodist + +* Thu Jan 07 2021 Automatic Build System 20.12.1-1mamba +- automatic version update by autodist + +* Thu Dec 10 2020 Automatic Build System 20.12.0-1mamba +- automatic version update by autodist + +* Thu Nov 05 2020 Automatic Build System 20.08.3-1mamba +- automatic version update by autodist + +* Sat Oct 10 2020 Silvan Calarco 20.08.2-2mamba +- libakonadi-devel: remove conflict with libakonadi4-devel + +* Fri Oct 09 2020 Automatic Build System 20.08.2-1mamba +- automatic version update by autodist + +* Thu Sep 03 2020 Automatic Build System 20.08.1-1mamba +- automatic version update by autodist + +* Fri Aug 21 2020 Silvan Calarco 20.08.0-2mamba +- rebuilt with libxapian 1.4.16 + +* Sat Aug 15 2020 Automatic Build System 20.08.0-1mamba +- automatic version update by autodist + +* Sat Jul 11 2020 Silvan Calarco 20.04.3-2mamba +- rebuilt with kaccounts-integration 20.04.3 + +* Thu Jul 09 2020 Automatic Build System 20.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 12 2020 Automatic Build System 20.04.2-1mamba +- automatic version update by autodist + +* Fri May 15 2020 Automatic Build System 20.04.1-1mamba +- automatic version update by autodist + +* Fri Apr 24 2020 Automatic Build System 20.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 05 2020 Automatic Build System 19.12.3-1mamba +- automatic version update by autodist + +* Tue Mar 03 2020 Silvan Calarco 19.12.2-2mamba +- rebuilt with debug package + +* Thu Feb 06 2020 Automatic Build System 19.12.2-1mamba +- automatic version update by autodist + +* Thu Jan 09 2020 Automatic Build System 19.12.1-1mamba +- automatic version update by autodist + +* Mon Dec 30 2019 Silvan Calarco 19.12.0-1mamba +- update to 19.12.0 + +* Thu Nov 07 2019 Automatic Build System 19.08.3-1mamba +- automatic version update by autodist + +* Thu Oct 10 2019 Automatic Build System 19.08.2-1mamba +- automatic version update by autodist + +* Tue Sep 10 2019 Automatic Build System 19.08.1-1mamba +- automatic version update by autodist + +* Thu Aug 29 2019 Automatic Build System 19.08.0-1mamba +- automatic version update by autodist + +* Thu Jul 11 2019 Automatic Build System 19.04.3-1mamba +- automatic version update by autodist + +* Thu Jun 06 2019 Automatic Build System 19.04.2-1mamba +- automatic version update by autodist + +* Sat May 11 2019 Automatic Build System 19.04.1-1mamba +- automatic version update by autodist + +* Fri Apr 19 2019 Automatic Build System 19.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 07 2019 Automatic Build System 18.12.3-1mamba +- automatic version update by autodist + +* Thu Feb 07 2019 Automatic Build System 18.12.2-1mamba +- automatic version update by autodist + +* Fri Jan 11 2019 Automatic Build System 18.12.1-1mamba +- automatic version update by autodist + +* Fri Dec 14 2018 Automatic Build System 18.12.0-1mamba +- automatic version update by autodist + +* Sun Nov 11 2018 Automatic Build System 18.08.3-1mamba +- automatic version update by autodist + +* Thu Oct 11 2018 Automatic Build System 18.08.2-1mamba +- automatic version update by autodist + +* Thu Sep 06 2018 Automatic Build System 18.08.1-1mamba +- automatic version update by autodist + +* Sat Aug 18 2018 Automatic Build System 18.08.0-1mamba +- automatic version update by autodist + +* Thu Jul 12 2018 Automatic Build System 18.04.3-1mamba +- automatic version update by autodist + +* Thu Jun 07 2018 Automatic Build System 18.04.2-1mamba +- automatic version update by autodist + +* Thu May 10 2018 Automatic Build System 18.04.1-1mamba +- automatic version update by autodist + +* Sat Apr 21 2018 Automatic Build System 18.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 08 2018 Automatic Build System 17.12.3-1mamba +- automatic version update by autodist + +* Fri Feb 09 2018 Automatic Build System 17.12.2-1mamba +- automatic version update by autodist + +* Thu Jan 11 2018 Automatic Build System 17.12.1-1mamba +- automatic version update by autodist + +* Thu Dec 21 2017 Automatic Build System 17.12.0-1mamba +- automatic version update by autodist + +* Fri Nov 10 2017 Automatic Build System 17.08.3-1mamba +- automatic version update by autodist + +* Sat Oct 21 2017 Silvan Calarco 17.08.2-2mamba +- devel: remove strict version requirement for libstdc++6-devel + +* Thu Oct 12 2017 Automatic Build System 17.08.2-1mamba +- automatic version update by autodist + +* Thu Sep 07 2017 Automatic Build System 17.08.1-1mamba +- automatic version update by autodist + +* Fri Aug 25 2017 Automatic Build System 17.08.0-1mamba +- automatic version update by autodist + +* Fri Jul 14 2017 Automatic Build System 17.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 09 2017 Automatic Build System 17.04.2-1mamba +- automatic version update by autodist + +* Thu May 11 2017 Automatic Build System 17.04.1-1mamba +- automatic version update by autodist + +* Mon Apr 24 2017 Automatic Build System 17.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 09 2017 Automatic Build System 16.12.3-1mamba +- automatic version update by autodist + +* Thu Feb 09 2017 Automatic Build System 16.12.2-1mamba +- automatic version update by autodist + +* Fri Jan 13 2017 Automatic Build System 16.12.1-1mamba +- automatic version update by autodist + +* Sat Dec 24 2016 Automatic Build System 16.12.0-1mamba +- automatic version update by autodist + +* Thu Nov 10 2016 Automatic Build System 16.08.3-1mamba +- automatic version update by autodist + +* Tue Oct 18 2016 Silvan Calarco 16.08.2-3mamba +- rebuilt with mysql database backend +- require libqt5-mysql and mariadb > 10.1 + +* Tue Oct 18 2016 Silvan Calarco 16.08.2-2mamba +- removed requirement for libqt5-sqlite + +* Thu Oct 13 2016 Automatic Build System 16.08.2-1mamba +- automatic version update by autodist + +* Tue Oct 11 2016 Silvan Calarco 16.08.1-2mamba +- disable binaries prelinking causing akonadiserver not to run anymore + +* Thu Sep 08 2016 Automatic Build System 16.08.1-1mamba +- automatic version update by autodist + +* Tue Aug 30 2016 Automatic Build System 16.08.0-1mamba +- automatic version update by autodist + +* Tue Jul 12 2016 Automatic Build System 16.04.3-1mamba +- automatic version update by autodist + +* Fri Jul 01 2016 Silvan Calarco 16.04.2-3mamba +- rebuild with default CONFIG_INSTALL_DIR + +* Thu Jun 30 2016 Silvan Calarco 16.04.2-2mamba +- uptream patch to re-enable sqlite3 backend after Qt 5.7.0 + +* Tue Jun 14 2016 Automatic Build System 16.04.2-1mamba +- automatic version update by autodist + +* Mon Jun 13 2016 Silvan Calarco 16.04.1-3mamba +- rebuilt with qt 5.6.1 + +* Sat Jun 04 2016 Silvan Calarco 16.04.1-2mamba +- rebuilt with gcc 6.1.0 and needs rebuild at every gcc upgrade + +* Wed May 11 2016 Automatic Build System 16.04.1-1mamba +- automatic version update by autodist + +* Sun Apr 24 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 + +* Sun Feb 21 2016 Silvan Calarco 15.12.2-3mamba +- definitely move dbus file to akonadi package + +* Sun Feb 21 2016 Silvan Calarco 15.12.2-2mamba +- moded dbus interface files to -devel package + +* Wed Feb 17 2016 Automatic Build System 15.12.2-1mamba +- automatic version update by autodist + +* Mon Feb 15 2016 Silvan Calarco 15.12.1-2mamba +- rename back from akonadi5 to akonadi + * Tue Jan 12 2016 Automatic Build System 15.12.1-1mamba - automatic version update by autodist