libgfbgraph-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Name: libgfbgraph
  2. Version: 0.2.4
  3. Release: 1%{?_dist_release}
  4. Summary: GLib/GObject wrapper for the Facebook Graph API
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2+
  9. URL: https://git.gnome.org/browse/libgfbgraph/
  10. %define shortver %(echo %{version} | cut -d . -f 1-2)
  11. Source0: http://ftp.gnome.org/pub/GNOME/sources/gfbgraph/%{shortver}/gfbgraph-%{version}.tar.xz
  12. BuildRequires: glib2-devel
  13. BuildRequires: json-glib-devel
  14. BuildRequires: rest-devel
  15. BuildRequires: libsoup-devel
  16. BuildRequires: gnome-online-accounts-devel
  17. Obsoletes: libgfbgraph-docs < 0.2.4
  18. %description
  19. %{summary}
  20. %package devel
  21. Summary: Development tools for %{name}
  22. Summary(ja): %{name} の開発環境
  23. Group: programming
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: pkgconfig
  26. %description devel
  27. Header files and libraries for building a extension library for the %{name}.
  28. %debug_package
  29. %prep
  30. %setup -q -n gfbgraph-%{version}
  31. %build
  32. ./autogen.sh
  33. %configure \
  34. --disable-static
  35. make %{?_smp_mflags}
  36. %install
  37. make install DESTDIR=$RPM_BUILD_ROOT
  38. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  39. rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc AUTHORS COPYING ChangeLog NEWS README
  43. %{_libdir}/libgfbgraph-0.2.so.*
  44. %{_libdir}/girepository-1.0/GFBGraph-0.2.typelib
  45. %files devel
  46. %defattr(-,root,root,-)
  47. %{_includedir}/gfbgraph-0.2
  48. %{_libdir}/libgfbgraph-0.2.so
  49. %{_libdir}/pkgconfig/libgfbgraph-0.2.pc
  50. %{_datadir}/gir-1.0/GFBGraph-0.2.gir
  51. %changelog
  52. * Tue Mar 30 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.2.4-1
  53. - new upstream release.
  54. - dropped ldconfig scriptltes.
  55. - dropped docs package.
  56. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
  57. - initial build