File mingw64-libjreen.spec of Package mingw64-libjreen

#
# spec file for package mingw64-jreen
#
# 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/
#


%define _basename libjreen
Name:           mingw64-%{_basename}
Version:        1.1.1
Release:        0
#!BuildIgnore: post-build-checks
Summary:        Qt XMPP lib
License:        GPL-2.0-only
Group:          Development/Libraries/C and C++
Url:            http://github.com/euroelessar/jreen
Source0:        %{_basename}-%{version}.tar.bz2
Patch0:         update-to-latest-git-fixes.patch
BuildRequires:  mingw64-cross-cmake
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem
BuildRequires:  mingw64-libgsasl-devel
BuildRequires:  mingw64-libqt4-devel
BuildRequires:  mingw64-libqt4-filesystem
BuildRequires:  mingw64-qca-devel
BuildRequires:  mingw64-zlib-devel
%_mingw64_package_header_debug
BuildArch:      noarch

%description
Qt XMPP library

%package devel
Summary:        Qt XMPP lib
Group:          Development/Libraries/C and C++

%description devel
Qt XMPP library

%_mingw64_debug_package

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


%build
rm -rf CMakeCache.txt
%{_mingw64_cmake_qt4}

%{_mingw64_cmake_build}

%install
%{_mingw64_cmake_install}

%files
%defattr(-,root,root,-)
%{_mingw64_bindir}/libjreen.dll

%files devel
%defattr(-,root,root,-)
%{_mingw64_libdir}/libjreen.dll.a
%{_mingw64_includedir}/jreen/

%changelog
openSUSE Build Service is sponsored by