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