zeromq/zeromq.spec

101 lines
2.2 KiB
RPMSpec
Raw Normal View History

2020-03-09 09:55:51 +08:00
Name: zeromq
2021-06-04 16:18:28 +08:00
Version: 4.3.4
Release: 1
Summary: Software library for fast, message-based applications
2020-03-09 09:55:51 +08:00
License: LGPLv3+
2021-06-04 16:18:28 +08:00
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
BuildRequires: libunwind-devel
BuildRequires: openpgm-devel
BuildRequires: krb5-devel
2020-03-09 09:55:51 +08:00
%description
2021-06-04 16:18:28 +08:00
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.
2020-03-09 09:55:51 +08:00
%package devel
2021-06-04 16:18:28 +08:00
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
2020-03-09 09:55:51 +08:00
2021-06-04 16:18:28 +08:00
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
2020-03-09 09:55:51 +08:00
2021-06-04 16:18:28 +08:00
%package help
Summary: Help documents for zeromq
2020-03-09 09:55:51 +08:00
%description help
2021-06-04 16:18:28 +08:00
Help documents for zeromq.
2020-03-09 09:55:51 +08:00
%prep
2021-06-04 16:18:28 +08:00
%autosetup -p1 -n libzmq-%{version}
rm -rf external/wepoll
chmod -x src/xsub.hpp
2020-03-09 09:55:51 +08:00
%build
autoreconf -fi
2021-06-04 16:18:28 +08:00
%configure \
--with-pgm \
--with-libgssapi_krb5 \
--with-libsodium \
--enable-libunwind \
--disable-Werror \
--disable-static
2020-03-09 09:55:51 +08:00
%make_build
2021-06-04 16:18:28 +08:00
2020-03-09 09:55:51 +08:00
%install
%make_install
2021-06-04 16:18:28 +08:00
rm %{buildroot}%{_libdir}/libzmq.la
2020-03-09 09:55:51 +08:00
%check
make check V=1 || ( cat test-suite.log && exit 1 )
2021-06-04 16:18:28 +08:00
%ldconfig_scriptlets
2020-03-09 09:55:51 +08:00
%files
%doc AUTHORS
%{_bindir}/curve_keygen
%{_libdir}/libzmq.so.5*
%files devel
%{_libdir}/libzmq.so
%{_libdir}/pkgconfig/libzmq.pc
%{_includedir}/zmq*.h
%files help
2021-06-04 16:18:28 +08:00
%doc README.md NEWS
%license COPYING COPYING.LESSER
%{_mandir}/man3/zmq_*
%{_mandir}/man7/zmq_*
%{_mandir}/man7/zmq.*
2020-03-09 09:55:51 +08:00
%changelog
2021-06-04 16:18:28 +08:00
* Fri Jun 4 2021 wutao <wutao61@huawei.com> - 4.3.4-3
- upgrade to 4.3.4 to fix CVE-2021-20236
2020-03-09 09:55:51 +08:00
* Fri Mar 6 2020 shijian <shijian16@huawei.com> - 4.1.7-2
- Package init