libgdata-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. %define pkg_version 0.6.4
  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.6/%{name}-%{version}.tar.bz2
  9. License: LGPLv2+
  10. Group: System Emvironment/Libraries
  11. URL: http://live.gnome.org/libgdata
  12. BuildRequires: glib2-devel >= 2.19.0
  13. BuildRequires: libsoup-devel >= 2.26.1
  14. BuildRequires: libxml2-devel
  15. BuildRequires: gobject-introspection-devel
  16. BuildRequires: gir-repository-devel
  17. BuildRequires: gtk-doc
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. libgdata is a GLib-based library for accessing online service APIs using the
  24. GData protocol - most notably, Google's services. It provides APIs to access
  25. the common Google services, and has full asynchronous support.
  26. %package devel
  27. Summary: Development files for libgdata
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: libsoup-devel >= 2.26.1
  31. Requires: libxml2-devel
  32. %description devel
  33. Development files for libdata.
  34. %prep
  35. %setup -q
  36. %build
  37. %configure --disable-static
  38. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  42. %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la
  43. %find_lang gdata
  44. %clean
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %check
  47. # Only the general test can be run without network access
  48. cd gdata/tests
  49. ./general
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files -f gdata.lang
  53. %defattr(-,root,root)
  54. %doc COPYING ChangeLog NEWS README
  55. %{_libdir}/libgdata.so.*
  56. %{_libdir}/girepository-1.0/GData-0.0.typelib
  57. %{_datadir}/gir-1.0/GData-0.0.gir
  58. %{_datadir}/gtk-doc/html/gdata
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %{_includedir}/libgdata
  62. %{_libdir}/libgdata.so
  63. %{_libdir}/pkgconfig/libgdata.pc
  64. %changelog
  65. * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1
  66. - initial build for Vine Linux