Summary: GLib wrapper for libgit2 Summary(ja): libgit2 用 GLib ラッパー Name: libgit2-glib Version: 0.99.0.1 Release: 1%{?_dist_release} Group: system Vendor: Project Vine Distribution: Vine Linux License: LGPLv2.1 URL: https://wiki.gnome.org/Projects/Libgit2-glib %global shortver %(echo %{version} | cut -d . -f 1,2) Source0: https://download.gnome.org/sources/libgit2-glib/%{shortver}/%{name}-%{version}.tar.xz # Patch from upstream Patch0: 20.patch Patch1: 22.patch BuildRequires: glib2-devel BuildRequires: libgit2-devel BuildRequires: libssh2-devel BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: python3-devel BuildRequires: meson vala-devel vala pygobject3-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description libgit2-glib is a glib wrapper library around the libgit2 git access library. %description -l ja libgit2-glib は GIT アクセス用ライブラリ libgit2 用の glib ラッパーライブラリです。 %package devel Summary: Development tools for %{name} Summary(ja): %{name} の開発環境 Group: programming Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel Header files and libraries for building a extension library for the %{name}. %package docs Summary: Documentation for %{name} Summary(ja): %{name} 用のドキュメント Group: documentation BuildArch: noarch %description docs This package contains documentation for %{name}. %debug_package %prep %setup -q %autosetup -p1 %build %meson -Dgtk_doc=true -Dpython=true %meson_build %install %{__rm} -rf ${RPM_BUILD_ROOT} %meson_install find ${RPM_BUILD_ROOT} -name '*.a' -exec rm -f {} \; find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} \; %check %meson_test %clean %{__rm} -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root,-) %license COPYING %doc AUTHORS ChangeLog NEWS README %{_libdir}/%{name}-1.0.so.* %{_libdir}/girepository-1.0/Ggit-1.0.typelib %{python3_sitelib}/gi/overrides/* %files devel %defattr(-,root,root,-) %{_includedir}/%{name}-1.0 %{_libdir}/%{name}-1.0.so %{_libdir}/pkgconfig/%{name}-1.0.pc %{_datadir}/gir-1.0/Ggit-1.0.gir %{_datadir}/vala %files docs %doc examples %defattr(-,root,root,-) %{_datadir}/gtk-doc/html/%{name}-1.0 %changelog * Wed Oct 27 2021 Tomohiro "Tomo-p" KATO 0.99.0.1-1 - new upstream release. - dropped ldconfig scriptlets. - dropped Patch0. - imported Patch0 and 1 from upstream. * Tue May 05 2020 Tomohiro "Tomo-p" KATO 0.28.0.1-1 - new upstream release. - dropped Patch1. - imported Patch0 from upstream. * Tue Aug 21 2018 Toshiaki Ara 0.26.4-1 - new upstream release - add BuildRequires: python3-devel - add BuildRequires: meson vala-devel vala-tools pygobject3-devel - Switch to the meson build system * Tue Jun 28 2016 Yoji TOYODA 0.24.0-1 - new upstream release * Sun Nov 01 2015 Yoji TOYODA 0.23.6-1 - new upstream release * Sun May 03 2015 Yoji TOYODA 0.22.8-1 - new upstream release * Sun Apr 19 2015 Yoji TOYODA 0.22.6-1 - new upstream release * Sun Apr 05 2015 Yoji TOYODA 0.22.2-2 - rebuild with libgit2-0.22.2-2 * Wed Apr 01 2015 Yoji TOYODA 0.22.2-1 - initial build