|
@@ -1,14 +1,18 @@
|
|
|
|
+%define _qt4_ver 4.6.3
|
|
|
|
+%define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo %{qt4_ver})
|
|
|
|
+%define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt-%{qt4_version})
|
|
|
|
+%define _qt4_plugindir %(pkg-config --variable plugindir --silence-errors Qt 2>/dev/null || echo %{_qt4_prefix}/plugins)
|
|
|
|
+
|
|
|
|
+Name: akonadi
|
|
Summary: PIM Storage Service
|
|
Summary: PIM Storage Service
|
|
Summary(ja): PIM ストレージサービス
|
|
Summary(ja): PIM ストレージサービス
|
|
-Name: akonadi
|
|
|
|
-Version: 1.3.1
|
|
|
|
-Release: 3%{?_dist_release}
|
|
|
|
|
|
+Version: 1.4.0
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
License: LGPLv2+
|
|
License: LGPLv2+
|
|
URL: http://download.akonadi-project.org/
|
|
URL: http://download.akonadi-project.org/
|
|
Source0: http://download.akonadi-project.org/akonadi-%{version}.tar.bz2
|
|
Source0: http://download.akonadi-project.org/akonadi-%{version}.tar.bz2
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
# shrink default initial db size a bit (approx 140mb->28mb)
|
|
# shrink default initial db size a bit (approx 140mb->28mb)
|
|
%define mysql_conf_timestamp 20100209
|
|
%define mysql_conf_timestamp 20100209
|
|
@@ -16,6 +20,7 @@ Patch1: akonadi-1.1.1-mysql_conf.patch
|
|
|
|
|
|
## upstream patches
|
|
## upstream patches
|
|
|
|
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: cmake >= 2.6.0
|
|
BuildRequires: cmake >= 2.6.0
|
|
BuildRequires: qt4-devel >= 4.5.0
|
|
BuildRequires: qt4-devel >= 4.5.0
|
|
BuildRequires: automoc4
|
|
BuildRequires: automoc4
|
|
@@ -25,7 +30,8 @@ BuildRequires: MySQL-server
|
|
BuildRequires: libxslt
|
|
BuildRequires: libxslt
|
|
BuildRequires: shared-mime-info
|
|
BuildRequires: shared-mime-info
|
|
BuildRequires: libboost-devel libboost-program-options
|
|
BuildRequires: libboost-devel libboost-program-options
|
|
-BuildRequires: soprano-devel >= 2.3.0
|
|
|
|
|
|
+BuildRequires: soprano-devel >= 2.5.0
|
|
|
|
+BuildRequires: sqlite3-devel
|
|
BuildRequires: libICE-devel libXext-devel
|
|
BuildRequires: libICE-devel libXext-devel
|
|
|
|
|
|
# when/if akonadi grows support for other backends, consider splitting
|
|
# when/if akonadi grows support for other backends, consider splitting
|
|
@@ -43,6 +49,15 @@ Akonadi can spawn a per-user one automatically if the mysql-server
|
|
package is installed on the machine.
|
|
package is installed on the machine.
|
|
See also: %{_sysconfdir}/akonadi/mysql-global.conf
|
|
See also: %{_sysconfdir}/akonadi/mysql-global.conf
|
|
|
|
|
|
|
|
+%package sqlite
|
|
|
|
+Summary: a sliglty adjusted QSQLITE driver for akonadi
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: qt4 = %{_qt4_version}
|
|
|
|
+
|
|
|
|
+%description sqlite
|
|
|
|
+%{summary}.
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Developer files for %{name}
|
|
Summary: Developer files for %{name}
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
@@ -68,6 +83,7 @@ mkdir -p %{_target_platform}
|
|
pushd %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%cmake \
|
|
%cmake \
|
|
-DCONFIG_INSTALL_DIR=%{_sysconfdir} \
|
|
-DCONFIG_INSTALL_DIR=%{_sysconfdir} \
|
|
|
|
+ -DINSTALL_QSQLITE_IN_QT_PREFIX:PATH=%{_qt4_plugindir} \
|
|
..
|
|
..
|
|
popd
|
|
popd
|
|
|
|
|
|
@@ -102,8 +118,10 @@ fi
|
|
%doc AUTHORS lgpl-license
|
|
%doc AUTHORS lgpl-license
|
|
%dir %{_sysconfdir}/akonadi
|
|
%dir %{_sysconfdir}/akonadi
|
|
%config(noreplace) %{_sysconfdir}/akonadi/mysql-global.conf
|
|
%config(noreplace) %{_sysconfdir}/akonadi/mysql-global.conf
|
|
|
|
+%config(noreplace) %{_sysconfdir}/akonadi/mysql-global-mobile.conf
|
|
%config(noreplace) %{_sysconfdir}/akonadi/mysql-local.conf
|
|
%config(noreplace) %{_sysconfdir}/akonadi/mysql-local.conf
|
|
%{_bindir}/akonadi_control
|
|
%{_bindir}/akonadi_control
|
|
|
|
+%{_bindir}/akonadi_rds
|
|
%{_bindir}/akonadictl
|
|
%{_bindir}/akonadictl
|
|
%{_bindir}/akonadiserver
|
|
%{_bindir}/akonadiserver
|
|
%{_libdir}/libakonadi*.so.1*
|
|
%{_libdir}/libakonadi*.so.1*
|
|
@@ -112,6 +130,10 @@ fi
|
|
%{_datadir}/mime/packages/akonadi-mime.xml
|
|
%{_datadir}/mime/packages/akonadi-mime.xml
|
|
%{_datadir}/akonadi
|
|
%{_datadir}/akonadi
|
|
|
|
|
|
|
|
+%files sqlite
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_qt4_plugindir}/sqldrivers/libqsqlite3.so
|
|
|
|
+
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_includedir}/akonadi
|
|
%{_includedir}/akonadi
|
|
@@ -121,6 +143,14 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.0-1
|
|
|
|
+- new upstream release
|
|
|
|
+- added BR: sqlite3-devel
|
|
|
|
+- added sqlite subpackage
|
|
|
|
+
|
|
|
|
+* Sun Apr 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.1-3
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Sun Apr 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.1-3
|
|
* Sun Apr 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.1-3
|
|
- updated Patch1
|
|
- updated Patch1
|
|
- added BR: MySQL-server
|
|
- added BR: MySQL-server
|