libgdata-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. %define pkg_version 0.13.2
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: A library for accessing online service APIs using the GData protocol
  4. Summary(ja): GData プロトコルを使用しているオンラインサービス API にアクセスするためのライブラリ
  5. Name: libgdata
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.13/%{name}-%{version}.tar.xz
  9. License: LGPLv2+
  10. Group: System Environment/Libraries
  11. URL: http://live.gnome.org/libgdata
  12. BuildRequires: glib2-devel >= 2.26.0
  13. BuildRequires: gdk-pixbuf2-devel
  14. BuildRequires: libsoup-devel >= 2.32.0
  15. BuildRequires: libxml2-devel
  16. BuildRequires: gobject-introspection-devel
  17. BuildRequires: liboauth-devel
  18. BuildRequires: gcr-devel
  19. BuildRequires: gnome-online-accounts-devel
  20. BuildRequires: gtk-doc
  21. BuildRequires: gnome-common
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Takemikaduchi
  26. %description
  27. libgdata is a GLib-based library for accessing online service APIs using the
  28. GData protocol - most notably, Google's services. It provides APIs to access
  29. the common Google services, and has full asynchronous support.
  30. %package devel
  31. Summary: Development files for libgdata
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: libsoup-devel >= 2.26.1
  35. Requires: libxml2-devel
  36. %description devel
  37. Development files for libdata.
  38. %prep
  39. %setup -q
  40. %build
  41. autoreconf -if
  42. %configure --disable-static --enable-introspection=yes
  43. %{__make} V=0 %{?_smp_mflags}
  44. %install
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  47. %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la
  48. %find_lang gdata
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. ##%check
  52. # Only the general test can be run without network access
  53. ##cd gdata/tests
  54. ##./general
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %files -f gdata.lang
  58. %defattr(-,root,root)
  59. %doc COPYING ChangeLog NEWS README
  60. %{_libdir}/libgdata.so.*
  61. %{_libdir}/girepository-1.0/GData-0.0.typelib
  62. %{_datadir}/gtk-doc/html/gdata
  63. %files devel
  64. %defattr(-,root,root,-)
  65. %{_includedir}/libgdata
  66. %{_libdir}/libgdata.so
  67. %{_libdir}/pkgconfig/libgdata.pc
  68. %{_datadir}/gir-1.0/GData-0.0.gir
  69. %changelog
  70. * Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-1
  71. - new upstream release
  72. - remove BuildRequires: libgnome-keyring-devel
  73. - add BuildRequires: gcr-devel, gnome-online-accounts-devel
  74. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1
  75. - new upstream release
  76. - add BuildRequires: libgnome-keyring-devel
  77. * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.10.1-1
  78. - new upstream release
  79. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1
  80. - new upstream release
  81. - add BuildRequires: liboauth-devel, gdk-pixbuf2-devel
  82. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.6-1
  83. - new upstream release
  84. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.5-1
  85. - new upstream release
  86. - remove BuildRequires: gir-repository-devel
  87. - drop %check
  88. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-3
  89. - rebuild with rpm-4.8.1 for pkg-config file
  90. * Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-2
  91. - fixed Group typo
  92. * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1
  93. - initial build for Vine Linux