Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37546953
en ru br
ALT Linux repos
S:4.3.4-alt3

Group :: System/Libraries
RPM: zeromq

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_without pgm
%def_without libsodium
%def_without libgssapi_krb5
%def_disable libunwind
%def_disable libbsd
%def_enable Werror

Name: zeromq
Version: 4.3.4
Release: alt2

Summary: a software library that lets you quickly design and implement a fast message-based application
Group: System/Libraries
License: GPLv3 and LGPLv3

Url: http://www.zeromq.org
Source: %name-%version.tar
# Fix building with gcc12
Patch0: 176d72cc9b3bdcc416fd11dbc82e7b386dda32b7.patch
Patch1: 92b2c38a2c51a1942a380c7ee08147f7b1ca6845.patch

Packager: Vladimir Lettiev <crux at altlinux.ru>

BuildRequires: gcc-c++ libuuid-devel glib2-devel asciidoc xmlto
%{?_with_pgm:BuildRequires: libpgm-devel}
%{?_with_libsodium:BuildRequires: libsodium-devel}
%{?_with_libgssapi_krb5:BuildRequires: libkrb5-devel}
%{?_enable_libunwind:BuildRequires: libunwind-devel}
%{?_enable_libbsd:BuildRequires: libbsd-devel}

Requires: lib%name = %version-%release

%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.
This package contains 0mq binaries

%package -n lib%name
Group: System/Libraries
Summary: a software library that lets you quickly design and implement a fast message-based application

%description -n lib%name
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 contains 0mq library

%package -n lib%name-devel
Group: Development/C++
Summary: a software library that lets you quickly design and implement a fast message-based application
Requires: lib%name = %version-%release

%description -n lib%name-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 contains 0mq library headers

%prep
%setup
%patch0 -p1
%patch1 -p1

%build
%autoreconf
%configure --disable-static \
--with-pic \
--with-gnu-ld \
%{subst_with pgm} \
%{subst_with libsodium} \
%{subst_with libgssapi_krb5} \
%{subst_enable libunwind} \
%{subst_enable libbsd} \
%{subst_enable Werror}

%make_build

%install
%makeinstall_std

%check
%make check

%files -n lib%name
%_libdir/libzmq.so.*
%doc AUTHORS ChangeLog NEWS COPYING
%_man7dir/zmq.7*

%files -n lib%name-devel
%_includedir/*.h
%_libdir/libzmq.so
%_pkgconfigdir/libzmq.pc
%_man3dir/zmq_*3*
%_man7dir/zmq_*7*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin