You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
2.6 KiB
120 lines
2.6 KiB
2 years ago
|
%bcond_without pgm
|
||
|
%bcond_without unwind
|
||
|
|
||
|
Name: zeromq
|
||
|
Version: 4.3.4
|
||
|
Release: 2%{?dist}
|
||
|
Summary: Software library for fast, message-based applications
|
||
|
|
||
|
License: LGPLv3+
|
||
|
URL: https://zeromq.org
|
||
|
Source0: https://github.com/%{name}/libzmq/archive/v%{version}/libzmq-%{version}.tar.gz
|
||
|
|
||
|
BuildRequires: make
|
||
|
BuildRequires: autoconf
|
||
|
BuildRequires: automake
|
||
|
BuildRequires: gcc-c++
|
||
|
BuildRequires: libtool
|
||
|
BuildRequires: asciidoc
|
||
|
BuildRequires: xmlto
|
||
|
BuildRequires: libsodium-devel
|
||
|
|
||
|
%if %{with unwind}
|
||
|
BuildRequires: libunwind-devel
|
||
|
%endif
|
||
|
|
||
|
%if %{with pgm}
|
||
|
BuildRequires: openpgm-devel
|
||
|
BuildRequires: krb5-devel
|
||
|
%endif
|
||
|
|
||
|
%description
|
||
|
The 0MQ lightweight messaging kernel is a library which extends the
|
||
|
standard socket interfaces with features traditionally provided by
|
||
|
specialized messaging middle-ware 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 the ZeroMQ shared library.
|
||
|
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
|
||
|
|
||
|
%description devel
|
||
|
The %{name}-devel package contains libraries and header files for
|
||
|
developing applications that use %{name}.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%autosetup -p1 -n libzmq-%{version}
|
||
|
|
||
|
# Remove bundled code.
|
||
|
rm -rf external/wepoll
|
||
|
|
||
|
# Fix permissions.
|
||
|
chmod -x src/xsub.hpp
|
||
|
|
||
|
|
||
|
%build
|
||
|
autoreconf -fi
|
||
|
%configure \
|
||
|
%if %{with pgm}
|
||
|
--with-pgm \
|
||
|
--with-libgssapi_krb5 \
|
||
|
%endif
|
||
|
--with-libsodium \
|
||
|
%if %{with unwind}
|
||
|
--enable-libunwind \
|
||
|
%endif
|
||
|
--disable-Werror \
|
||
|
--disable-static
|
||
|
%make_build
|
||
|
|
||
|
|
||
|
%install
|
||
|
%make_install
|
||
|
|
||
|
# remove *.la
|
||
|
rm %{buildroot}%{_libdir}/libzmq.la
|
||
|
|
||
|
|
||
|
%check
|
||
|
%ifarch s390x
|
||
|
make check V=1 || ( cat test-suite.log && exit 1 )
|
||
|
%endif
|
||
|
|
||
|
|
||
|
%ldconfig_scriptlets
|
||
|
|
||
|
|
||
|
%files
|
||
|
%doc README.md AUTHORS NEWS
|
||
|
%license COPYING COPYING.LESSER
|
||
|
%{_bindir}/curve_keygen
|
||
|
%{_libdir}/libzmq.so.5*
|
||
|
%{_mandir}/man3/zmq_*
|
||
|
%{_mandir}/man7/zmq_*
|
||
|
%{_mandir}/man7/zmq.*
|
||
|
|
||
|
%files devel
|
||
|
%{_libdir}/libzmq.so
|
||
|
%{_libdir}/pkgconfig/libzmq.pc
|
||
|
%{_includedir}/zmq*.h
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Wed Apr 26 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 4.3.4-2
|
||
|
- Rebuilt for MSVSphere 9.1
|
||
|
|
||
|
* Tue Mar 07 2023 Ben Woodard <woodard@redhat.com> - 4.3.4-2
|
||
|
- disable building with libunwind to fix C++ exceptions when a C applicaion loads
|
||
|
a module written in C++ #2175966
|
||
|
|
||
|
* Thu Mar 03 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.4-1
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|