sharkcz / rpms / zeromq

Forked from rpms/zeromq 4 years ago
Clone
91e1aea
Name:           zeromq
Thomas Spura cbe2c06
Version:        2.1.9
bac64ae
Release:        1%{?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
91e1aea
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
91e1aea
bac64ae
# utils subpackage was removed in F-16
bac64ae
# -> can be deleted in F-19
bac64ae
Obsoletes:      zeromq-utils < 2.1.3-1
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
91e1aea
The %{name}-devel package contains libraries and header files for 
91e1aea
developing applications that use %{name}.
91e1aea
91e1aea
91e1aea
%prep
91e1aea
%setup -q
91e1aea
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
91e1aea
91e1aea
%build
91e1aea
%configure --disable-static
91e1aea
make %{?_smp_mflags}
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
91e1aea
%defattr(-,root,root,-)
91e1aea
%doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README
91e1aea
%{_libdir}/libzmq.so.*
91e1aea
91e1aea
%files devel
91e1aea
%defattr(-,root,root,-)
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 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)