File mingw32-orbit2.spec of Package mingw32-orbit2
#
# spec file for package mingw32-orbit2
#
# 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-orbit2
Version: 2.14.19
Release: 0
Summary: MinGW Windows ORBit2 library
License: LGPL-2.1-or-later
Group: Development/Libraries
Url: http://projects.gnome.org/ORBit2/
Source0: http://download.gnome.org/sources/ORBit2/2.14/ORBit2-%{version}.tar.bz2
Source1: ORBit2-mingw32-config.cache
Patch1: ORBit2-2.14.19-gthread.patch
#!BuildIgnore: post-build-checks
BuildRequires: libidl
BuildRequires: libidl-devel
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem >= 23
BuildRequires: mingw32-glib2-devel
BuildRequires: mingw32-libidl-devel
BuildRequires: orbit2
BuildRequires: orbit2-devel
%_mingw32_package_header_debug
BuildArch: noarch
%description
MinGW Windows ORBit2 library.
%package devel
Summary: MinGW Windows ORBit2 library (development tools)
Group: Development/Libraries
%description devel
MinGW Windows ORBit2 library (development tools).
%_mingw32_debug_package
%prep
%setup -q -n ORBit2-%{version}
%patch -P 1 -p1
%build
cp %{SOURCE1} %{_mingw32_cache} && chmod +rw %{_mingw32_cache}
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure} \
--with-idl-compiler=`which orbit-idl-2`
%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make}
%install
%{_mingw32_makeinstall}
rm -f %{buildroot}/%{_mingw32_libdir}/orbit-2.0/Everything_module.dll.a
rm -r %{buildroot}/%{_mingw32_libdir}/orbit-2.0/Everything_module.la
%files
%defattr(-,root,root)
%{_mingw32_bindir}/libORBit-2-0.dll
%{_mingw32_bindir}/libORBit-imodule-2-0.dll
%{_mingw32_bindir}/libORBitCosNaming-2-0.dll
%{_mingw32_libdir}/orbit-2.0/Everything_module.dll
%files devel
%defattr(-,root,root)
%{_mingw32_bindir}/ior-decode-2.exe
%{_mingw32_bindir}/orbit-idl-2.exe
%{_mingw32_bindir}/orbit2-config
%{_mingw32_bindir}/typelib-dump.exe
%{_mingw32_includedir}/orbit-2.0
%{_mingw32_libdir}/libORBit-2.dll.a
%{_mingw32_libdir}/libORBit-imodule-2.dll.a
%{_mingw32_libdir}/libORBitCosNaming-2.dll.a
%{_mingw32_libdir}/libname-server-2.a
%{_mingw32_libdir}/pkgconfig/ORBit-2.0.pc
%{_mingw32_libdir}/pkgconfig/ORBit-CosNaming-2.0.pc
%{_mingw32_libdir}/pkgconfig/ORBit-idl-2.0.pc
%{_mingw32_libdir}/pkgconfig/ORBit-imodule-2.0.pc
%{_mingw32_datadir}/aclocal/ORBit2.m4
%{_mingw32_datadir}/idl/orbit-2.0/CosNaming.idl
%{_mingw32_datadir}/gtk-doc/html/ORBit2
%changelog