[6725] | 1 | Name: libkgapi |
---|
| 2 | Summary: Google APIs for KDE |
---|
| 3 | Summary(ja): KDE 向け Google API 集 |
---|
[8430] | 4 | Version: 2.1.1 |
---|
[6725] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | License: GPLv2+ |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | URL: https://projects.kde.org/projects/extragear/libs/libkgapi |
---|
| 10 | |
---|
[8430] | 11 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/src/%{name}-%{version}.tar.bz2 |
---|
[6725] | 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: kdelibs-devel >= 4.7.0 |
---|
| 15 | BuildRequires: kdepimlibs-devel >= 4.6 |
---|
| 16 | BuildRequires: libkipi-devel |
---|
| 17 | BuildRequires: qjson-devel |
---|
| 18 | BuildRequires: soprano-devel |
---|
| 19 | BuildRequires: libboost-devel |
---|
| 20 | |
---|
[8252] | 21 | Requires: kdelibs >= 4.7.0 |
---|
[6725] | 22 | |
---|
[8252] | 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
[6725] | 25 | |
---|
| 26 | %description |
---|
| 27 | LibKGAPI (previously called LibKGoogle) is a C++ library that implements APIs for |
---|
| 28 | various Google services. |
---|
| 29 | |
---|
| 30 | Currently supported APIs: |
---|
| 31 | - Calendar API v3 (https://developers.google.com/google-apps/calendar) |
---|
| 32 | - Contacts API v3 (https://developers.google.com/google-apps/contacts/v3/) |
---|
| 33 | - Tasks API v1 (https://developers.google.com/google-apps/tasks) |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %package devel |
---|
| 37 | Summary: Development files for %{name} |
---|
| 38 | Summary(ja): %{name} の開発用ファイル |
---|
| 39 | Group: Development/Libraries |
---|
| 40 | Requires: %{name} = %{version}-%{release} |
---|
[8252] | 41 | Requires: kdelibs-devel |
---|
[6725] | 42 | |
---|
| 43 | %description devel |
---|
| 44 | %{summary}. |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %prep |
---|
| 48 | %setup -q |
---|
| 49 | |
---|
| 50 | %build |
---|
| 51 | mkdir -p %{_target_platform} |
---|
| 52 | pushd %{_target_platform} |
---|
| 53 | %cmake \ |
---|
| 54 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 55 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 56 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 57 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 58 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 59 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 60 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 61 | .. |
---|
| 62 | popd |
---|
| 63 | |
---|
| 64 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %install |
---|
| 68 | rm -rf $RPM_BUILD_ROOT |
---|
| 69 | |
---|
| 70 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %post |
---|
| 74 | /sbin/ldconfig |
---|
| 75 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 76 | |
---|
| 77 | %posttrans |
---|
| 78 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 79 | |
---|
| 80 | %postun |
---|
| 81 | /sbin/ldconfig |
---|
| 82 | if [ $1 -eq 0 ] ; then |
---|
| 83 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 84 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 85 | fi |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %files |
---|
| 89 | %defattr(-,root,root,-) |
---|
| 90 | %doc LICENSE README |
---|
[7728] | 91 | %{_libdir}/libkgapi2.so.* |
---|
[6725] | 92 | |
---|
| 93 | %files devel |
---|
| 94 | %defattr(-,root,root,-) |
---|
[7728] | 95 | %{_includedir}/kde4/%{name}2 |
---|
| 96 | %{_includedir}/kde4/LibKGAPI2 |
---|
| 97 | %{_libdir}/libkgapi2.so |
---|
| 98 | %{_libdir}/cmake/LibKGAPI2 |
---|
[6725] | 99 | |
---|
| 100 | |
---|
| 101 | %changelog |
---|
[8430] | 102 | * Mon May 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.1-1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
[8252] | 105 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[7728] | 108 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[7294] | 111 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.4-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[7067] | 114 | * Sun Nov 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[6785] | 117 | * Mon Sep 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.2-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[6725] | 120 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1 |
---|
| 121 | - initial build |
---|