1 Star 0 Fork 10

张逸轩/libgit2-glib

forked from src-openEuler/libgit2-glib 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libgit2-glib.spec 1.92 KB
一键复制 编辑 原始数据 按行查看 历史
weijin-deng 提交于 2021-07-14 19:24 . Upgrade to 0.99.0.1
Name: libgit2-glib
Version: 0.99.0.1
Release: 1
Summary: Git library for GLib
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/Libgit2-glib
Source0: https://download.gnome.org/sources/libgit2-glib/0.99/libgit2-glib-%{version}.tar.xz
Patch0: 20-create-oldnamed-softlink-ggit-1.0-to-new-vapifiles-libgit2-glib-1.0-for-compatible.patch
Patch1: 22-create-oldnamed-softlink-ggit-1.0-to-new-vapifiles-libgit2-glib-1.0-for-compatible.patch
BuildRequires: gcc gtk-doc pkgconfig(glib-2.0) >= 2.44.0 pkgconfig(gobject-2.0) >= 2.44.0 pkgconfig(pygobject-3.0)
BuildRequires: pkgconfig(gio-2.0) >= 2.44.0 pkgconfig(libgit2) >= 0.25.0 libssh2-devel python3-devel vala meson
Requires: glib2 >= 2.44.0 libgit2 >= 0.25.0 python3-gobject
%description
A glib wrapper library around the libgit2 git access library.
%package devel
Summary: Development files for libgit2-glib
Requires: libgit2-glib = %{version}-%{release}
%description devel
Libraries and header files for developing applications that use libgit2-glib.
%package help
Summary: Documentation for libgit2-glib-devel
Requires: libgit2-glib-devel
%description help
Documentation for libgit2-glib-devel.
%prep
%autosetup -n libgit2-glib-%{version} -p1
%build
%meson -Dgtk_doc=true -Dpython=true
%meson_build
%install
%meson_install
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc COPYING AUTHORS NEWS
%{_libdir}/{libgit2-glib-1.0.so.*,girepository-1.0/Ggit-1.0.typelib}
%{python3_sitelib}/gi/overrides/*
%files devel
%{_includedir}/libgit2-glib-1.0/
%{_libdir}/{libgit2-glib-1.0.so,pkgconfig/libgit2-glib-1.0.pc}
%{_datadir}/{gir-1.0/Ggit-1.0.gir,vala/}
%files help
%doc %{_datadir}/gtk-doc/
%changelog
* Wed Jun 30 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 0.99.0.1-1
- Upgrade to 0.99.0.1
* Tue Dec 31 2019 Ling Yang <lingyang2@huawei.com> - 0.27.8-2
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhang-yixuan0822/libgit2-glib.git
git@gitee.com:zhang-yixuan0822/libgit2-glib.git
zhang-yixuan0822
libgit2-glib
libgit2-glib
master

搜索帮助