Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gargerakis
nio-zeromq
nio-zeromq.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nio-zeromq.spec of Package nio-zeromq
%define orig_name zeromq %define zeromq_version 4.2.3 %define _prefix /opt/nio %define _libdir %{_prefix}/lib %define _libexecdir %{_prefix}/libexec %define _sysconfdir /etc Name: nio-%{orig_name} Version: %{zeromq_version} Release: <CI_CNT>.<B_CNT>%{?dist} 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 Source: https://github.com/%{orig_name}/libzmq/releases/download/v%{version}/zeromq-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: libsodium-devel BuildRequires: glib2-devel BuildRequires: libuuid-devel %description Version >= 4.2.1 fixes Niometrics BUG-6895 and BUG-7014. Temporary package until a suitable version is in the stock repos. 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 Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n %{orig_name}-%{version} # 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 # Don't turn warnings into errors sed -i "s/libzmq_werror=\"yes\"/libzmq_werror=\"no\"/g" \ configure # 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" \ configure* %build autoreconf -fi # Don't turn warnings into errors sed -i "s/libzmq_werror=\"yes\"/libzmq_werror=\"no\"/g" \ configure %configure \ --disable-static make %{?_smp_mflags} V=1 %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" # remove *.la rm %{buildroot}%{_libdir}/libzmq.la %check make check V=1 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS ChangeLog NEWS %license COPYING COPYING.LESSER %{_bindir}/curve_keygen %{_libdir}/libzmq.so.* %files devel %{_libdir}/libzmq.so %{_libdir}/pkgconfig/libzmq.pc %{_includedir}/zmq*.h %{_mandir}/man3/zmq* %{_mandir}/man7/zmq* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor