SHA256
8
0
forked from pool/czmq
Files
czmq/czmq.spec

118 lines
3.3 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package czmq
#
Accepting request 877151 from home:dirkmueller:Factory - update to 4.2.1: * New DRAFT zsock API to match libzmq's 4.3.4 socket options: - zsock_set_xpub_manual_last_value - zsock_socks_username, zsock_set_socks_username - zsock_socks_password, zsock_set_socks_password - zsock_in_batch_size, zsock_set_in_batch_size - zsock_out_batch_size, zsock_set_out_batch_size - zsock_set_wss_key_pem, zsock_set_wss_cert_pem, zsock_set_wss_trust_pem, zsock_set_wss_hostname, zsock_set_wss_trust_system - zsock_set_only_first_subscribe - zsock_hello_msg, zsock_set_hello_msg - zsock_disconnect_msg, zsock_set_disconnect_msg - zsock_priority, zsock_set_priority - zsock_reconnect_stop, zsock_set_reconnect_stop See zsock manpage for more details. * New DRAFT zframe and zmsg API to print arbitrary length messages: - zframe_print_n - zmsg_print_n See zframe and zmsg manpages for more details. * New DRAFT zosc* APIs to support the OSC (Open Sound Control) protocol. See zosc_* manpages for more details. * New DRAFT zcertstore_get_state API to get the state stored in the certstore. See the zcertstore manpage for more details. * Support for new libzmq DRAFT socket type ZMQ_DGRAM was added to zsock. * Fixed #1972 - Findlibzmq.cmake out of date, Windows build fails * Fixed #1998 - zproxy uses fixed ipc endpoint, causing race condition * Fixed #2002 - fix socket leak in zbeacon * Fixed #2020 - use libnss in zdigest if available for SHA functions. * Fixed #2028 - zpoller docs isn't mentioning file handles * Fixed #2043 - zhttp_response_recv leaks memory when result is non-zero OBS-URL: https://build.opensuse.org/request/show/877151 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/czmq?expand=0&rev=29
2021-03-23 11:00:14 +00:00
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define lib_name libczmq4
Name: czmq
Accepting request 877151 from home:dirkmueller:Factory - update to 4.2.1: * New DRAFT zsock API to match libzmq's 4.3.4 socket options: - zsock_set_xpub_manual_last_value - zsock_socks_username, zsock_set_socks_username - zsock_socks_password, zsock_set_socks_password - zsock_in_batch_size, zsock_set_in_batch_size - zsock_out_batch_size, zsock_set_out_batch_size - zsock_set_wss_key_pem, zsock_set_wss_cert_pem, zsock_set_wss_trust_pem, zsock_set_wss_hostname, zsock_set_wss_trust_system - zsock_set_only_first_subscribe - zsock_hello_msg, zsock_set_hello_msg - zsock_disconnect_msg, zsock_set_disconnect_msg - zsock_priority, zsock_set_priority - zsock_reconnect_stop, zsock_set_reconnect_stop See zsock manpage for more details. * New DRAFT zframe and zmsg API to print arbitrary length messages: - zframe_print_n - zmsg_print_n See zframe and zmsg manpages for more details. * New DRAFT zosc* APIs to support the OSC (Open Sound Control) protocol. See zosc_* manpages for more details. * New DRAFT zcertstore_get_state API to get the state stored in the certstore. See the zcertstore manpage for more details. * Support for new libzmq DRAFT socket type ZMQ_DGRAM was added to zsock. * Fixed #1972 - Findlibzmq.cmake out of date, Windows build fails * Fixed #1998 - zproxy uses fixed ipc endpoint, causing race condition * Fixed #2002 - fix socket leak in zbeacon * Fixed #2020 - use libnss in zdigest if available for SHA functions. * Fixed #2028 - zpoller docs isn't mentioning file handles * Fixed #2043 - zhttp_response_recv leaks memory when result is non-zero OBS-URL: https://build.opensuse.org/request/show/877151 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/czmq?expand=0&rev=29
2021-03-23 11:00:14 +00:00
Version: 4.2.1
Release: 0
Summary: High-level C binding for ZeroMQ
License: MPL-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/zeromq/czmq
Source0: https://github.com/zeromq/czmq/releases/download/v%{version}/czmq-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
Accepting request 877151 from home:dirkmueller:Factory - update to 4.2.1: * New DRAFT zsock API to match libzmq's 4.3.4 socket options: - zsock_set_xpub_manual_last_value - zsock_socks_username, zsock_set_socks_username - zsock_socks_password, zsock_set_socks_password - zsock_in_batch_size, zsock_set_in_batch_size - zsock_out_batch_size, zsock_set_out_batch_size - zsock_set_wss_key_pem, zsock_set_wss_cert_pem, zsock_set_wss_trust_pem, zsock_set_wss_hostname, zsock_set_wss_trust_system - zsock_set_only_first_subscribe - zsock_hello_msg, zsock_set_hello_msg - zsock_disconnect_msg, zsock_set_disconnect_msg - zsock_priority, zsock_set_priority - zsock_reconnect_stop, zsock_set_reconnect_stop See zsock manpage for more details. * New DRAFT zframe and zmsg API to print arbitrary length messages: - zframe_print_n - zmsg_print_n See zframe and zmsg manpages for more details. * New DRAFT zosc* APIs to support the OSC (Open Sound Control) protocol. See zosc_* manpages for more details. * New DRAFT zcertstore_get_state API to get the state stored in the certstore. See the zcertstore manpage for more details. * Support for new libzmq DRAFT socket type ZMQ_DGRAM was added to zsock. * Fixed #1972 - Findlibzmq.cmake out of date, Windows build fails * Fixed #1998 - zproxy uses fixed ipc endpoint, causing race condition * Fixed #2002 - fix socket leak in zbeacon * Fixed #2020 - use libnss in zdigest if available for SHA functions. * Fixed #2028 - zpoller docs isn't mentioning file handles * Fixed #2043 - zhttp_response_recv leaks memory when result is non-zero OBS-URL: https://build.opensuse.org/request/show/877151 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/czmq?expand=0&rev=29
2021-03-23 11:00:14 +00:00
BuildRequires: libcurl-devel
BuildRequires: libtool
BuildRequires: pkg-config
Accepting request 877151 from home:dirkmueller:Factory - update to 4.2.1: * New DRAFT zsock API to match libzmq's 4.3.4 socket options: - zsock_set_xpub_manual_last_value - zsock_socks_username, zsock_set_socks_username - zsock_socks_password, zsock_set_socks_password - zsock_in_batch_size, zsock_set_in_batch_size - zsock_out_batch_size, zsock_set_out_batch_size - zsock_set_wss_key_pem, zsock_set_wss_cert_pem, zsock_set_wss_trust_pem, zsock_set_wss_hostname, zsock_set_wss_trust_system - zsock_set_only_first_subscribe - zsock_hello_msg, zsock_set_hello_msg - zsock_disconnect_msg, zsock_set_disconnect_msg - zsock_priority, zsock_set_priority - zsock_reconnect_stop, zsock_set_reconnect_stop See zsock manpage for more details. * New DRAFT zframe and zmsg API to print arbitrary length messages: - zframe_print_n - zmsg_print_n See zframe and zmsg manpages for more details. * New DRAFT zosc* APIs to support the OSC (Open Sound Control) protocol. See zosc_* manpages for more details. * New DRAFT zcertstore_get_state API to get the state stored in the certstore. See the zcertstore manpage for more details. * Support for new libzmq DRAFT socket type ZMQ_DGRAM was added to zsock. * Fixed #1972 - Findlibzmq.cmake out of date, Windows build fails * Fixed #1998 - zproxy uses fixed ipc endpoint, causing race condition * Fixed #2002 - fix socket leak in zbeacon * Fixed #2020 - use libnss in zdigest if available for SHA functions. * Fixed #2028 - zpoller docs isn't mentioning file handles * Fixed #2043 - zhttp_response_recv leaks memory when result is non-zero OBS-URL: https://build.opensuse.org/request/show/877151 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/czmq?expand=0&rev=29
2021-03-23 11:00:14 +00:00
BuildRequires: pkgconfig(liblz4)
BuildRequires: pkgconfig(libmicrohttpd)
BuildRequires: pkgconfig(libsodium)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libzmq) > 4.1
Accepting request 877151 from home:dirkmueller:Factory - update to 4.2.1: * New DRAFT zsock API to match libzmq's 4.3.4 socket options: - zsock_set_xpub_manual_last_value - zsock_socks_username, zsock_set_socks_username - zsock_socks_password, zsock_set_socks_password - zsock_in_batch_size, zsock_set_in_batch_size - zsock_out_batch_size, zsock_set_out_batch_size - zsock_set_wss_key_pem, zsock_set_wss_cert_pem, zsock_set_wss_trust_pem, zsock_set_wss_hostname, zsock_set_wss_trust_system - zsock_set_only_first_subscribe - zsock_hello_msg, zsock_set_hello_msg - zsock_disconnect_msg, zsock_set_disconnect_msg - zsock_priority, zsock_set_priority - zsock_reconnect_stop, zsock_set_reconnect_stop See zsock manpage for more details. * New DRAFT zframe and zmsg API to print arbitrary length messages: - zframe_print_n - zmsg_print_n See zframe and zmsg manpages for more details. * New DRAFT zosc* APIs to support the OSC (Open Sound Control) protocol. See zosc_* manpages for more details. * New DRAFT zcertstore_get_state API to get the state stored in the certstore. See the zcertstore manpage for more details. * Support for new libzmq DRAFT socket type ZMQ_DGRAM was added to zsock. * Fixed #1972 - Findlibzmq.cmake out of date, Windows build fails * Fixed #1998 - zproxy uses fixed ipc endpoint, causing race condition * Fixed #2002 - fix socket leak in zbeacon * Fixed #2020 - use libnss in zdigest if available for SHA functions. * Fixed #2028 - zpoller docs isn't mentioning file handles * Fixed #2043 - zhttp_response_recv leaks memory when result is non-zero OBS-URL: https://build.opensuse.org/request/show/877151 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/czmq?expand=0&rev=29
2021-03-23 11:00:14 +00:00
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(uuid)
# documentation
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: xz
%description
CZMQ is a higher-level binding for the ZeroMQ core API.
This package contains key creation utility zmakecert.
%package -n %{lib_name}
Summary: Shared library of %{name}
Group: Development/Languages/C and C++
%description -n %{lib_name}
CZMQ is a higher-level binding for the ZeroMQ core API.
* It wraps the ZeroMQ core API in semantics that lead to shorter,
more readable applications.
* It hides, as far as possible, the differences between different
versions of ZeroMQ (2.x, 3.x, 4.x).
* It provides a space for development of more sophisticated API
semantics.
* It wraps the ZeroMQ security features with high-level tools and
APIs.
* It is the basis for other language bindings built on top of CZMQ.
%package devel
Summary: Devel files for %{name}
Group: Development/Languages/C and C++
Requires: %{lib_name} = %{version}
Accepting request 877151 from home:dirkmueller:Factory - update to 4.2.1: * New DRAFT zsock API to match libzmq's 4.3.4 socket options: - zsock_set_xpub_manual_last_value - zsock_socks_username, zsock_set_socks_username - zsock_socks_password, zsock_set_socks_password - zsock_in_batch_size, zsock_set_in_batch_size - zsock_out_batch_size, zsock_set_out_batch_size - zsock_set_wss_key_pem, zsock_set_wss_cert_pem, zsock_set_wss_trust_pem, zsock_set_wss_hostname, zsock_set_wss_trust_system - zsock_set_only_first_subscribe - zsock_hello_msg, zsock_set_hello_msg - zsock_disconnect_msg, zsock_set_disconnect_msg - zsock_priority, zsock_set_priority - zsock_reconnect_stop, zsock_set_reconnect_stop See zsock manpage for more details. * New DRAFT zframe and zmsg API to print arbitrary length messages: - zframe_print_n - zmsg_print_n See zframe and zmsg manpages for more details. * New DRAFT zosc* APIs to support the OSC (Open Sound Control) protocol. See zosc_* manpages for more details. * New DRAFT zcertstore_get_state API to get the state stored in the certstore. See the zcertstore manpage for more details. * Support for new libzmq DRAFT socket type ZMQ_DGRAM was added to zsock. * Fixed #1972 - Findlibzmq.cmake out of date, Windows build fails * Fixed #1998 - zproxy uses fixed ipc endpoint, causing race condition * Fixed #2002 - fix socket leak in zbeacon * Fixed #2020 - use libnss in zdigest if available for SHA functions. * Fixed #2028 - zpoller docs isn't mentioning file handles * Fixed #2043 - zhttp_response_recv leaks memory when result is non-zero OBS-URL: https://build.opensuse.org/request/show/877151 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/czmq?expand=0&rev=29
2021-03-23 11:00:14 +00:00
Requires: systemd-devel
Requires: pkgconfig(liblz4)
Requires: pkgconfig(uuid)
%description devel
CZMQ is a higher-level binding for the ZeroMQ core API.
This subpackage contains libraries, header files, and pkgconfig and
cmake descriptions for developing applications that want to make use
of CZMQ.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
rm -f %{buildroot}/%{_bindir}/*.gsl
rm -f %{buildroot}/%{_libdir}/*.la
%post -n %{lib_name} -p /sbin/ldconfig
%postun -n %{lib_name} -p /sbin/ldconfig
%files
%license LICENSE
%{_bindir}/zmakecert
%{_mandir}/man1/zmakecert.1.gz
%files -n %{lib_name}
%{_libdir}/libczmq.so.*
%files devel
%license LICENSE
%doc AUTHORS CONTRIBUTING.md NEWS README.md README.txt
%{_includedir}/*.h
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/lib%{name}.pc
%{_mandir}/man3/z*.3.gz
%{_mandir}/man7/%{name}.7.gz
%dir %{_datadir}/zproject
%{_datadir}/zproject/%{name}
%changelog