libgdata-vl.spec 2.5 KB

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