diff --git a/README.md b/README.md index bd53a07..780c815 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libzeromq +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. + diff --git a/libzeromq.spec b/libzeromq.spec new file mode 100644 index 0000000..53f71ba --- /dev/null +++ b/libzeromq.spec @@ -0,0 +1,83 @@ +Name: libzeromq +Version: 4.1.3 +Release: 1mamba +Summary: ZeroMQ core engine library for fast, message-based applications +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +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 +* Fri Sep 25 2015 Davide Madrisan 4.1.3-1mamba +- package created by autospec