libgit2-glib-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. Summary: GLib wrapper for libgit2
  2. Summary(ja): libgit2 用 GLib ラッパー
  3. Name: libgit2-glib
  4. Version: 0.99.0.1
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPLv2.1
  10. URL: https://wiki.gnome.org/Projects/Libgit2-glib
  11. %global shortver %(echo %{version} | cut -d . -f 1,2)
  12. Source0: https://download.gnome.org/sources/libgit2-glib/%{shortver}/%{name}-%{version}.tar.xz
  13. # Patch from upstream
  14. Patch0: 20.patch
  15. Patch1: 22.patch
  16. BuildRequires: glib2-devel
  17. BuildRequires: libgit2-devel
  18. BuildRequires: libssh2-devel
  19. BuildRequires: gobject-introspection-devel
  20. BuildRequires: gtk-doc
  21. BuildRequires: python3-devel
  22. BuildRequires: meson vala-devel vala pygobject3-devel
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. %description
  25. libgit2-glib is a glib wrapper library around the libgit2 git access library.
  26. %description -l ja
  27. libgit2-glib は GIT アクセス用ライブラリ libgit2 用の glib ラッパーライブラリです。
  28. %package devel
  29. Summary: Development tools for %{name}
  30. Summary(ja): %{name} の開発環境
  31. Group: programming
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pkgconfig
  34. %description devel
  35. Header files and libraries for building a extension library for the %{name}.
  36. %package docs
  37. Summary: Documentation for %{name}
  38. Summary(ja): %{name} 用のドキュメント
  39. Group: documentation
  40. BuildArch: noarch
  41. %description docs
  42. This package contains documentation for %{name}.
  43. %debug_package
  44. %prep
  45. %setup -q
  46. %autosetup -p1
  47. %build
  48. %meson -Dgtk_doc=true -Dpython=true
  49. %meson_build
  50. %install
  51. %{__rm} -rf ${RPM_BUILD_ROOT}
  52. %meson_install
  53. find ${RPM_BUILD_ROOT} -name '*.a' -exec rm -f {} \;
  54. find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} \;
  55. %check
  56. %meson_test
  57. %clean
  58. %{__rm} -rf ${RPM_BUILD_ROOT}
  59. %files
  60. %defattr(-,root,root,-)
  61. %license COPYING
  62. %doc AUTHORS ChangeLog NEWS README
  63. %{_libdir}/%{name}-1.0.so.*
  64. %{_libdir}/girepository-1.0/Ggit-1.0.typelib
  65. %{python3_sitelib}/gi/overrides/*
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %{_includedir}/%{name}-1.0
  69. %{_libdir}/%{name}-1.0.so
  70. %{_libdir}/pkgconfig/%{name}-1.0.pc
  71. %{_datadir}/gir-1.0/Ggit-1.0.gir
  72. %{_datadir}/vala
  73. %files docs
  74. %doc examples
  75. %defattr(-,root,root,-)
  76. %{_datadir}/gtk-doc/html/%{name}-1.0
  77. %changelog
  78. * Wed Oct 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.99.0.1-1
  79. - new upstream release.
  80. - dropped ldconfig scriptlets.
  81. - dropped Patch0.
  82. - imported Patch0 and 1 from upstream.
  83. * Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.28.0.1-1
  84. - new upstream release.
  85. - dropped Patch1.
  86. - imported Patch0 from upstream.
  87. * Tue Aug 21 2018 Toshiaki Ara <ara_t@384.jp> 0.26.4-1
  88. - new upstream release
  89. - add BuildRequires: python3-devel
  90. - add BuildRequires: meson vala-devel vala-tools pygobject3-devel
  91. - Switch to the meson build system
  92. * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.24.0-1
  93. - new upstream release
  94. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.6-1
  95. - new upstream release
  96. * Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.8-1
  97. - new upstream release
  98. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.6-1
  99. - new upstream release
  100. * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-2
  101. - rebuild with libgit2-0.22.2-2
  102. * Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-1
  103. - initial build