libzapojit-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: libzapojit
  2. Version: 0.0.2
  3. Release: 1%{?_dist_release}
  4. Summary: GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs
  5. Summary(ja): SkyDrive と Hotmail の REST API 用 GLib/GObject ラッパー
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: https://live.gnome.org/Zapojit
  9. Source0: http://download.gnome.org/sources/%{name}/0.0/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= 2.12.0
  12. BuildRequires: json-glib-devel
  13. BuildRequires: rest-devel
  14. BuildRequires: libsoup-devel
  15. BuildRequires: gnome-online-accounts-devel
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. Zapojit is a GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs.
  21. %package devel
  22. Summary: Development files for %{name}
  23. Summary(ja): %{name} の開発ファイル
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: pkgconfig
  27. Requires: gobject-introspection-devel
  28. %description devel
  29. The %{name}-devel package contains libraries and header files for
  30. developing applications that use %{name}.
  31. %package doc
  32. Summary: Documentation for %{name}
  33. Summary(ja): %{name} 用のドキュメント
  34. Group: Documentation
  35. Requires: %{name} = %{version}-%{release}
  36. BuildArch: noarch
  37. %description doc
  38. This package contains documentation for %{name}.
  39. %prep
  40. %setup -q
  41. %build
  42. %configure --disable-static
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=$RPM_BUILD_ROOT
  47. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  48. rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc AUTHORS ChangeLog COPYING NEWS README
  56. %{_libdir}/%{name}*.so.*
  57. %{_libdir}/girepository-1.0/Zpj-0.0.typelib
  58. %files devel
  59. %defattr(-,root,root,-)
  60. %{_includedir}/%{name}-0.0
  61. %{_libdir}/%{name}*.so
  62. %{_libdir}/pkgconfig/zapojit-0.0.pc
  63. %{_datadir}/gir-1.0/Zpj-0.0.gir
  64. %files doc
  65. %defattr(-,root,root,-)
  66. %{_datadir}/gtk-doc/html/%{name}-0.0
  67. %changelog
  68. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2-1
  69. - initial build