]>
Commit | Line | Data |
---|---|---|
0d7bac08 | 1 | %define qtbrver 4.4.0 |
33d0fc7d | 2 | %define _rel 809880 |
0d7bac08 | 3 | Summary: Akonadi |
4 | Summary(pl.UTF-8): Akonadi | |
5 | Name: akonadi | |
6 | Version: 0.80.0 | |
bed9b96f | 7 | Release: 1.%{_rel}.2 |
0d7bac08 | 8 | License: GPL v2 |
9 | Group: X11/Applications | |
bed9b96f | 10 | Source0: ftp://robert74.one.pl/PLD_th/%{name}-%{version}.%{_rel}.tar.bz2 |
33d0fc7d | 11 | # Source0-md5: 453e11a6083798d6f7ee4e662cc83426 |
0d7bac08 | 12 | URL: http://pim.kde.org/akonadi/ |
13 | BuildRequires: QtCore-devel >= %{qtbrver} | |
14 | BuildRequires: QtDBus-devel >= %{qtbrver} | |
15 | BuildRequires: QtNetwork-devel >= %{qtbrver} | |
16 | BuildRequires: QtTest-devel >= %{qtbrver} | |
17 | #BuildRequires: clucene-core-devel >= 0.9.16a-2 | |
18 | BuildRequires: cmake | |
19 | BuildRequires: qt4-build >= %{qtbrver} | |
20 | BuildRequires: qt4-qmake >= %{qtbrver} | |
21 | BuildRequires: rpmbuild(macros) >= 1.293 | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Akonadi. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Akonadi. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for akonadi | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe dla akonadi | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | ||
36 | %description devel | |
37 | Header files for akonadi. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki nagłówkowe dla akonadi. | |
41 | ||
42 | %prep | |
33d0fc7d | 43 | %setup -q -n %{name} |
0d7bac08 | 44 | |
45 | %build | |
46 | install -d build | |
47 | cd build | |
48 | %cmake \ | |
49 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
50 | -DQT_QMAKE_EXECUTABLE=%{_bindir}/qmake-qt4 \ | |
51 | %if "%{_lib}" == "lib64" | |
52 | -DLIB_SUFFIX=64 \ | |
53 | %endif | |
54 | .. | |
55 | ||
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} -C build install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %post -p /sbin/ldconfig | |
68 | %postun -p /sbin/ldconfig | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
72 | %attr(755,root,root) %{_bindir}/akonadi_control | |
73 | %attr(755,root,root) %{_bindir}/akonadictl | |
74 | %attr(755,root,root) %{_bindir}/akonadiserver | |
33d0fc7d RT |
75 | %attr(755,root,root) %ghost %{_libdir}/libakonadiprivate.so.? |
76 | %attr(755,root,root) %{_libdir}/libakonadiprivate.so.*.*.* | |
77 | %attr(755,root,root) %ghost %{_libdir}/libakonadiprotocolinternals.so.? | |
78 | %attr(755,root,root) %{_libdir}/libakonadiprotocolinternals.so.*.*.* | |
0d7bac08 | 79 | %dir %{_datadir}/config/akonadi |
80 | %{_datadir}/config/akonadi/mysql-global.conf | |
33d0fc7d RT |
81 | %{_pkgconfigdir}/akonadi.pc |
82 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Agent.Control.xml | |
83 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Agent.Status.xml | |
84 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.AgentManager.xml | |
85 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.ControlManager.xml | |
86 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.NotificationManager.xml | |
87 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Resource.xml | |
88 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Search.xml | |
89 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.SearchQuery.xml | |
90 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.SearchQueryIterator.xml | |
91 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Server.xml | |
92 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Tracer.xml | |
93 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.TracerNotification.xml | |
94 | %{_datadir}/dbus-1/services/org.freedesktop.Akonadi.Control.service | |
0d7bac08 | 95 | %{_datadir}/mime/packages/akonadi-mime.xml |
96 | ||
97 | %files devel | |
98 | %defattr(644,root,root,755) | |
99 | %{_libdir}/libakonadiprivate.so | |
100 | %{_libdir}/libakonadiprotocolinternals.so | |
101 | %{_includedir}/akonadi |