libzeromq/libzeromq.spec

90 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: libzeromq
Version: 4.3.4
Release: 1mamba
Summary: ZeroMQ core engine library for fast, message-based applications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://zeromq.org/
Source: https://github.com/zeromq/libzmq/releases/download/v%{version}/zeromq-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbsd-devel
BuildRequires: libgcc
BuildRequires: libpgm-devel
BuildRequires: libsodium-devel
BuildRequires: libstdc++6-devel
BuildRequires: libunwind-devel
## AUTOBUILDREQ-END
BuildRequires: libpgm-devel
BuildRequires: libuuid-devel
%description
The ZeroMQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products.
ZeroMQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more.
%package devel
Group: Development/Libraries
Summary: Development files for ZeroMQ
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libzeromq-static < 4.3.4
%description devel
This package contains libraries and header files for developing applications that use ZeroMQ.
%debug_package
%prep
%setup -q -n zeromq-%{version}
%build
%configure \
--disable-silent-rules \
--with-pgm \
--with-libsodium \
--with-documentation \
--disable-Werror
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libzmq.so.*
%doc AUTHORS COPYING COPYING.LESSER
%files devel
%defattr(-,root,root)
%{_bindir}/curve_keygen
%{_includedir}/zmq*.h
%{_libdir}/libzmq.a
%{_libdir}/libzmq.so
%{_libdir}/pkgconfig/libzmq.pc
%{_mandir}/man3/zmq_*
%{_mandir}/man7/zmq*
%doc ChangeLog NEWS
%changelog
* Mon May 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.4-1mamba
- update to 4.3.4
* Sat Dec 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.0-1mamba
- update to 4.2.0
* Wed Feb 10 2016 Automatic Build System <autodist@mambasoft.it> 4.1.4-1mamba
- automatic update by autodist
* Fri Sep 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 4.1.3-1mamba
- package created by autospec