libgdata-vl.spec 2.8 KB

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