libgdata-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. %define pkg_version 0.6.4
  2. %define pkg_release 3%{?_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 Environment/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. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-3
  66. - rebuild with rpm-4.8.1 for pkg-config file
  67. * Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-2
  68. - fixed Group typo
  69. * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1
  70. - initial build for Vine Linux