File mingw64-zeromq.spec of Package mingw64-zeromq

#
# spec file for package mingw64-zeromq
#
# 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 zeromq
%define lib_name mingw64-libzmq4
Name:           mingw64-%{_basename}
Version:        4.0.5
Release:        0
#!BuildIgnore: post-build-checks
Summary:        Lightweight messaging kernel
License:        LGPL-3.0-or-later
Group:          Productivity/Networking/Web/Servers
Url:            http://www.zeromq.org/
Source:         http://download.zeromq.org/%{_basename}-%{version}.tar.gz
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem
%_mingw64_package_header_debug
BuildArch:      noarch

%description
The 0MQ lightweight messaging kernel is a library which extends the
standard socket interfaces with features traditionally provided by
specialised messaging middleware products. 0MQ sockets provide an
abstraction of asynchronous message queues, multiple messaging patterns,
message filtering (subscriptions), seamless access to multiple transport
protocols and more.

%package devel
Summary:        Development files for ZeroMQ
Group:          Development/Languages/C and C++
Requires:       %name = %version
Provides:       mingw64-libzmq-devel = %{version}

%description devel
The 0MQ lightweight messaging kernel is a library which extends the
standard socket interfaces with features traditionally provided by
specialised messaging middleware products. 0MQ sockets provide an
abstraction of asynchronous message queues, multiple messaging patterns,
message filtering (subscriptions), seamless access to multiple transport
protocols and more.

This package holds the development files for ZeroMQ.

%_mingw64_debug_package

%prep
%setup -q -n %{_basename}-%{version}

%build
%{_mingw64_configure}
%{_mingw64_make} %{?_smp_mflags} V=1

%install
%{_mingw64_make} DESTDIR=%{buildroot} install

%files
%defattr(-,root,root,-)
%doc COPYING COPYING.LESSER
%{_mingw64_bindir}/libzmq.dll
%{_mingw64_bindir}/curve_keygen.exe

%files devel
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS
%{_mingw64_includedir}/zmq*
%{_mingw64_libdir}/libzmq.dll.a
%{_mingw64_libdir}/pkgconfig/libzmq.pc

%changelog
openSUSE Build Service is sponsored by