From 41bd8823a6a91a96d585fa5c50a4ba8320875ba7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 29 Mar 2024 17:35:08 +0100 Subject: [PATCH] renamed from akonadi to akonadi5 [release 15.12.0-2mamba;Fri Jan 01 2016] --- README.md | 3 + akonadi5.spec | 289 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 292 insertions(+) create mode 100644 akonadi5.spec diff --git a/README.md b/README.md index e660290..30fa017 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # akonadi5 +PIM Storage Service. +This package contains the server and control files. + diff --git a/akonadi5.spec b/akonadi5.spec new file mode 100644 index 0000000..90c60b7 --- /dev/null +++ b/akonadi5.spec @@ -0,0 +1,289 @@ +Name: akonadi5 +Version: 15.12.0 +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 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libboost-devel +BuildRequires: libgcc +BuildRequires: libqt4-devel +BuildRequires: libqt4-mysql +BuildRequires: libsoprano-devel +BuildRequires: libstdc++6-devel +BuildRequires: mysql +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: automoc4 +BuildRequires: libsqlite-devel +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: libqt5-sqlite +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PIM Storage Service. +This package contains the server and control files. + +%package -n lib%{name} +Group: System/Libraries +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 +Summary: Static libraries and headers for %{name} +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. + +%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} + +%make + +%install +[ "%{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 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +/sbin/ldconfig +update-mime-database %{_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 + +%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 + +%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 + +%changelog +* Fri Jan 01 2016 Silvan Calarco 15.12.0-2mamba +- renamed from akonadi to akonadi5 + +* Sun Dec 20 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist + +* Tue Nov 10 2015 Automatic Build System 15.08.3-1mamba +- automatic version update by autodist + +* Tue Oct 13 2015 Automatic Build System 15.08.2-1mamba +- automatic version update by autodist + +* Sun Sep 20 2015 Automatic Build System 15.08.1-1mamba +- automatic version update by autodist + +* Wed Aug 26 2015 Silvan Calarco 15.08.0-1mamba +- update to 15.08.0 + +* Sat Jan 24 2015 Silvan Calarco 1.13.0-4mamba +- rebuilt + +* Tue Sep 30 2014 Silvan Calarco 1.13.0-3mamba +- fix default to QSQLITE3 for database backend + +* Sun Aug 31 2014 Silvan Calarco 1.13.0-2mamba +- install qt sqlite3 plugin in correct directory + +* Thu Aug 21 2014 Automatic Build System 1.13.0-1mamba +- automatic version update by autodist + +* Tue Apr 08 2014 Automatic Build System 1.12.1-1mamba +- automatic version update by autodist + +* Wed Mar 26 2014 Automatic Build System 1.12.0-1mamba +- automatic version update by autodist + +* Sun Dec 08 2013 Silvan Calarco 1.11.0-1mamba +- update to 1.11.0 + +* Thu Dec 05 2013 Silvan Calarco 1.10.3-2mamba +- rebuilt with libboost 1.45 + +* Tue Oct 15 2013 Automatic Build System 1.10.3-1mamba +- update to 1.10.3 + +* Fri Jul 26 2013 Automatic Build System 1.10.2-1mamba +- automatic version update by autodist + +* Tue Jul 23 2013 Automatic Build System 1.10.1-1mamba +- automatic version update by autodist + +* Sun Jul 21 2013 Automatic Build System 1.10.0-1mamba +- automatic update by autodist + +* Mon Jun 17 2013 Automatic Build System 1.9.80-1mamba +- automatic version update by autodist + +* Mon May 06 2013 Automatic Build System 1.9.2-1mamba +- automatic version update by autodist + +* Sat Mar 09 2013 Automatic Build System 1.9.1-1mamba +- automatic version update by autodist + +* Fri Jan 11 2013 Automatic Build System 1.9.0-1mamba +- automatic version update by autodist + +* Mon Nov 19 2012 Automatic Build System 1.8.80-1mamba +- automatic version update by autodist + +* Fri Oct 26 2012 Automatic Build System 1.8.1-1mamba +- automatic version update by autodist + +* Wed Aug 01 2012 Silvan Calarco 1.8.0-1mamba +- update to 1.8.0 + +* Wed Mar 14 2012 Silvan Calarco 1.7.1-1mamba +- update to 1.7.1 + +* Mon Feb 06 2012 Silvan Calarco 1.7.0-1mamba +- update to 1.7.0 + +* Fri Nov 04 2011 Silvan Calarco 1.6.2-1mamba +- update to 1.6.2 + +* Mon Jun 20 2011 Automatic Build System 1.5.80-1mamba +- automatic update by autodist + +* Mon Jun 06 2011 Silvan Calarco 1.5.3-1mamba +- update to 1.5.3 + +* Sun Jun 05 2011 Silvan Calarco 1.5.1-2mamba +- set Sqlite3 as the default db backend +- added xprofile script to set Sqlite3 as default backend for user (when mysqld is not installed) + +* Mon Mar 14 2011 Automatic Build System 1.5.1-1mamba +- automatic update by autodist + +* Wed Feb 23 2011 Automatic Build System 1.5.0-1mamba +- automatic update by autodist + +* Mon Dec 27 2010 Automatic Build System 1.4.90-1mamba +- automatic update by autodist + +* Sun Dec 19 2010 Automatic Build System 1.4.85-1mamba +- automatic update by autodist + +* Wed Dec 15 2010 Automatic Build System 1.4.80-1mamba +- automatic update by autodist + +* Wed Nov 10 2010 Automatic Build System 1.4.1-1mamba +- automatic update by autodist + +* Mon Sep 20 2010 Silvan Calarco 1.4.0-3mamba +- patched to use QSQLITE as default backend driver (internally optimized QSQLITE3 crashes) +- removed requirements for mysql components + +* Tue Sep 14 2010 Silvan Calarco 1.4.0-2mamba +- added requirement for mysql-client + +* Fri Aug 13 2010 Silvan Calarco 1.4.0-1mamba +- update to 1.4.0 + +* Wed Jul 07 2010 Automatic Build System 1.3.90-1mamba +- automatic update by autodist + +* Mon Jun 14 2010 Automatic Build System 1.3.85-1mamba +- automatic update by autodist + +* Sat Mar 13 2010 Silvan Calarco 1.3.1-1mamba +- update to 1.3.1 + +* Tue Jan 26 2010 Davide Madrisan 1.3.0-1mamba +- update to 1.3.0 + +* Tue Jan 19 2010 Davide Madrisan 1.2.90-1mamba +- update to 1.2.90 + +* Fri Nov 06 2009 Silvan Calarco 1.2.1-2mamba +- added requirement for libqt4-mysql + +* Sat Aug 29 2009 Automatic Build System 1.2.1-1mamba +- automatic update by autodist + +* Sun Aug 02 2009 Automatic Build System 1.2.0-1mamba +- automatic update by autodist + +* Wed Jul 01 2009 Automatic Build System 1.1.95-1mamba +- automatic update by autodist + +* Sun Jun 07 2009 Automatic Build System 1.1.90-2mamba +- automatic rebuild by autodist + +* Thu Jun 04 2009 Automatic Build System 1.1.90-1mamba +- automatic update by autodist + +* Fri May 29 2009 Silvan Calarco 1.1.85-1mamba +- update to 1.1.85 +- added requirement for mysql + +* Thu Feb 05 2009 Silvan Calarco 1.1.1-1mamba +- automatic update by autodist + +* Tue Oct 07 2008 Silvan Calarco 1.0.0-1mamba +- update to 1.0.0 +- package renamed to akonadi, library moved to libakonadi* packages + +* Tue Jun 10 2008 Aleph0 812787-1mamba +- package created by autospec