2012-12-24 17:50:04 +00:00
|
|
|
%bcond_without pgm
|
|
|
|
|
2010-07-25 12:19:21 +00:00
|
|
|
Name: zeromq
|
2015-06-23 08:58:13 +00:00
|
|
|
Version: 4.1.2
|
|
|
|
Release: 1%{?dist}
|
2010-07-25 12:19:21 +00:00
|
|
|
Summary: Software library for fast, message-based applications
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv3+
|
|
|
|
URL: http://www.zeromq.org
|
|
|
|
# VCS: git:http://github.com/zeromq/zeromq2.git
|
2011-03-23 16:17:59 +00:00
|
|
|
Source0: http://download.zeromq.org/zeromq-%{version}.tar.gz
|
2015-06-23 08:58:13 +00:00
|
|
|
Patch0: zeromq-4.1.2-ipv6.patch
|
2015-06-08 08:20:50 +00:00
|
|
|
Source1: https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp
|
|
|
|
Source2: https://raw.githubusercontent.com/zeromq/cppzmq/master/LICENSE
|
2010-07-25 12:19:21 +00:00
|
|
|
|
2013-03-27 15:37:00 +00:00
|
|
|
BuildRequires: autoconf
|
2013-03-27 15:54:07 +00:00
|
|
|
BuildRequires: automake
|
2013-03-27 16:05:26 +00:00
|
|
|
BuildRequires: libtool
|
2013-03-27 15:37:00 +00:00
|
|
|
|
2010-07-25 12:19:21 +00:00
|
|
|
BuildRequires: glib2-devel
|
2011-10-22 23:39:41 +00:00
|
|
|
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
|
2011-09-21 17:01:40 +00:00
|
|
|
BuildRequires: e2fsprogs-devel
|
2011-09-21 17:23:27 +00:00
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
2011-09-21 17:01:40 +00:00
|
|
|
%else
|
2010-07-25 12:19:21 +00:00
|
|
|
BuildRequires: libuuid-devel
|
2011-09-21 17:01:40 +00:00
|
|
|
%endif
|
2012-12-24 17:50:04 +00:00
|
|
|
%if %{with pgm}
|
2013-05-17 13:17:40 +00:00
|
|
|
BuildRequires: openpgm-devel
|
2012-12-24 17:50:04 +00:00
|
|
|
%endif
|
2010-07-25 12:19:21 +00:00
|
|
|
|
|
|
|
%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}
|
|
|
|
Group: Development/Libraries
|
2011-03-23 16:17:59 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2010-07-25 12:19:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
2015-05-19 21:31:38 +00:00
|
|
|
The %{name}-devel package contains libraries and header files for
|
2010-07-25 12:19:21 +00:00
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
2015-06-08 08:20:50 +00:00
|
|
|
%package -n cppzmq-devel
|
|
|
|
Summary: Development files for cppzmq
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: MIT
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n cppzmq-devel
|
|
|
|
The cppzmq-devel package contains libraries and header files for
|
|
|
|
developing applications that use the C++ header files of %{name}.
|
|
|
|
|
|
|
|
|
2010-07-25 12:19:21 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2015-05-19 21:29:32 +00:00
|
|
|
%patch0 -p1
|
2015-06-08 08:20:50 +00:00
|
|
|
cp -a %{SOURCE2} .
|
2010-07-25 12:19:21 +00:00
|
|
|
|
2014-11-17 07:44:51 +00:00
|
|
|
# zeromq.x86_64: W: file-not-utf8 /usr/share/doc/zeromq/ChangeLog
|
|
|
|
iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
|
|
|
|
|
2011-09-21 09:15:14 +00:00
|
|
|
# Don't turn warnings into errors
|
|
|
|
sed -i "s/libzmq_werror=\"yes\"/libzmq_werror=\"no\"/g" \
|
|
|
|
configure
|
|
|
|
|
2013-05-17 13:17:40 +00:00
|
|
|
# Sed version number of openpgm into configure
|
|
|
|
%global openpgm_pc $(basename %{_libdir}/pkgconfig/openpgm*.pc .pc)
|
|
|
|
sed -i "s/openpgm-[0-9].[0-9]/%{openpgm_pc}/g" \
|
2013-05-17 13:35:50 +00:00
|
|
|
configure*
|
2013-05-17 13:17:40 +00:00
|
|
|
|
|
|
|
|
2010-07-25 12:19:21 +00:00
|
|
|
%build
|
2013-03-27 15:37:00 +00:00
|
|
|
autoreconf -fi
|
2012-12-24 17:50:04 +00:00
|
|
|
%configure \
|
|
|
|
%if %{with pgm}
|
|
|
|
--with-system-pgm \
|
|
|
|
%endif
|
|
|
|
--disable-static
|
2014-11-17 07:44:51 +00:00
|
|
|
make %{?_smp_mflags} V=1
|
2010-07-25 12:19:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2011-09-21 17:25:39 +00:00
|
|
|
rm -rf %{buildroot}
|
2010-07-25 12:19:21 +00:00
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
2015-06-08 08:20:50 +00:00
|
|
|
install -m 644 -p %{SOURCE1} %{buildroot}%{_includedir}/
|
2010-07-25 12:19:21 +00:00
|
|
|
|
|
|
|
# remove *.la
|
|
|
|
rm %{buildroot}%{_libdir}/libzmq.la
|
|
|
|
|
|
|
|
|
2011-09-21 09:04:22 +00:00
|
|
|
%check
|
2015-06-23 08:58:13 +00:00
|
|
|
make check V=1
|
2011-09-21 09:04:22 +00:00
|
|
|
|
|
|
|
|
2010-07-25 12:19:21 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
2015-06-23 08:58:13 +00:00
|
|
|
%doc AUTHORS ChangeLog MAINTAINERS NEWS
|
2015-06-08 08:20:50 +00:00
|
|
|
%license COPYING COPYING.LESSER
|
2014-11-17 07:44:51 +00:00
|
|
|
%{_bindir}/curve_keygen
|
2010-07-25 12:19:21 +00:00
|
|
|
%{_libdir}/libzmq.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libzmq.so
|
|
|
|
%{_libdir}/pkgconfig/libzmq.pc
|
2015-06-08 08:20:50 +00:00
|
|
|
%{_includedir}/zmq*.h
|
2010-07-25 12:19:21 +00:00
|
|
|
%{_mandir}/man3/zmq*
|
|
|
|
%{_mandir}/man7/zmq*
|
|
|
|
|
2015-06-08 08:20:50 +00:00
|
|
|
%files -n cppzmq-devel
|
|
|
|
%license LICENSE
|
|
|
|
%{_includedir}/zmq.hpp
|
|
|
|
|
2010-07-25 12:19:21 +00:00
|
|
|
|
|
|
|
%changelog
|
2015-06-23 08:58:13 +00:00
|
|
|
* Tue Jun 23 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.1.2-1
|
|
|
|
- update to 4.1.2
|
|
|
|
- add upstream patch to fix problem with ipv6
|
|
|
|
|
2015-06-19 04:46:03 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-08 08:20:50 +00:00
|
|
|
* Mon Jun 08 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-4
|
|
|
|
- Add zmq.hpp, which originally belonged to zeromq:
|
|
|
|
https://github.com/zeromq/cppzmq/issues/48
|
|
|
|
|
2015-05-19 21:29:32 +00:00
|
|
|
* Tue May 19 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-3
|
2015-05-21 14:41:46 +00:00
|
|
|
- Cherry-pick patch for protocol downgrade attack (#1221666, CVE-2014-9721)
|
2015-05-19 22:03:21 +00:00
|
|
|
- Remove Obsoletes:zeromq-utils
|
2015-05-19 21:31:38 +00:00
|
|
|
- Remove %%defattr
|
2015-05-19 21:29:32 +00:00
|
|
|
|
2015-05-02 16:51:44 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 4.0.5-2
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2014-11-17 07:44:51 +00:00
|
|
|
* Mon Nov 17 2014 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-1
|
|
|
|
- update to 4.0.5
|
|
|
|
|
2014-08-18 11:36:00 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 18:07:22 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 09:49:37 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-17 13:17:40 +00:00
|
|
|
* Fri May 17 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-7
|
|
|
|
- Rebuilt for openpm-5.2 and sed correct version into configure (#963894)
|
|
|
|
|
2013-03-27 15:37:00 +00:00
|
|
|
* Wed Mar 27 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-6
|
|
|
|
- run autoreconf before configure so aarch64 is supported (#926859)
|
|
|
|
|
2013-02-15 04:19:15 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-14 08:18:53 +00:00
|
|
|
* Mon Jan 14 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-4
|
|
|
|
- delete foreign files with dubious license in %%prep (#892111)
|
|
|
|
|
2012-12-24 17:50:04 +00:00
|
|
|
* Mon Dec 24 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-3
|
|
|
|
- add bcond_without pgm macro (Jose Pedro Oliveira, #867182)
|
|
|
|
- remove bundled pgm
|
|
|
|
- build against openpgm
|
|
|
|
|
2012-07-22 08:14:11 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-26 11:09:41 +00:00
|
|
|
* Thu Apr 26 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-1
|
|
|
|
- update to 2.2.0
|
|
|
|
|
2012-01-06 23:48:33 +00:00
|
|
|
* Sat Jan 7 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.1.11-1
|
|
|
|
- update to 2.1.11 (as part of rebuilding with gcc-4.7)
|
|
|
|
|
2011-09-21 09:04:22 +00:00
|
|
|
* Tue Sep 20 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.1.9-1
|
|
|
|
- update to 2.1.9
|
|
|
|
- add check section
|
|
|
|
|
2011-04-06 08:12:35 +00:00
|
|
|
* Wed Apr 6 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.1.4-1
|
|
|
|
- update to new version (#690199)
|
|
|
|
|
2011-03-23 16:17:59 +00:00
|
|
|
* Wed Mar 23 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.1.3-1
|
|
|
|
- update to new version (#690199)
|
|
|
|
- utils subpackage was removed upstream
|
|
|
|
(obsolete it)
|
|
|
|
|
2011-02-08 08:49:28 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-13 10:08:04 +00:00
|
|
|
* Thu Jan 13 2011 Pavel Zhukov <pavel@zhukoff.net> - 2.0.10-1
|
|
|
|
- update version
|
|
|
|
- add rpath delete
|
|
|
|
- change includedir filelist
|
|
|
|
|
2010-08-27 11:17:49 +00:00
|
|
|
* Fri Aug 27 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.8-1
|
|
|
|
- update to new version
|
|
|
|
|
2010-07-25 12:19:21 +00:00
|
|
|
* Fri Jul 23 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-4
|
|
|
|
- upstream VCS changed
|
|
|
|
- remove buildroot / %%clean
|
|
|
|
- change descriptions
|
|
|
|
|
|
|
|
* Tue Jul 20 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-3
|
|
|
|
- move binaries to seperate utils package
|
|
|
|
|
|
|
|
* Sat Jun 12 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-2
|
|
|
|
- remove BR: libstdc++-devel
|
|
|
|
- move man3 to the devel package
|
|
|
|
- change group to System Environment/Libraries
|
|
|
|
|
|
|
|
* Sat Jun 12 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-1
|
|
|
|
- initial package (based on upstreams example one)
|