|
Thomas Spura |
084946f |
%bcond_without pgm
|
|
Thomas Spura |
084946f |
|
|
|
91e1aea |
Name: zeromq
|
|
Thomas Spura |
1340e1c |
Version: 4.0.5
|
|
Thomas Spura |
1f0ba93 |
Release: 3%{?dist}
|
|
|
91e1aea |
Summary: Software library for fast, message-based applications
|
|
|
91e1aea |
|
|
|
91e1aea |
Group: System Environment/Libraries
|
|
|
91e1aea |
License: LGPLv3+
|
|
|
91e1aea |
URL: http://www.zeromq.org
|
|
|
91e1aea |
# VCS: git:http://github.com/zeromq/zeromq2.git
|
|
|
bac64ae |
Source0: http://download.zeromq.org/zeromq-%{version}.tar.gz
|
|
Thomas Spura |
1f0ba93 |
Patch0: zeromq-4.0.5-downgrade-attack.patch
|
|
|
91e1aea |
|
|
Thomas Spura |
9684f06 |
BuildRequires: autoconf
|
|
Thomas Spura |
44f9254 |
BuildRequires: automake
|
|
Thomas Spura |
afc3775 |
BuildRequires: libtool
|
|
Thomas Spura |
9684f06 |
|
|
|
91e1aea |
BuildRequires: glib2-devel
|
|
Thomas Spura |
c1495c0 |
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
|
|
Thomas Spura |
7bb1f06 |
BuildRequires: e2fsprogs-devel
|
|
Thomas Spura |
e79487c |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
Thomas Spura |
7bb1f06 |
%else
|
|
|
91e1aea |
BuildRequires: libuuid-devel
|
|
Thomas Spura |
7bb1f06 |
%endif
|
|
Thomas Spura |
084946f |
%if %{with pgm}
|
|
Thomas Spura |
38435b1 |
BuildRequires: openpgm-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}
|
|
|
91e1aea |
Group: Development/Libraries
|
|
|
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
|
|
|
91e1aea |
%setup -q
|
|
Thomas Spura |
1f0ba93 |
%patch0 -p1
|
|
|
91e1aea |
|
|
Thomas Spura |
1340e1c |
# zeromq.x86_64: W: file-not-utf8 /usr/share/doc/zeromq/ChangeLog
|
|
Thomas Spura |
1340e1c |
iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
|
|
Thomas Spura |
1340e1c |
|
|
Thomas Spura |
e847db0 |
# Don't turn warnings into errors
|
|
Thomas Spura |
e847db0 |
sed -i "s/libzmq_werror=\"yes\"/libzmq_werror=\"no\"/g" \
|
|
Thomas Spura |
e847db0 |
configure
|
|
Thomas Spura |
e847db0 |
|
|
Thomas Spura |
38435b1 |
# Sed version number of openpgm into configure
|
|
Thomas Spura |
38435b1 |
%global openpgm_pc $(basename %{_libdir}/pkgconfig/openpgm*.pc .pc)
|
|
Thomas Spura |
38435b1 |
sed -i "s/openpgm-[0-9].[0-9]/%{openpgm_pc}/g" \
|
|
Thomas Spura |
f4c4f8f |
configure*
|
|
Thomas Spura |
38435b1 |
|
|
Thomas Spura |
38435b1 |
|
|
Thomas Spura |
541d320 |
# remove all files in foreign except Makefiles
|
|
Thomas Spura |
541d320 |
rm -v $(find foreign -type f | grep -v Makefile)
|
|
Thomas Spura |
084946f |
|
|
|
91e1aea |
|
|
|
91e1aea |
%build
|
|
Thomas Spura |
9684f06 |
autoreconf -fi
|
|
Thomas Spura |
084946f |
%configure \
|
|
Thomas Spura |
084946f |
%if %{with pgm}
|
|
Thomas Spura |
084946f |
--with-system-pgm \
|
|
Thomas Spura |
084946f |
%endif
|
|
Thomas Spura |
084946f |
--disable-static
|
|
Thomas Spura |
1340e1c |
make %{?_smp_mflags} V=1
|
|
|
91e1aea |
|
|
|
91e1aea |
|
|
|
91e1aea |
%install
|
|
Thomas Spura |
5383752 |
rm -rf %{buildroot}
|
|
|
91e1aea |
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
91e1aea |
|
|
|
91e1aea |
# remove *.la
|
|
|
91e1aea |
rm %{buildroot}%{_libdir}/libzmq.la
|
|
|
91e1aea |
|
|
|
91e1aea |
|
|
Thomas Spura |
cbe2c06 |
%check
|
|
Thomas Spura |
cbe2c06 |
make check
|
|
Thomas Spura |
cbe2c06 |
|
|
Thomas Spura |
cbe2c06 |
|
|
|
91e1aea |
%post -p /sbin/ldconfig
|
|
|
91e1aea |
|
|
|
91e1aea |
|
|
|
91e1aea |
%postun -p /sbin/ldconfig
|
|
|
91e1aea |
|
|
|
91e1aea |
|
|
|
91e1aea |
%files
|
|
Thomas Spura |
1340e1c |
%doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README.md
|
|
Thomas Spura |
1340e1c |
%{_bindir}/curve_keygen
|
|
|
91e1aea |
%{_libdir}/libzmq.so.*
|
|
|
91e1aea |
|
|
|
91e1aea |
%files devel
|
|
|
91e1aea |
%{_libdir}/libzmq.so
|
|
|
91e1aea |
%{_libdir}/pkgconfig/libzmq.pc
|
|
|
86b7e03 |
%{_includedir}/zmq*
|
|
|
91e1aea |
%{_mandir}/man3/zmq*
|
|
|
91e1aea |
%{_mandir}/man7/zmq*
|
|
|
91e1aea |
|
|
|
91e1aea |
|
|
|
91e1aea |
%changelog
|
|
Thomas Spura |
1f0ba93 |
* Tue May 19 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-3
|
|
Thomas Spura |
1f0ba93 |
- Cherry-pick patch for protocol downgrade attack (#1221666)
|
|
Thomas Spura |
778f84a |
- Remove Provides: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)
|