File mingw64-glib-networking.spec of Package mingw64-glib-networking

#
# spec file for package mingw64-glib-networking
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           mingw64-glib-networking
Version:        2.48.2
Release:        0
Summary:        Network-related GIO modules for glib
License:        LGPL-2.1-or-later
Group:          Development/Libraries
Url:            http://www.gtk.org/
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/glib-networking/2.30/glib-networking-%{version}.tar.xz
#BuildRequires:  mingw64-libproxy-devel >= 0.3.11
#BuildRequires:  mingw64-gsettings-desktop-schemas-devel
BuildRequires:  gettext-tools
BuildRequires:  intltool
#!BuildIgnore: post-build-checks
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem
BuildRequires:  mingw64-glib2-devel
BuildRequires:  mingw64-libgcrypt-devel
BuildRequires:  mingw64-libgnutls-devel >= 2.1.7
BuildRequires:  xz
%_mingw64_package_header_debug
BuildArch:      noarch

%description
This package contains network-related GIO modules for glib.

%_mingw64_debug_package

%lang_package

%prep
%setup -q -n glib-networking-%{version}

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
	--disable-static --enable-shared \
	--without-libproxy --without-gnome-proxy \
	--without-ca-certificates
make %{?_smp_mflags} || make

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -rf %{buildroot}%{_mingw64_libdir}/gio/modules/*.dll.a

%find_lang glib-networking

%files
%defattr(-,root,root)
%{_mingw64_libdir}/gio/modules/libgiognutls.dll
#%{_mingw64_libdir}/gio/modules/libgiognomeproxy.dll
#%{_mingw64_libdir}/gio/modules/libgiolibproxy.dll
#%{_mingw64_libexecdir}/glib-pacrunner.exe
#%{_mingw64_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service

%files lang -f glib-networking.lang
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by