diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ebeb2f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/glib-networking-2.56.1.tar.xz diff --git a/.glib-networking.metadata b/.glib-networking.metadata new file mode 100644 index 0000000..3fe6985 --- /dev/null +++ b/.glib-networking.metadata @@ -0,0 +1 @@ +afd114bee6154e3bd99d1a30d2c1a4dc118abf16 SOURCES/glib-networking-2.56.1.tar.xz diff --git a/SOURCES/glib-networking-python2.patch b/SOURCES/glib-networking-python2.patch new file mode 100644 index 0000000..fd443a8 --- /dev/null +++ b/SOURCES/glib-networking-python2.patch @@ -0,0 +1,16 @@ +--- glib-networking-2.56.0/find-ca-certificates.orig 2018-04-26 16:28:52.789161048 +0200 ++++ glib-networking-2.56.0/find-ca-certificates 2018-04-26 16:29:01.055167000 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python3 ++#!/usr/bin/env python + + import errno + import os +--- glib-networking-2.56.0/meson_post_install.py.orig 2018-04-26 16:28:46.194156296 +0200 ++++ glib-networking-2.56.0/meson_post_install.py 2018-04-26 16:29:15.074177106 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python3 ++#!/usr/bin/env python + + import os + import subprocess diff --git a/SPECS/glib-networking.spec b/SPECS/glib-networking.spec new file mode 100644 index 0000000..d959ec4 --- /dev/null +++ b/SPECS/glib-networking.spec @@ -0,0 +1,219 @@ +%define glib2_version 2.55.1 + +Name: glib-networking +Version: 2.56.1 +Release: 1%{?dist} +Summary: Networking support for GLib + +License: LGPLv2+ +URL: http://www.gnome.org +Source0: http://download.gnome.org/sources/glib-networking/2.56/%{name}-%{version}.tar.xz + +# Downstream RHEL patches: +Patch0: glib-networking-python2.patch + +BuildRequires: gettext +BuildRequires: glib2-devel >= %{glib2_version} +BuildRequires: libproxy-devel +BuildRequires: gnutls-devel +BuildRequires: ca-certificates +BuildRequires: gsettings-desktop-schemas-devel +BuildRequires: meson +BuildRequires: systemd + +Requires: ca-certificates +Requires: glib2%{?_isa} >= %{glib2_version} +Requires: gsettings-desktop-schemas + +%description +This package contains modules that extend the networking support in +GIO. In particular, it contains libproxy- and GSettings-based +GProxyResolver implementations and a gnutls-based GTlsConnection +implementation. + +%package tests +Summary: Tests for the glib-networking package +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +The glib-networking-tests package contains tests that can be used to verify +the functionality of the installed glib-networking package. + +%prep +%autosetup -p1 + +%build +%meson -Dinstalled_tests=true +%meson_build + +%install +%meson_install + +%find_lang %{name} + +%post +gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules + +%postun +gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules + +%files -f %{name}.lang +%license COPYING +%doc NEWS README +%{_libdir}/gio/modules/libgiolibproxy.so +%{_libdir}/gio/modules/libgiognomeproxy.so +%{_libdir}/gio/modules/libgiognutls.so +%{_libexecdir}/glib-pacrunner +%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service +%{_userunitdir}/glib-pacrunner.service + +%files tests +%{_libexecdir}/installed-tests/glib-networking +%{_datadir}/installed-tests + +%changelog +* Tue May 22 2018 Kalev Lember - 2.56.1-1 +- Update to 2.56.1 +- Resolves: #1567374 + +* Mon Sep 19 2016 Kalev Lember - 2.50.0-1 +- Update to 2.50.0 +- Resolves: #1386876 +- Resolves: #1367484 + +* Mon Apr 27 2015 Dan Winship - 2.42.0-1 +- Update to 2.42.0 +- Resolves: #1174447 + +* Wed Jul 23 2014 Dan Winship - 2.40.0-1 +- Update to 2.40.0 + +* Fri Jan 24 2014 Daniel Mach - 2.36.2-3 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 2.36.2-2 +- Mass rebuild 2013-12-27 + +* Mon May 13 2013 Matthias Clasen - 2.36.2-1 +- Update to 2.36.2 + +* Tue Apr 16 2013 Richard Hughes - 2.36.1-1 +- Update to 2.36.1 + +* Mon Mar 25 2013 Kalev Lember - 2.36.0-1 +- Update to 2.36.0 + +* Thu Mar 7 2013 Matthias Clasen - 2.35.9-1 +- Update to 2.35.9 + +* Thu Feb 21 2013 Kalev Lember - 2.35.8-1 +- Update to 2.35.8 + +* Wed Feb 06 2013 Kalev Lember - 2.35.6-1 +- Update to 2.35.6 + +* Tue Jan 15 2013 Matthias Clasen - 2.35.4-1 +- Update to 2.35.4 + +* Thu Dec 20 2012 Kalev Lember - 2.35.3-1 +- Update to 2.35.3 + +* Fri Nov 09 2012 Kalev Lember - 2.35.1-1 +- Update to 2.35.1 + +* Tue Sep 25 2012 Kalev Lember - 2.34.0-1 +- Update to 2.34.0 + +* Tue Sep 18 2012 Kalev Lember - 2.33.14-1 +- Update to 2.33.14 + +* Wed Sep 5 2012 Debarshi Ray - 2.33.12-1 +- Update to 2.33.12 + +* Mon Sep 3 2012 Matthias Clasen - 2.33.10-1 +- Update to 2.33.10 + +* Fri Jul 27 2012 Fedora Release Engineering - 2.33.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 26 2012 Richard Hughes - 2.33.3-1 +- Update to 2.33.3 + +* Sat May 05 2012 Kalev Lember - 2.33.2-1 +- Update to 2.33.2 +- Use --disable-static instead of removing built static libs in %%install + +* Tue Apr 17 2012 Kalev Lember - 2.32.1-1 +- Update to 2.32.1 + +* Wed Mar 28 2012 Richard Hughes - 2.32.0-1 +- Update to 2.32.0 + +* Tue Mar 27 2012 Matthias Clasen - 2.32.0-1 +- Update to 2.32.0 + +* Tue Mar 20 2012 Kalev Lember - 2.31.22-1 +- Update to 2.31.22 + +* Mon Mar 5 2012 Matthias Clasen - 2.31.20-1 +- Update to 2.31.20 + +* Tue Feb 7 2012 Matthias Clasen - 2.31.16-1 +- Update to 2.31.16 + +* Fri Jan 13 2012 Fedora Release Engineering - 2.31.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 20 2011 Matthias Clasen - 2.31.6 +- Update to 2.31.6 + +* Mon Nov 21 2011 Matthias Clasen - 2.31.2 +- Update to 2.31.2 + +* Wed Nov 2 2011 Matthias Clasen - 2.31.0 +- Update to 2.31.0 + +* Wed Oct 26 2011 Fedora Release Engineering - 2.30.1-2 +- Rebuilt for glibc bug#747377 + +* Mon Oct 17 2011 Matthias Clasen - 2.30.1-1 +- Update to 2.30.1 + +* Mon Sep 26 2011 Ray - 2.30.0-1 +- Update to 2.30.0 + +* Mon Sep 19 2011 Matthias Clasen 2.29.92-1 +- Update to 2.29.92 + +* Tue Jul 05 2011 Bastien Nocera 2.29.9-1 +- Update to 2.29.9 + +* Wed Apr 27 2011 Dan Winship - 2.28.6.1-2 +- Require gsettings-desktop-schemas, for GNOME proxy support + +* Tue Apr 26 2011 Matthias Clasen - 2.28.6.1-1 +- Update to 2.28.6.1 + +* Mon Apr 25 2011 Matthias Clasen - 2.28.6-1 +- Update to 2.28.6 + +* Mon Apr 4 2011 Matthias Clasen - 2.28.5-1 +- Update to 2.28.5 + +* Tue Mar 22 2011 Matthias Clasen - 2.28.4-1 +- Update to 2.28.4 + +* Tue Feb 22 2011 Matthias Clasen - 2.28.0-1 +- Update to 2.28.0 + +* Tue Feb 08 2011 Fedora Release Engineering - 2.27.90-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 17 2011 Dan Winship - 2.27.90-1 +- Update to 2.27.90, including TLS support + +* Mon Nov 1 2010 Matthias Clasen - 2.26.0-1 +- Update to 2.26.0 + +* Thu Oct 7 2010 Matthias Clasen - 2.25.0-1 +- Initial packaging