sharkcz / rpms / zeromq

Forked from rpms/zeromq 4 years ago
Clone
Thomas Spura 084946f
%bcond_without pgm
Thomas Spura 084946f
91e1aea
Name:           zeromq
a31484c
Version:        4.3.2
f3609fa
Release:        2%{?dist}
91e1aea
Summary:        Software library for fast, message-based applications
91e1aea
91e1aea
License:        LGPLv3+
a31484c
URL:            https://zeromq.org
5652a73
Source0:        https://github.com/zeromq/libzmq/archive/v%{version}/libzmq-%{version}.tar.gz
91e1aea
Thomas Spura 9684f06
BuildRequires:  autoconf
Thomas Spura 44f9254
BuildRequires:  automake
5652a73
BuildRequires:  gcc-c++
Thomas Spura afc3775
BuildRequires:  libtool
Thomas Spura f003bc5
BuildRequires:  libsodium-devel
3fa0303
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
5652a73
BuildRequires:  libunwind-devel
3fa0303
%endif
Thomas Spura 9684f06
Thomas Spura 084946f
%if %{with pgm}
Thomas Spura 38435b1
BuildRequires:  openpgm-devel
Thomas Spura 4010976
BuildRequires:  krb5-devel
Thomas Spura 084946f
%endif
91e1aea
91e1aea
%description
91e1aea
The 0MQ lightweight messaging kernel is a library which extends the
91e1aea
standard socket interfaces with features traditionally provided by
91e1aea
specialized messaging middle-ware products. 0MQ sockets provide an
91e1aea
abstraction of asynchronous message queues, multiple messaging
91e1aea
patterns, message filtering (subscriptions), seamless access to
91e1aea
multiple transport protocols and more.
91e1aea
91e1aea
This package contains the ZeroMQ shared library.
91e1aea
91e1aea
91e1aea
%package devel
91e1aea
Summary:        Development files for %{name}
bac64ae
Requires:       %{name}%{?_isa} = %{version}-%{release}
91e1aea
91e1aea
91e1aea
%description devel
Thomas Spura e6cddf9
The %{name}-devel package contains libraries and header files for
91e1aea
developing applications that use %{name}.
91e1aea
91e1aea
91e1aea
%prep
5652a73
%autosetup -p1 -n libzmq-%{version}
91e1aea
5652a73
# Remove bundled code.
5652a73
rm -rf external/wepoll
5652a73
5652a73
# Fix permissions.
5652a73
chmod -x src/xsub.hpp
Thomas Spura 38435b1
Thomas Spura 38435b1
91e1aea
%build
Thomas Spura 9684f06
autoreconf -fi
Thomas Spura 084946f
%configure \
Thomas Spura 084946f
%if %{with pgm}
Thomas Spura 4010976
            --with-pgm \
Thomas Spura 4010976
            --with-libgssapi_krb5 \
Thomas Spura 084946f
%endif
5652a73
            --with-libsodium \
3fa0303
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
5652a73
            --enable-libunwind \
3fa0303
%endif
5652a73
            --disable-Werror \
Thomas Spura 084946f
            --disable-static
7a004a7
%make_build
91e1aea
91e1aea
91e1aea
%install
7a004a7
%make_install
91e1aea
91e1aea
# remove *.la
91e1aea
rm %{buildroot}%{_libdir}/libzmq.la
91e1aea
91e1aea
Thomas Spura cbe2c06
%check
6a4c511
make check V=1 || ( cat test-suite.log && exit 1 )
6a4c511
Thomas Spura cbe2c06
Thomas Spura cbe2c06
2cefe81
%ldconfig_scriptlets
91e1aea
91e1aea
91e1aea
%files
5652a73
%doc README.md AUTHORS NEWS
Thomas Spura 4c7a024
%license COPYING COPYING.LESSER
Thomas Spura 1340e1c
%{_bindir}/curve_keygen
689cc9f
%{_libdir}/libzmq.so.5*
91e1aea
91e1aea
%files devel
91e1aea
%{_libdir}/libzmq.so
91e1aea
%{_libdir}/pkgconfig/libzmq.pc
Thomas Spura 4c7a024
%{_includedir}/zmq*.h
91e1aea
91e1aea
91e1aea
%changelog
f3609fa
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.2-2
f3609fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f3609fa
a31484c
* Sun Sep 08 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 4.3.2-1
a31484c
- Update to latest version
a31484c
- Fix CVE-2019-13132 (#1729830)
a31484c
8b1b433
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-4
8b1b433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8b1b433
3fa0303
* Sat Feb 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 4.3.1-3
3fa0303
- Disable libunwind on unsupported arches (#1676262)
3fa0303
9e5b263
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-2
9e5b263
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9e5b263
5652a73
* Tue Jan 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 4.3.1-1
5652a73
- Update to latest version of libzmq and cppzmq
5aea20b
- Split cppzmq subpackage into its own package
5652a73
dc32612
* Mon Jan 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 4.1.6-11
6a4c511
- Backport patches to fix test failures in build
dc32612
- Cleanup spec a little
689cc9f
- Use explicit soname version in file list
dc32612
23d1f54
* Tue Aug 28 2018 Pavel Zhukov <landgraf@fedoraproject.org> - 4.1.6-10
23d1f54
- Add gcc-c++ BR
23d1f54
2e18705
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-9
2e18705
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2e18705
1b73cea
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-8
1b73cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1b73cea
2cefe81
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1.6-7
2cefe81
- Switch to %%ldconfig_scriptlets
2cefe81
015e395
* Mon Oct 02 2017 Remi Collet <remi@fedoraproject.org> - 4.1.6-6
015e395
- rebuild for libsodium
015e395
85bad05
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-5
85bad05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
85bad05
ce3866b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-4
ce3866b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ce3866b
8f64d3d
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-3
8f64d3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
8f64d3d
e69895f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-2
e69895f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e69895f
Thomas Spura be57c1a
* Sun Nov 13 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.1.6-1
Thomas Spura be57c1a
- update to 4.1.6
Thomas Spura be57c1a
6e875be
* Mon Mar 07 2016 Remi Collet <remi@fedoraproject.org> - 4.1.4-5
6e875be
- rebuild for new libsodium soname
6e875be
Thomas Spura eff758a
* Sun Feb 14 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.1.4-4
Thomas Spura eff758a
- Remove Werror from compile flags
Thomas Spura eff758a
9466daf
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.4-3
9466daf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9466daf
Thomas Spura 4010976
* Sun Jan 24 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.1.4-2
Thomas Spura 4010976
- Enable krb5 and fix building of pgm (#1301197)
Thomas Spura 4010976
Thomas Spura eb3bd66
* Sat Dec 19 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.1.4-1
Thomas Spura eb3bd66
- update to 4.1.4 (#1292814)
Thomas Spura eb3bd66
- refresh zmq.hpp
Thomas Spura eb3bd66
Thomas Spura 729573e
* Mon Aug 24 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.1.3-1
Thomas Spura 729573e
- update to 4.1.3 (#1256209)
Thomas Spura 729573e
- ipv6 patch included upstream
Thomas Spura 729573e
- refresh zmq.hpp
Thomas Spura 729573e
Thomas Spura d930586
* Tue Jun 23 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.1.2-1
Thomas Spura d930586
- update to 4.1.2
Thomas Spura d930586
- add upstream patch to fix problem with ipv6
Thomas Spura d930586
d9734a9
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.5-5
d9734a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d9734a9
Thomas Spura 4c7a024
* Mon Jun 08 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-4
Thomas Spura 4c7a024
- Add zmq.hpp, which originally belonged to zeromq:
Thomas Spura 4c7a024
  https://github.com/zeromq/cppzmq/issues/48
Thomas Spura 4c7a024
Thomas Spura 1f0ba93
* Tue May 19 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-3
Thomas Spura f7093ac
- Cherry-pick patch for protocol downgrade attack (#1221666, CVE-2014-9721)
Thomas Spura 66b20ff
- Remove Obsoletes:zeromq-utils
Thomas Spura e6cddf9
- Remove %%defattr
Thomas Spura 1f0ba93
a3f2096
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 4.0.5-2
a3f2096
- Rebuilt for GCC 5 C++11 ABI change
a3f2096
Thomas Spura 1340e1c
* Mon Nov 17 2014 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-1
Thomas Spura 1340e1c
- update to 4.0.5
Thomas Spura 1340e1c
81d3267
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-10
81d3267
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
81d3267
f312664
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-9
f312664
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f312664
1737a29
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-8
1737a29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1737a29
Thomas Spura 38435b1
* Fri May 17 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-7
Thomas Spura 38435b1
- Rebuilt for openpm-5.2 and sed correct version into configure (#963894)
Thomas Spura 38435b1
Thomas Spura 9684f06
* Wed Mar 27 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-6
Thomas Spura 9684f06
- run autoreconf before configure so aarch64 is supported (#926859)
Thomas Spura 9684f06
7ca72a2
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-5
7ca72a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7ca72a2
Thomas Spura 541d320
* Mon Jan 14 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-4
Thomas Spura 541d320
- delete foreign files with dubious license in %%prep (#892111)
Thomas Spura 541d320
Thomas Spura 084946f
* Mon Dec 24 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-3
Thomas Spura 084946f
- add bcond_without pgm macro (Jose Pedro Oliveira, #867182)
Thomas Spura 084946f
- remove bundled pgm
Thomas Spura 084946f
- build against openpgm
Thomas Spura 084946f
c802ef0
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-2
c802ef0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c802ef0
Thomas Spura 4ae1eb5
* Thu Apr 26 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-1
Thomas Spura 4ae1eb5
- update to 2.2.0
Thomas Spura 4ae1eb5
Thomas Spura 6a43470
* Sat Jan  7 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.1.11-1
Thomas Spura 6a43470
- update to 2.1.11 (as part of rebuilding with gcc-4.7)
Thomas Spura 6a43470
Thomas Spura cbe2c06
* Tue Sep 20 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.1.9-1
Thomas Spura cbe2c06
- update to 2.1.9
Thomas Spura cbe2c06
- add check section
Thomas Spura cbe2c06
c007567
* Wed Apr  6 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.1.4-1
c007567
- update to new version (#690199)
c007567
bac64ae
* Wed Mar 23 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.1.3-1
bac64ae
- update to new version (#690199)
bac64ae
- utils subpackage was removed upstream
bac64ae
  (obsolete it)
bac64ae
fe77403
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-2
fe77403
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fe77403
54ea8ea
* Thu Jan 13 2011 Pavel Zhukov <pavel@zhukoff.net> - 2.0.10-1
54ea8ea
- update version
54ea8ea
- add rpath delete
54ea8ea
- change includedir filelist
54ea8ea
86b7e03
* Fri Aug 27 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.8-1
86b7e03
- update to new version
86b7e03
91e1aea
* Fri Jul 23 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-4
91e1aea
- upstream VCS changed
91e1aea
- remove buildroot / %%clean
91e1aea
- change descriptions
91e1aea
91e1aea
* Tue Jul 20 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-3
91e1aea
- move binaries to seperate utils package
91e1aea
91e1aea
* Sat Jun 12 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-2
91e1aea
- remove BR: libstdc++-devel
91e1aea
- move man3 to the devel package
91e1aea
- change group to System Environment/Libraries
91e1aea
91e1aea
* Sat Jun 12 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-1
91e1aea
- initial package (based on upstreams example one)