File mingw64-meanwhile.spec of Package mingw64-meanwhile

#
# spec file for package mingw64-meanwhile
#
# 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-meanwhile
Version:        1.0.2
Release:        0
Summary:        Lotus Sametime Community Client library
License:        LGPL-2.1-or-later
Group:          Development/Libraries/C and C++
Url:            http://meanwhile.sourceforge.net/
Source0:        meanwhile-%{version}.tar.gz
Patch0:         meanwhile-1.0.2.patch
#!BuildIgnore: post-build-checks
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem >= 30
BuildRequires:  mingw64-glib2-devel
%_mingw64_package_header_debug
BuildArch:      noarch

%description
Library for connecting as a client to a Lotus Sametime
community. Provides a simplified interface for authentication,
presence, messaging, conferencing, and remote preferences.

%package -n mingw64-libmeanwhile1
Summary:        Lotus Sametime Community Client library
Group:          System/Libraries
Obsoletes:      %{name}
Provides:       %{name}

%description -n mingw64-libmeanwhile1
Library for connecting as a client to a Lotus Sametime
community. Provides a simplified interface for authentication,
presence, messaging, conferencing, and remote preferences.

%package devel
Summary:        Development package for the Meanwhile library
Group:          Development/Libraries/C and C++

%description devel
Development package for the Meanwhile library

%_mingw64_debug_package

%prep
%setup -q -n meanwhile-%{version}
%patch -P 0 -p1 -b .glib_h_includes

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
  --disable-doxygen \
  --disable-static
make %{?_smp_mflags} || make

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}

%files -n mingw64-libmeanwhile1
%defattr(-,root,root)
%{_mingw64_bindir}/libmeanwhile-1.dll

%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/libmeanwhile.dll.a
%{_mingw64_libdir}/pkgconfig/meanwhile.pc
%{_mingw64_includedir}/meanwhile
%{_mingw64_docdir}/meanwhile-doc-1.0.2/samples

%changelog
openSUSE Build Service is sponsored by