libkgapi-vl.spec 3.1 KB

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