Compare commits

..

No commits in common. "4c129aef11d39e3670a790bd974e7229e4797606" and "e82e158fcc39326f13ec198b4a060b050fe2e8fc" have entirely different histories.

4 changed files with 7 additions and 29 deletions

BIN
libgit2-glib-0.27.8.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,12 @@
%global libgit2_version 0.25.0
%global glib2_version 2.44.0
Name: libgit2-glib
Version: 1.2.0
Release: 1
Version: 0.27.8
Release: 2
Summary: Git library for GLib
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/Libgit2-glib
Source0: https://download.gnome.org/sources/libgit2-glib/1.2/libgit2-glib-%{version}.tar.xz
BuildRequires: gcc gi-docgen pkgconfig(glib-2.0) >= %{glib2_version} pkgconfig(gobject-2.0) >= %{glib2_version} pkgconfig(gio-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(pygobject-3.0) pkgconfig(libgit2) >= %{libgit2_version} libssh2-devel python3-devel vala meson
Source0: https://download.gnome.org/sources/libgit2-glib/0.27/libgit2-glib-%{version}.tar.xz
BuildRequires: 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
@ -31,25 +27,21 @@ Requires: libgit2-glib-devel
Documentation for libgit2-glib-devel.
%prep
%autosetup -n libgit2-glib-%{version} -p1
%autosetup -n libgit2-glib-%{version}
%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_sitearch}/gi/overrides/*
%{python3_sitelib}/gi/overrides/*
%files devel
%{_includedir}/libgit2-glib-1.0/
@ -60,14 +52,5 @@ Documentation for libgit2-glib-devel.
%doc %{_datadir}/gtk-doc/
%changelog
* Mon Dec 18 2023 zhangkea <zhangkea@uniontech.com> - 1.2.0-1
- Update to 1.2.0
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.1.0-1
- Update to 1.1.0
* 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

View File

@ -1,5 +0,0 @@
git_url: https://gitlab.gnome.org/GNOME/libgit2-glib
version_control: git
src_repo: https://gitlab.gnome.org/GNOME/libgit2-glib
tag_prefix: "^v"
seperator: "."