File mingw64-libgnomeui.spec of Package mingw64-libgnomeui

#
# spec file for package mingw64-libgnomeui
#
# 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-libgnomeui
Version:        2.24.5
Release:        0
Summary:        GNOME User Interface Library
License:        LGPL-2.0-only and MPL-1.1
Group:          Development/Libraries
Url:            http://ftp.gnome.org/pub/GNOME/sources/libgnomeui
Source0:        http://ftp.gnome.org/pub/gnome/sources/libgnomeui/2.24/libgnomeui-%{version}.tar.bz2
Patch0:         libgnomeui-2.24.5-utf8.patch
#!BuildIgnore: post-build-checks
BuildRequires:  gtk-doc
BuildRequires:  intltool
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem
BuildRequires:  mingw64-gconf2-devel
BuildRequires:  mingw64-glib2-devel
BuildRequires:  mingw64-gnome-vfs2-devel
BuildRequires:  mingw64-gtk2-devel
BuildRequires:  mingw64-libbonoboui-devel
BuildRequires:  mingw64-libglade2-devel
BuildRequires:  mingw64-libgnome-devel
BuildRequires:  mingw64-libgnomecanvas-devel
BuildRequires:  mingw64-libxml2-devel
BuildRequires:  mingw64-pango-devel
Requires:       %{name}-lang = %{version}
%_mingw64_package_header_debug
BuildArch:      noarch
#Native one for gdk-pixbuf-csource
%if 0%{?suse_version} >= 1140
BuildRequires:  gdk-pixbuf-devel
%else
BuildRequires:  gtk2-devel
%endif

%description
This library contains all the user interface-related functions for GNOME-based software. You need the libgnomeui-devel
package if you want to develop GNOME 2.x Desktop software.

%package devel
Summary:        GNOME User Interface Library (development files)
Group:          Development/Libraries

%description devel
This package contains all necessary include files and libraries needed to develop applications that require these.

%_mingw64_debug_package

%lang_package

%prep
%setup -q -n libgnomeui-%{version}
%patch -P 0 -p1

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
	--without-x \
	--enable-shared --disable-static
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}

%install
%{_mingw64_makeinstall}

rm -f %{buildroot}%{_mingw64_libdir}/libglade/2.0/libgnome.dll.a

%find_lang libgnomeui-2.0

%files
%defattr(-,root,root)
%{_mingw64_bindir}/libgnomeui-2-0.dll
%{_mingw64_libdir}/libglade/2.0/libgnome.dll
%{_mingw64_datadir}/pixmaps/gnome-about-logo.png

%files lang -f libgnomeui-2.0.lang
%defattr(-,root,root)

%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/libgnomeui-2.0/
%{_mingw64_libdir}/libgnomeui-2.dll.a
%{_mingw64_libdir}/pkgconfig/libgnomeui-2.0.pc
%{_mingw64_datadir}/gtk-doc/html/libgnomeui

%changelog
openSUSE Build Service is sponsored by