parent
1b6c4938b8
commit
c2de1ca2c1
|
@ -25,3 +25,4 @@
|
|||
/libgit2-glib-0.25.0.tar.xz
|
||||
/libgit2-glib-0.26.0.tar.xz
|
||||
/libgit2-glib-0.26.2.tar.xz
|
||||
/libgit2-glib-0.26.4.tar.xz
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
%global libgit2_version 0.25.0
|
||||
|
||||
Name: libgit2-glib
|
||||
Version: 0.26.2
|
||||
Release: 3%{?dist}
|
||||
Version: 0.26.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Git library for GLib
|
||||
|
||||
License: LGPLv2+
|
||||
|
@ -17,7 +17,8 @@ URL: https://wiki.gnome.org/Projects/Libgit2-glib
|
|||
Source0: https://download.gnome.org/sources/libgit2-glib/0.26/libgit2-glib-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
|
||||
|
@ -53,21 +54,17 @@ developing applications that use %{name}.
|
|||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--disable-silent-rules \
|
||||
%meson -Dgtk_doc=true \
|
||||
%if %{with_python3}
|
||||
--enable-python
|
||||
-Dpython=true
|
||||
%else
|
||||
--disable-python
|
||||
-Dpython=false
|
||||
%endif
|
||||
|
||||
%make_build
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
# Remove unwanted la files
|
||||
rm -vf %{buildroot}%{_libdir}/*.la
|
||||
%meson_install
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
@ -77,7 +74,7 @@ rm -vf %{buildroot}%{_libdir}/*.la
|
|||
%{_libdir}/libgit2-glib-1.0.so.*
|
||||
%{_libdir}/girepository-1.0/Ggit-1.0.typelib
|
||||
%if %{with_python3}
|
||||
%{python3_sitearch}/gi/overrides/*
|
||||
%{python3_sitelib}/gi/overrides/*
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
|
@ -89,6 +86,10 @@ rm -vf %{buildroot}%{_libdir}/*.la
|
|||
%doc %{_datadir}/gtk-doc/
|
||||
|
||||
%changelog
|
||||
* Fri Mar 02 2018 Kalev Lember <klember@redhat.com> - 0.26.4-1
|
||||
- Update to 0.26.4
|
||||
- Switch to the meson build system
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (libgit2-glib-0.26.2.tar.xz) = 35fb3ec7a3757212f53cc884760f69725beff8462018b8e716fad389ba57d1acba99ece0fcd148ff40dc63e1fc7e7d566fe84759bd88d3a0ff9fdf970b0a5563
|
||||
SHA512 (libgit2-glib-0.26.4.tar.xz) = 9eb78f292583862890ca0cd27d7621da2f8f633a76f4679f897ce6cf9e06b64a3cb7b0ddda39d231d21d3faa830fe1a9a9326b4abd420df8356d50a734360b37
|
||||
|
|
Loading…
Reference in New Issue