Update to 2.53.6
This commit is contained in:
parent
a04af4bfd2
commit
b5c175a6d7
@ -1,8 +1,11 @@
|
||||
%?mingw_package_header
|
||||
|
||||
# See https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
|
||||
%global __python %{__python3}
|
||||
|
||||
Name: mingw-glib2
|
||||
Version: 2.52.2
|
||||
Release: 3%{?dist}
|
||||
Version: 2.53.6
|
||||
Release: 1%{?dist}
|
||||
Summary: MinGW Windows GLib2 library
|
||||
|
||||
License: LGPLv2+
|
||||
@ -35,6 +38,7 @@ BuildRequires: mingw64-zlib
|
||||
BuildRequires: gettext
|
||||
# Native version required for glib-genmarshal
|
||||
BuildRequires: glib2-devel >= 2.45.3
|
||||
BuildRequires: python3-devel
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=674214
|
||||
Patch1: 0001-Use-CreateFile-on-Win32-to-make-sure-g_unlink-always.patch
|
||||
@ -56,8 +60,8 @@ MinGW Windows Glib2 library.
|
||||
# Win32
|
||||
%package -n mingw32-glib2
|
||||
Summary: MinGW Windows Glib2 library for the win32 target
|
||||
# Needed for glib-mkenums that's written in perl
|
||||
Requires: perl-interpreter
|
||||
# glib-genmarshal and glib-mkenums are written in Python
|
||||
Requires: python3
|
||||
|
||||
%description -n mingw32-glib2
|
||||
MinGW Windows Glib2 library.
|
||||
@ -73,8 +77,8 @@ Static version of the MinGW Windows GLib2 library.
|
||||
# Win64
|
||||
%package -n mingw64-glib2
|
||||
Summary: MinGW Windows Glib2 library for the win64 target
|
||||
# Needed for glib-mkenums that's written in perl
|
||||
Requires: perl-interpreter
|
||||
# glib-genmarshal and glib-mkenums are written in Python
|
||||
Requires: python3
|
||||
|
||||
%description -n mingw64-glib2
|
||||
MinGW Windows Glib2 library.
|
||||
@ -99,8 +103,8 @@ Static version of the MinGW Windows GLib2 library.
|
||||
|
||||
%build
|
||||
#GLib can't build static and shared libraries in one go, so we build GLib twice
|
||||
MINGW_BUILDDIR_SUFFIX=_static %mingw_configure --disable-shared --enable-static
|
||||
MINGW_BUILDDIR_SUFFIX=_shared %mingw_configure --disable-static
|
||||
MINGW_BUILDDIR_SUFFIX=_static %mingw_configure --with-python=%{__python3} --disable-shared --enable-static
|
||||
MINGW_BUILDDIR_SUFFIX=_shared %mingw_configure --with-python=%{__python3} --disable-static
|
||||
|
||||
MINGW_BUILDDIR_SUFFIX=_static %mingw_make %{?_smp_mflags} V=1
|
||||
MINGW_BUILDDIR_SUFFIX=_shared %mingw_make %{?_smp_mflags} V=1
|
||||
@ -181,7 +185,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||
%{mingw32_bindir}/gio-querymodules.exe
|
||||
%{mingw32_bindir}/glib-compile-resources.exe
|
||||
%{mingw32_bindir}/glib-compile-schemas.exe
|
||||
%{mingw32_bindir}/glib-genmarshal.exe
|
||||
%{mingw32_bindir}/glib-genmarshal
|
||||
%{mingw32_bindir}/glib-gettextize
|
||||
%{mingw32_bindir}/glib-mkenums
|
||||
%{mingw32_bindir}/gobject-query.exe
|
||||
@ -233,7 +237,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||
%{mingw64_bindir}/gio-querymodules.exe
|
||||
%{mingw64_bindir}/glib-compile-resources.exe
|
||||
%{mingw64_bindir}/glib-compile-schemas.exe
|
||||
%{mingw64_bindir}/glib-genmarshal.exe
|
||||
%{mingw64_bindir}/glib-genmarshal
|
||||
%{mingw64_bindir}/glib-gettextize
|
||||
%{mingw64_bindir}/glib-mkenums
|
||||
%{mingw64_bindir}/gobject-query.exe
|
||||
@ -279,6 +283,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 21 2017 Kalev Lember <klember@redhat.com> - 2.53.6-1
|
||||
- Update to 2.53.6
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.52.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (glib-2.52.2.tar.xz) = 3ea49b75b6f80d9974ebd3c40518d5aaffffd9d9d008c1ae3302690fa34899b91ae59c87f8235077129bbd8b01ef19211efb89bc7fdb08d0254b07735b1ba92d
|
||||
SHA512 (glib-2.53.6.tar.xz) = 3d43b72dccc9cb9d43944f10c9bffdf8bf6b513a7b9c0bd8a6a39960f334dc08474cb12f529b38c8465b5aff2e2597d6c8fa70c9312308f8131723d0086b3b37
|
||||
|
||||
Loading…
Reference in New Issue
Block a user