]>
Commit | Line | Data |
---|---|---|
01b46055 AM |
1 | Summary: Library to access to Google services |
2 | Name: libkgapi | |
344c6b68 | 3 | Version: 2.2.0 |
01b46055 AM |
4 | Release: 1 |
5 | License: GPL v2+ | |
6 | Group: Development/Libraries | |
7 | URL: http://www.progdan.cz/2012/05/libkgoogle-libkgapi | |
344c6b68 WF |
8 | Source0: http://download.kde.org/stable/libkgapi/%{version}/src/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: f3f2e4e68bb8baf849935f2f2eecf781 | |
01b46055 AM |
10 | BuildRequires: kde4-kdelibs-devel |
11 | BuildRequires: kde4-kdepimlibs-devel | |
12 | ||
13 | %description | |
14 | Library to access to Google services, this package is needed by | |
15 | kdepim-runtime to build akonadi-google resources. | |
16 | ||
17 | ||
18 | %package devel | |
19 | Summary: Development files for %{name} | |
20 | Group: Development/Libraries | |
21 | Requires: %{name} = %{version}-%{release} | |
22 | Requires: kde4-kdepimlibs-devel | |
23 | ||
24 | %description devel | |
25 | Libraries and header files for developing applications that use | |
26 | akonadi-google resources. | |
27 | ||
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | ||
32 | %build | |
33 | install -d build | |
34 | cd build | |
35 | %cmake \ | |
36 | ../ | |
37 | ||
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} -C build install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %post -p /sbin/ldconfig | |
50 | %postun -p /sbin/ldconfig | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
073f342c | 54 | %doc README LICENSE |
073f342c WF |
55 | %attr(755,root,root) %{_libdir}/libkgapi2.so.*.*.* |
56 | %attr(755,root,root) %ghost %{_libdir}/libkgapi2.so.? | |
01b46055 AM |
57 | |
58 | %files devel | |
59 | %defattr(644,root,root,755) | |
073f342c | 60 | %{_includedir}/LibKGAPI2 |
073f342c | 61 | %{_includedir}/libkgapi2 |
073f342c | 62 | %attr(755,root,root) %{_libdir}/libkgapi2.so |
073f342c | 63 | %{_libdir}/cmake/LibKGAPI2 |