1 |
%define subrel 1 |
2 |
Name: akonadi-googledata |
3 |
Version: 1.2.0 |
4 |
Summary: Google contacts and calendar akonadi resource |
5 |
Release: %mkrel 1 |
6 |
License: LGPLv2.1 |
7 |
Group: Graphical desktop/KDE |
8 |
URL: http://websvn.kde.org/trunk/extragear/pim/googledata/ |
9 |
Source0: http://libgcal.googlecode.com/files/%{name}-%{version}.tar.bz2 |
10 |
Patch0: akonadi-googledata-1.2.0-cmake-various-fix.patch |
11 |
Patch1: akonadi-googledata-1.2.0-contacts-i18n.patch |
12 |
Patch2: akonadi-googledata-1.2.0-calendar-gcalresource-fix-various-kde.patch |
13 |
BuildRequires: kdepimlibs4-devel |
14 |
BuildRequires: libgcal-devel >= 0.9.6 |
15 |
BuildRequires: boost-devel |
16 |
BuildRequires: libxslt-proc |
17 |
Requires: akonadi-kde |
18 |
Obsoletes: googledata |
19 |
|
20 |
%description |
21 |
Google contacts and calendar akonadi resource |
22 |
|
23 |
%files -f akonadi_gcal_resource.lang |
24 |
%defattr(-,root,root) |
25 |
%doc README COPYING ChangeLog |
26 |
%{_kde_bindir}/akonadi_gcal_resource |
27 |
%{_kde_bindir}/akonadi_googledata_resource |
28 |
%{_kde_datadir}/akonadi/agents/gcalresource.desktop |
29 |
%{_kde_datadir}/akonadi/agents/googledataresource.desktop |
30 |
|
31 |
#----------------------------------------------------------------------------- |
32 |
|
33 |
%prep |
34 |
%setup -q -n %{name}-%{version} |
35 |
%patch0 -p0 |
36 |
%patch1 -p0 |
37 |
%patch2 -p0 |
38 |
%build |
39 |
%cmake_kde4 |
40 |
%make |
41 |
|
42 |
%install |
43 |
%__rm -rf %{buildroot} |
44 |
%makeinstall_std -C build |
45 |
%find_lang akonadi_gcal_resource |
46 |
|
47 |
%clean |
48 |
%__rm -rf %{buildroot} |
49 |
|
50 |
|
51 |
|