File mingw64-libglade2.spec of Package mingw64-libglade2
#
# spec file for package mingw64-libglade2
#
# 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-libglade2
Version: 2.6.4
Release: 0
Summary: Glade Library Compatible with the GNOME 2.x Desktop Platform
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Url: ftp://ftp.gnome.org/pub/gnome/sources/libglade
Source0: ftp://ftp.gnome.org/pub/gnome/sources/libglade/2.6/libglade-%{version}.tar.bz2
Patch0: libglade-2.6.4-gmodule.patch
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: glib2-devel
BuildRequires: gnome-common
BuildRequires: gtk-doc
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: mingw64-atk-devel
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem >= 23
BuildRequires: mingw64-glib2-devel
BuildRequires: mingw64-gtk2-devel
BuildRequires: mingw64-libxml2-devel
BuildRequires: python
BuildRequires: python-xml
%_mingw64_package_header_debug
BuildArch: noarch
%description
This library allows you to load Glade interface files in a program at
runtime. It does not require that you use Glade, but Glade is the
easiest way to create the interface files.
%package -n mingw64-libglade-2_0-0
Summary: Glade Library Compatible with the GNOME 2.x Desktop Platform
Group: System/Libraries
Obsoletes: %{name}
Provides: %{name}
%description -n mingw64-libglade-2_0-0
This library allows you to load Glade interface files in a program at
runtime. It does not require that you use Glade, but Glade is the
easiest way to create the interface files.
%package devel
Summary: Glade Library Compatible with the GNOME 2.x Desktop Platform (devel)
Group: Development/Libraries/C and C++
%description devel
This library allows you to load Glade interface files in a program at
runtime. It does not require that you use Glade, but Glade is the
easiest way to create the interface files.
%_mingw64_debug_package
%prep
%setup -q -n libglade-%{version}
%patch -P 0 -p1 -b .gmodule
%build
%{_mingw64_env}; NOCONFIGURE=indeed PATH="$PATH:%{_mingw64_bindir}" \
ACLOCAL_FLAGS='-I%{_mingw64_datadir}/aclocal' \
AUTOMAKE=automake gnome-autogen.sh
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
--enable-shared --disable-static
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}
%install
%{_mingw64_make} DESTDIR=%{buildroot} install
mkdir -p %{buildroot}%{_mingw64_libdir}/libglade/2.0
%files -n mingw64-libglade-2_0-0
%defattr(-,root,root)
%{_mingw64_bindir}/libglade-2.0-0.dll
%{_mingw64_libdir}/libglade/2.0
%files devel
%defattr(-,root,root)
%{_mingw64_bindir}/libglade-convert
%{_mingw64_includedir}/libglade-2.0/glade
%{_mingw64_libdir}/libglade-2.0.dll.a
%{_mingw64_libdir}/pkgconfig/libglade-2.0.pc
%{_mingw64_datadir}/gtk-doc/html/libglade
%{_mingw64_datadir}/xml/libglade/glade-2.0.dtd
%changelog