]> git.pld-linux.org Git - packages/akonadi.git/blob - akonadi.spec
89c29d4abb1afc20829cca3985fa778d194082a6
[packages/akonadi.git] / akonadi.spec
1 %define         snap            svn1057960
2 %define         qtver           4.8.1
3 Summary:        Akonadi - The PIM Storage Service
4 Summary(pl.UTF-8):      Akonadi - usługa przechowywania danych dla aplikacji PIM
5 Name:           akonadi
6 Version:        1.10.0
7 Release:        1
8 License:        GPL v2+
9 Group:          X11/Applications
10 Source0:        ftp://ftp.kde.org/pub/kde/stable/akonadi/src/%{name}-%{version}.tar.bz2
11 # Source0-md5:  bb94de6a4300bf8355e6a1ccce5846af
12 # svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/akonadi/
13 #Source0:       %{name}-%{version}-%{snap}.tar.bz2
14 Patch0:         akonadi-cleanup_orphan_resources.patch
15 URL:            http://pim.kde.org/akonadi/
16 BuildRequires:  QtCore-devel >= %{qtver}
17 BuildRequires:  QtDBus-devel >= %{qtver}
18 BuildRequires:  QtGui-devel >= %{qtver}
19 BuildRequires:  QtNetwork-devel >= %{qtver}
20 BuildRequires:  QtSql-devel >= %{qtver}
21 BuildRequires:  QtTest-devel >= %{qtver}
22 BuildRequires:  automoc4
23 BuildRequires:  boost-devel
24 #BuildRequires: clucene-core-devel >= 0.9.16a-2
25 BuildRequires:  cmake >= 2.8.0
26 BuildRequires:  libxslt-progs
27 BuildRequires:  qt4-build >= %{qtver}
28 BuildRequires:  qt4-qmake >= %{qtver}
29 BuildRequires:  rpmbuild(macros) >= 1.293
30 BuildRequires:  shared-mime-info
31 BuildRequires:  soprano-devel >= 2.4.64
32 Requires:       %{name}-libs = %{version}-%{release}
33 Requires:       QtSql-mysql
34 Requires:       mysql
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Akonadi is a personal information management (PIM) framework for KDE
39 4.1 and newer. Akonadi will function as an extensible data storage for
40 all PIM applications.
41
42 Besides data storage, Akonadi has several other components including
43 search, and a library (cache) for easy access and notification of data
44 changes.
45
46 %description -l pl.UTF-8
47 Akonadi do szkielet zarządzania informacjami osobistymi (PIM) dla KDE
48 w wersji 4.1 i nowszych. Działa jako rozszerzalny system
49 przechowywania danych dla wszystkich aplikacji PIM.
50
51 Poza przechowywaniem danych Akonadi ma kilka innych komponentów, w tym
52 wyszukiwanie oraz bibliotekę (pamięć podręczną) w celu łatwego dostępu
53 i powiadamiania i zmianie danych.
54
55 %package devel
56 Summary:        Header files for Akonadi
57 Summary(pl.UTF-8):      Pliki nagłówkowe dla Akonadi
58 Group:          Development/Libraries
59 Requires:       %{name}-libs = %{version}-%{release}
60
61 %description devel
62 Header files needed to build Akonadi client libraries and
63 applications.
64
65 %description devel -l pl.UTF-8
66 Pliki nagłówkowe do tworzenia bibliotek klienckich i aplikacji
67 używających Akonadi.
68
69 %package libs
70 Summary:        Akonadi libraries
71 Summary(pl.UTF-8):      Biblioteki Akonadi
72 Group:          Libraries
73
74 %description libs
75 Akonadi libraries.
76
77 %description libs -l pl.UTF-8
78 Biblioteki Akonadi.
79
80 %prep
81 %setup -q
82
83 %build
84 install -d build
85 cd build
86 %cmake \
87         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
88         -DINSTALL_QSQLITE_IN_QT_PREFIX=%{_libdir}/qt4/plugins \
89         -DMYSQLD_EXECUTABLE=/usr/sbin/mysqld \
90 %if "%{_lib}" == "lib64"
91         -DLIB_SUFFIX=64 \
92 %endif
93         ..
94
95 %{__make}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99
100 %{__make} -C build install \
101         DESTDIR=$RPM_BUILD_ROOT
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   libs -p /sbin/ldconfig
107 %postun libs -p /sbin/ldconfig
108
109 %files
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_bindir}/akonadi_agent_launcher
112 %attr(755,root,root) %{_bindir}/akonadi_agent_server
113 %attr(755,root,root) %{_bindir}/akonadi_control
114 %attr(755,root,root) %{_bindir}/akonadi_rds
115 %attr(755,root,root) %{_bindir}/akonadictl
116 %attr(755,root,root) %{_bindir}/akonadiserver
117 %attr(755,root,root) %{_bindir}/asapcat
118 %dir %{_datadir}/config/akonadi
119 %{_datadir}/config/akonadi/mysql-global.conf
120 %{_datadir}/config/akonadi/mysql-global-mobile.conf
121 %{_datadir}/mime/packages/akonadi-mime.xml
122
123 %files libs
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %ghost %{_libdir}/libakonadiprotocolinternals.so.?
126 %attr(755,root,root) %{_libdir}/libakonadiprotocolinternals.so.*.*.*
127 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite3.so
128 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.AgentManager.xml
129 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Agent.Status.xml
130 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.NotificationManager.xml
131 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.NotificationSource.xml
132 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Preprocessor.xml
133 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Resource.xml
134 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Tracer.xml
135 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Agent.Control.xml
136 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.ControlManager.xml
137 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.DebugInterface.xml
138 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Server.xml
139 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.TracerNotification.xml
140 %{_datadir}/dbus-1/services/org.freedesktop.Akonadi.Control.service
141
142 %files devel
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_libdir}/libakonadiprotocolinternals.so
145 %{_libdir}/cmake/Akonadi
146 %{_includedir}/akonadi
147 %{_pkgconfigdir}/akonadi.pc
This page took 0.073022 seconds and 2 git commands to generate.