libgfbgraph-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Name: libgfbgraph
  2. Version: 0.2.2
  3. Release: 1%{?_dist_release}
  4. Summary: GLib/GObject wrapper for the Facebook Graph API
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: https://git.gnome.org/browse/libgfbgraph/
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/gfbgraph/0.2/gfbgraph-%{version}.tar.xz
  9. BuildRequires: glib2-devel
  10. BuildRequires: json-glib-devel
  11. BuildRequires: rest-devel
  12. BuildRequires: libsoup-devel
  13. BuildRequires: gnome-online-accounts-devel
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. %{summary}
  18. %package devel
  19. Summary: Development tools for %{name}
  20. Summary(ja): %{name} の開発環境
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: pkgconfig
  24. %description devel
  25. Header files and libraries for building a extension library for the %{name}.
  26. %package docs
  27. Summary: Documentation for %{name}
  28. Summary(ja): %{name} 用のドキュメント
  29. Group: Documentation
  30. Requires: %{name} = %{version}-%{release}
  31. BuildArch: noarch
  32. %description docs
  33. This package contains documentation for %{name}.
  34. %prep
  35. %setup -q -n gfbgraph-%{version}
  36. %build
  37. %configure \
  38. --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  43. rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc AUTHORS COPYING ChangeLog NEWS README
  49. %{_libdir}/libgfbgraph-0.2.so.*
  50. %{_libdir}/girepository-1.0/GFBGraph-0.2.typelib
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %{_includedir}/gfbgraph-0.2
  54. %{_libdir}/libgfbgraph-0.2.so
  55. %{_libdir}/pkgconfig/libgfbgraph-0.2.pc
  56. %{_datadir}/gir-1.0/GFBGraph-0.2.gir
  57. %files docs
  58. %defattr(-,root,root,-)
  59. %{_datadir}/gtk-doc/html/gfbgraph
  60. %changelog
  61. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
  62. - initial build