Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-zeromq3-325-static
dba-zeromq3-325-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-zeromq3-325-static.spec of Package dba-zeromq3-325-static
%define real_name zeromq3 %define prefix /DBA/%{real_name}/%{version} %define version 3.2.5 %define vers 325 %define maketest 0 %define with_pgm 1 %define with_uuid 0 Name: dba-%{real_name}-%{vers}-static Summary: Software library for fast, message-based applications Version: %{version} Release: 1 Group: System Environment/Libraries License: LGPLv3+ with exceptions URL: http://www.zeromq.org Source0: http://download.zeromq.org/zeromq-%{version}.tar.gz BuildRoot: %{_tmppath}/%{real_name}-%{version}-build BuildRequires: autoconf automake libtool make BuildRequires: cpp gcc-c++ libstdc++-devel #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c BuildRequires: glib2-devel %if %{with_pgm} BuildRequires: dba-openpgm-52122-static %define pgmdir /DBA/openpgm/5.2.122 %endif %if 0%{?sles_version} == 10 || 0%{?centos_version} == 504 || 0%{?rhel_version} == 501 %define with_uuid 1 %endif %if %{with_uuid} # BuildRequires: libuuid-devel BuildRequires: dba-uuid-162-static %define uuidpath /DBA/uuid/1.6.2 %else BuildRequires: libuuid-devel %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description 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 for versions 3.x. %prep %setup -q -n zeromq-%{version} %build export CFLAGS="%{optflags} -fPIC" %if %{with_pgm} export CFLAGS="$CFLAGS -I%{pgmdir}/include -I%{pgmdir}/include/pgm-5.2" export LDFLAGS="$LDFLAGS -L%{pgmdir}/lib -lpgm" export OpenPGM_CFLAGS="-I%{pgmdir}/include -I%{pgmdir}/include/pgm-5.2" export OpenPGM_LIBS="-L%{pgmdir}/lib -lpgm" %endif %if %{with_uuid} export CFLAGS="$CFLAGS -I%{uuidpath}/include" export LDFLAGS="$LDFLAGS -L/%{uuidpath}/lib" %endif ./configure \ --enable-static \ --disable-shared \ %if %{with_pgm} --with-system-pgm \ %endif --prefix=%{prefix} %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} PREFIX="%{prefix}" %check %if %maketest %{__make} check %endif %post if [ -d %{_libdir}/pkgconfig ]; then cd %{_libdir}/pkgconfig if [ -e zeromq.pc ]; then %{__rm} -f zeromq.pc fi %{__ln_s} -f %{prefix}/lib/pkgconfig/zeromq.pc . fi %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Thu Feb 9 2017 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
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