Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37411868
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: zeromq

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin