File mingw32-libbonoboui.spec of Package mingw32-libbonoboui
#
# spec file for package mingw32-libbonoboui
#
# 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: mingw32-libbonoboui
Version: 2.24.4
Release: 0
Summary: MinGW Windows port of the Bonobo Part of the GNOME User Interface Libraries
License: LGPL-2.0-only or MPL-1.1
Group: Development/Libraries
Url: ftp://ftp.gnome.org/pub/GNOME/sources/libbonoboui
Source0: http://ftp.gnome.org/pub/gnome/sources/libbonoboui/2.24/libbonoboui-%{version}.tar.bz2
Source1000: %{name}-rpmlintrc
#!BuildIgnore: post-build-checks
BuildRequires: bison
BuildRequires: flex
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem >= 23
BuildRequires: mingw32-gconf2-devel
BuildRequires: mingw32-glib2-devel
BuildRequires: mingw32-gtk2-devel
BuildRequires: mingw32-libbonobo-devel
BuildRequires: mingw32-libglade2-devel
BuildRequires: mingw32-libgnome-devel
BuildRequires: mingw32-libgnomecanvas-devel
BuildRequires: mingw32-libxml2-devel
Requires: %{name}-lang = %{version}
%_mingw32_package_header_debug
BuildArch: noarch
%description
MinGW Windows port of the Bonobo Part of the GNOME User Interface Libraries.
%package devel
Summary: MinGW Windows port of the Bonobo Part of the GNOME User Interface Libraries (development files)
Group: Development/Libraries
%description devel
MinGW Windows port of the Bonobo Part of the GNOME User Interface Libraries (development files).
%_mingw32_debug_package
%lang_package
%prep
%setup -q -n libbonoboui-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure}
%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make}
%install
%{_mingw32_makeinstall}
rm -rf %{buildroot}%{_mingw32_libdir}/libglade/2.0/libbonobo.dll.a
rm -rf %{buildroot}%{_mingw32_libdir}/libglade/2.0/libbonobo.la
%find_lang libbonoboui-2.0
%files
%defattr(-,root,root)
%{_mingw32_bindir}/bonobo-browser.exe
%{_mingw32_bindir}/test-moniker.exe
%{_mingw32_bindir}/libbonoboui-2-0.dll
%{_mingw32_libdir}/libglade/2.0/libbonobo.dll
%{_mingw32_libdir}/bonobo/servers/Bonobo_Sample_Controls.server
%{_mingw32_libdir}/bonobo/servers/CanvDemo.server
%{_mingw32_datadir}/applications/bonobo-browser.desktop
%{_mingw32_datadir}/gnome-2.0/ui
%files lang -f libbonoboui-2.0.lang
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%{_mingw32_libdir}/bonobo-2.0/samples/bonobo-sample-controls-2.exe
%{_mingw32_includedir}/libbonoboui-2.0/
%{_mingw32_libdir}/libbonoboui-2.dll.a
%{_mingw32_libdir}/pkgconfig/libbonoboui-2.0.pc
%{_mingw32_datadir}/gtk-doc/html/libbonoboui
%changelog