import libgit2-glib-0.26.4-2.el8
This commit is contained in:
commit
fc15a80bb8
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
SOURCES/libgit2-glib-0.26.4.tar.xz
|
1
.libgit2-glib.metadata
Normal file
1
.libgit2-glib.metadata
Normal file
@ -0,0 +1 @@
|
||||
aa71685615af8187c1dabcbfd403532519f87141 SOURCES/libgit2-glib-0.26.4.tar.xz
|
2
SOURCES/README.rhel8
Normal file
2
SOURCES/README.rhel8
Normal file
@ -0,0 +1,2 @@
|
||||
This version of libgit2-glib is built without ssh support. libssh2 is not shipped
|
||||
with RHEL 8 so the 'ssh' flag has been set to false in the build.
|
12
SOURCES/libgit2-glib-0.26.4-meson.build.patch
Normal file
12
SOURCES/libgit2-glib-0.26.4-meson.build.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up libgit2-glib-0.26.4/meson.build.orig libgit2-glib-0.26.4/meson.build
|
||||
--- libgit2-glib-0.26.4/meson.build.orig 2018-03-02 04:51:47.000000000 -0500
|
||||
+++ libgit2-glib-0.26.4/meson.build 2018-06-18 10:43:19.459021647 -0400
|
||||
@@ -131,8 +131,6 @@ enable_vapi = get_option('vapi')
|
||||
if enable_vapi
|
||||
assert(enable_gir, 'vapi support was requested, but introspection support is mandatory.')
|
||||
assert(add_languages('vala', required: false), 'vapi support was requested, but vala not found.')
|
||||
-
|
||||
- meson.add_install_script('meson_vapi_link.py', libgit2_glib_datadir)
|
||||
endif
|
||||
|
||||
# Check for libgit2 ssh support
|
231
SPECS/libgit2-glib.spec
Normal file
231
SPECS/libgit2-glib.spec
Normal file
@ -0,0 +1,231 @@
|
||||
%global glib2_version 2.44.0
|
||||
%global libgit2_version 0.26.0
|
||||
|
||||
Name: libgit2-glib
|
||||
Version: 0.26.4
|
||||
Release: 2%{?dist}
|
||||
Summary: Git library for GLib
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/Libgit2-glib
|
||||
Source0: https://download.gnome.org/sources/libgit2-glib/0.26/libgit2-glib-%{version}.tar.xz
|
||||
Source1: README.rhel8
|
||||
|
||||
Patch0: libgit2-glib-0.26.4-meson.build.patch
|
||||
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gcc
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(libgit2) >= %{libgit2_version}
|
||||
BuildRequires: pkgconfig(pygobject-3.0)
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: vala
|
||||
|
||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||
Requires: libgit2%{?_isa} >= %{libgit2_version}
|
||||
# Depend on python3-gobject for the python3 gi overrides directory.
|
||||
# If we ever get a libgit2-glib consumer that does not depend on python3,
|
||||
# it would probably make sense to split it to a separate subpackage.
|
||||
Requires: python3-gobject%{?_isa}
|
||||
|
||||
%description
|
||||
libgit2-glib is a glib wrapper library around the libgit2 git access library.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson -Dgtk_doc=true \
|
||||
-Dintrospection=true \
|
||||
-Dpython=true \
|
||||
-Dssh=false
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
install -p -m 0644 -t %{buildroot}%{_docdir}/%{name} %{SOURCE1}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS
|
||||
%doc %{_docdir}/%{name}/README.rhel8
|
||||
%{_libdir}/libgit2-glib-1.0.so.*
|
||||
%{_libdir}/girepository-1.0/Ggit-1.0.typelib
|
||||
%{python3_sitelib}/gi/overrides/*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libgit2-glib-1.0/
|
||||
%{_libdir}/libgit2-glib-1.0.so
|
||||
%{_libdir}/pkgconfig/libgit2-glib-1.0.pc
|
||||
%{_datadir}/gir-1.0/Ggit-1.0.gir
|
||||
%{_datadir}/vala/
|
||||
%doc %{_datadir}/gtk-doc/
|
||||
|
||||
%changelog
|
||||
* Wed Aug 15 2018 Brian C. Lane <bcl@redhat.com> - 0.26.4-2
|
||||
- Remove BuildRequires for libssh2-devel
|
||||
Resolves: rhbz#1616335
|
||||
|
||||
* Tue Jul 17 2018 Brian C. Lane <bcl@redhat.com> - 0.26.4-1
|
||||
- Update to libgit2-glib-0.26.4
|
||||
- Switch to using meson build system
|
||||
- Disable SSH so that libssh2 is not required
|
||||
- Add README.rhel8 explaining why SSH is disabled
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Mon Jul 31 2017 Kalev Lember <klember@redhat.com> - 0.26.0-1
|
||||
- Update to 0.26.0
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Jul 08 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.25.0-2
|
||||
- Rebuild for libgit2 0.26.x
|
||||
|
||||
* Thu Feb 16 2017 Kalev Lember <klember@redhat.com> - 0.25.0-1
|
||||
- Update to 0.25.0
|
||||
|
||||
* Tue Feb 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.25.0-0.1
|
||||
- Finally backport all patches to build this thing
|
||||
|
||||
* Tue Feb 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.24.4-5
|
||||
- Backport patches to support libgit-0.25.x
|
||||
|
||||
* Tue Jan 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.24.4-4
|
||||
- Rebuild for libgit2-0.25.x
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.24.4-3
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 0.24.4-2
|
||||
- BR vala instead of obsolete vala-tools subpackage
|
||||
|
||||
* Wed Sep 07 2016 Kalev Lember <klember@redhat.com> - 0.24.4-1
|
||||
- Update to 0.24.4
|
||||
|
||||
* Thu Aug 25 2016 Kalev Lember <klember@redhat.com> - 0.24.3-1
|
||||
- Update to 0.24.3
|
||||
|
||||
* Wed Aug 17 2016 Kalev Lember <klember@redhat.com> - 0.24.2-1
|
||||
- Update to 0.24.2
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24.0-3
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-2
|
||||
- Rebuild for libgit2 0.24.0
|
||||
|
||||
* Tue Mar 15 2016 Richard Hughes <rhughes@redhat.com> - 0.24.0-1
|
||||
- Update to 0.24.0
|
||||
|
||||
* Tue Feb 16 2016 Richard Hughes <rhughes@redhat.com> - 0.23.10-1
|
||||
- Update to 0.23.10
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Dec 11 2015 Kalev Lember <klember@redhat.com> - 0.23.8-1
|
||||
- Update to 0.23.8
|
||||
|
||||
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||
|
||||
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 0.23.6-1
|
||||
- Update to 0.23.6
|
||||
|
||||
* Tue Aug 11 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.23.4-1
|
||||
- Update to latest upstream version
|
||||
|
||||
* Thu Aug 6 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.23.2-1
|
||||
- Update to latest upstream version
|
||||
|
||||
* Tue Aug 4 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.23.0-2
|
||||
- Pull in post-release fixes from upstream (so micro version bump)
|
||||
|
||||
* Thu Jul 30 2015 Igor Gnatenko <ignatenko@src.gnome.org> - 0.23.0-1
|
||||
- Update to 0.23.0
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed Apr 29 2015 Kalev Lember <kalevlember@gmail.com> - 0.22.8-1
|
||||
- Update to 0.22.8
|
||||
|
||||
* Tue Apr 14 2015 Kalev Lember <kalevlember@gmail.com> - 0.22.6-2
|
||||
- Fix ssh detection
|
||||
|
||||
* Tue Apr 14 2015 Kalev Lember <kalevlember@gmail.com> - 0.22.6-1
|
||||
- Update to 0.22.6
|
||||
|
||||
* Sat Apr 11 2015 Kalev Lember <kalevlember@gmail.com> - 0.22.4-1
|
||||
- Update to 0.22.4
|
||||
- Use license macro for the COPYING file
|
||||
|
||||
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 0.22.2-1
|
||||
- Update to 0.22.2
|
||||
|
||||
* Mon Jan 19 2015 Richard Hughes <rhughes@redhat.com> - 0.22.0-1
|
||||
- Update to 0.22.0
|
||||
|
||||
* Tue Nov 04 2014 Kalev Lember <kalevlember@gmail.com> - 0.0.24-1
|
||||
- Update to 0.0.24
|
||||
|
||||
* Tue Sep 16 2014 Kalev Lember <kalevlember@gmail.com> - 0.0.22-1
|
||||
- Update to 0.0.22
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2014 Kalev Lember <kalevlember@gmail.com> - 0.0.20-1
|
||||
- Update to 0.0.20
|
||||
|
||||
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.0.18-2
|
||||
- Rebuilt for gobject-introspection 1.41.4
|
||||
|
||||
* Mon Jun 30 2014 Ignacio Casal Quinteiro <icq@gnome.org> - 0.0.18-1
|
||||
- Update to 0.0.18
|
||||
|
||||
* Sun Jun 22 2014 Ignacio Casal Quinteiro <icq@gnome.org> - 0.0.16-1
|
||||
- Update to 0.0.16
|
||||
|
||||
* Sun Jun 22 2014 Ignacio Casal Quinteiro <icq@gnome.org> - 0.0.14-1
|
||||
- Update to 0.0.14
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 0.0.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
||||
|
||||
* Tue Mar 25 2014 Ignacio Casal Quinteiro <icq@gnome.org> - 0.0.12-1
|
||||
- Update to 0.0.12
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 03 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 0.0.6-1
|
||||
- Update to 0.0.6
|
||||
|
||||
* Sun Jun 16 2013 Kalev Lember <kalevlember@gmail.com> - 0.0.2-2
|
||||
- Review fixes: depend on python3-gobject (#974834)
|
||||
|
||||
* Sun Jun 16 2013 Kalev Lember <kalevlember@gmail.com> - 0.0.2-1
|
||||
- Initial Fedora build
|
Loading…
Reference in New Issue
Block a user