libgdata-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. %define pkg_version 0.12.0
  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.12/%{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: libgnome-keyring-devel
  19. BuildRequires: gtk-doc
  20. BuildRequires: gnome-common
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. libgdata is a GLib-based library for accessing online service APIs using the
  27. GData protocol - most notably, Google's services. It provides APIs to access
  28. the common Google services, and has full asynchronous support.
  29. %package devel
  30. Summary: Development files for libgdata
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: libsoup-devel >= 2.26.1
  34. Requires: libxml2-devel
  35. %description devel
  36. Development files for libdata.
  37. %prep
  38. %setup -q
  39. %build
  40. autoreconf -if
  41. %configure --disable-static --enable-introspection=yes
  42. %{__make} V=0 %{?_smp_mflags}
  43. %install
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  46. %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la
  47. %find_lang gdata
  48. %clean
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. ##%check
  51. # Only the general test can be run without network access
  52. ##cd gdata/tests
  53. ##./general
  54. %post -p /sbin/ldconfig
  55. %postun -p /sbin/ldconfig
  56. %files -f gdata.lang
  57. %defattr(-,root,root)
  58. %doc COPYING ChangeLog NEWS README
  59. %{_libdir}/libgdata.so.*
  60. %{_libdir}/girepository-1.0/GData-0.0.typelib
  61. %{_datadir}/gtk-doc/html/gdata
  62. %files devel
  63. %defattr(-,root,root,-)
  64. %{_includedir}/libgdata
  65. %{_libdir}/libgdata.so
  66. %{_libdir}/pkgconfig/libgdata.pc
  67. %{_datadir}/gir-1.0/GData-0.0.gir
  68. %changelog
  69. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1
  70. - new upstream release
  71. - add BuildRequires: libgnome-keyring-devel
  72. * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.10.1-1
  73. - new upstream release
  74. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1
  75. - new upstream release
  76. - add BuildRequires: liboauth-devel, gdk-pixbuf2-devel
  77. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.6-1
  78. - new upstream release
  79. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.5-1
  80. - new upstream release
  81. - remove BuildRequires: gir-repository-devel
  82. - drop %check
  83. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-3
  84. - rebuild with rpm-4.8.1 for pkg-config file
  85. * Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-2
  86. - fixed Group typo
  87. * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1
  88. - initial build for Vine Linux