libzeromq/libzeromq.spec

87 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: libzeromq
Version: 4.1.4
Release: 1mamba
Summary: ZeroMQ core engine library for fast, message-based applications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.zeromq.org
Source: http://download.zeromq.org/zeromq-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libsodium-devel
## AUTOBUILDREQ-END
BuildRequires: libuuid-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}
#Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use ZeroMQ.
%package static
Summary: Static ZeroMQ library
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
Static ZeroMQ library.
%debug_package
%prep
%setup -q -n zeromq-%{version}
%build
%configure --disable-silent-rules
%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.la
%{_libdir}/libzmq.so
%{_libdir}/pkgconfig/libzmq.pc
%{_mandir}/man3/zmq_*
%{_mandir}/man7/zmq*
%doc ChangeLog NEWS
%files static
%defattr(-,root,root)
%{_libdir}/libzmq.a
%changelog
* 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