]> git.pld-linux.org Git - packages/libkgapi.git/blob - libkgapi.spec
d4a08443d7726801cdd4b22ea711dece883270ac
[packages/libkgapi.git] / libkgapi.spec
1 Summary:        Library to access to Google services
2 Name:           libkgapi
3 Version:        2.0.2
4 Release:        1
5 License:        GPL v2+
6 Group:          Development/Libraries
7 URL:            http://www.progdan.cz/2012/05/libkgoogle-libkgapi
8 Source0:        ftp://ftp.kde.org/pub/kde/stable/libkgapi/%{version}/src/%{name}-%{version}.tar.xz
9 # Source0-md5:  27c406bb32b8cf0199cd44952bb8680e
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)
54 %doc README LICENSE
55 %attr(755,root,root) %{_libdir}/libkgapi.so.*.*.*
56 %attr(755,root,root) %ghost %{_libdir}/libkgapi.so.?
57 %attr(755,root,root) %{_libdir}/libkgapi2.so.*.*.*
58 %attr(755,root,root) %ghost %{_libdir}/libkgapi2.so.?
59
60 %files devel
61 %defattr(644,root,root,755)
62 %{_includedir}/LibKGAPI2
63 %{_includedir}/libkgapi
64 %{_includedir}/libkgapi2
65 %{_pkgconfigdir}/libkgapi.pc
66 %{_pkgconfigdir}/libkgapi2.pc
67 %attr(755,root,root) %{_libdir}/libkgapi.so
68 %attr(755,root,root) %{_libdir}/libkgapi2.so
69 %{_libdir}/cmake/LibKGAPI
70 %{_libdir}/cmake/LibKGAPI2
This page took 0.047115 seconds and 2 git commands to generate.