File mingw64-libbonoboui.spec of Package mingw64-libbonoboui
#
# spec file for package mingw64-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: mingw64-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: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem >= 23
BuildRequires: mingw64-gconf2-devel
BuildRequires: mingw64-glib2-devel
BuildRequires: mingw64-gtk2-devel
BuildRequires: mingw64-libbonobo-devel
BuildRequires: mingw64-libglade2-devel
BuildRequires: mingw64-libgnome-devel
BuildRequires: mingw64-libgnomecanvas-devel
BuildRequires: mingw64-libxml2-devel
Requires: %{name}-lang = %{version}
%_mingw64_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).
%_mingw64_debug_package
%lang_package
%prep
%setup -q -n libbonoboui-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure}
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}
%install
%{_mingw64_makeinstall}
rm -rf %{buildroot}%{_mingw64_libdir}/libglade/2.0/libbonobo.dll.a
rm -rf %{buildroot}%{_mingw64_libdir}/libglade/2.0/libbonobo.la
%find_lang libbonoboui-2.0
%files
%defattr(-,root,root)
%{_mingw64_bindir}/bonobo-browser.exe
%{_mingw64_bindir}/test-moniker.exe
%{_mingw64_bindir}/libbonoboui-2-0.dll
%{_mingw64_libdir}/libglade/2.0/libbonobo.dll
%{_mingw64_libdir}/bonobo/servers/Bonobo_Sample_Controls.server
%{_mingw64_libdir}/bonobo/servers/CanvDemo.server
%{_mingw64_datadir}/applications/bonobo-browser.desktop
%{_mingw64_datadir}/gnome-2.0/ui
%files lang -f libbonoboui-2.0.lang
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/bonobo-2.0/samples/bonobo-sample-controls-2.exe
%{_mingw64_includedir}/libbonoboui-2.0/
%{_mingw64_libdir}/libbonoboui-2.dll.a
%{_mingw64_libdir}/pkgconfig/libbonoboui-2.0.pc
%{_mingw64_datadir}/gtk-doc/html/libbonoboui
%changelog