Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.5.20
:
extensions
>
zeromq3
> zeromq.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File zeromq.spec of Package zeromq3
# # spec file for package zeromq # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: zeromq Version: 3.2.4 Release: 0 Url: http://www.zeromq.org/ Summary: Lightweight messaging kernel License: LGPL-3.0+ Group: Productivity/Networking/Web/Servers Source: http://download.zeromq.org/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch %ix86 x86_64 %if 0%{?suse_version} >= 1100 %define with_pgm 1 %endif %endif BuildRequires: gcc-c++ %if 0%{?suse_version} && 0%{?suse_version} < 1100 BuildRequires: e2fsprogs-devel %else %if 0%{?rhel} >= 6 || 0%{?centos_version} >= 6 BuildRequires: e2fsprogs-devel BuildRequires: libuuid-devel %else %if 0%{?mdkversion} && 0%{?mdkversion} < 201000 || 0%{?fedora_verison} || 0%{?centos_version} == 5 BuildRequires: e2fsprogs-devel %else BuildRequires: libuuid-devel %endif %endif %endif %if 0%{?with_pgm} BuildRequires: pkgconfig BuildRequires: python %if 0%{?suse_version} && 0%{?suse_version} < 1130 BuildRequires: glib2 >= 2.8 %else BuildRequires: pkgconfig(glib-2.0) >= 2.8 %endif %endif %description The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more. %define lib_name libzmq3 %package -n %{lib_name} Summary: Shared Library for ZeroMQ Group: Productivity/Networking/Web/Servers %description -n %{lib_name} The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware 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 holds the shared library part of the ZeroMQ package. %package devel Summary: Development files for ZeroMQ Group: Development/Languages/C and C++ Requires: %{lib_name} = %{version} Provides: libzmq-devel = %{version} %description devel The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware 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 holds the development files for ZeroMQ. %prep %setup -q %build %if 0%{?with_pgm} && 0%{?sles_version} == 9 export PKG_CONFIG_PATH="/opt/gnome/%{_lib}/pkgconfig:$PKG_CONFIG_PATH" %endif %configure \ %if 0%{?with_pgm} --with-pgm \ %endif --disable-static \ --with-pic make %{?_smp_mflags} V=1 %install %makeinstall V=1 find %{buildroot} -name "*.la" -delete %post -n %{lib_name} -p /sbin/ldconfig %postun -n %{lib_name} -p /sbin/ldconfig %files -n %{lib_name} %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README %{_libdir}/libzmq.so.* %files devel %defattr(-,root,root,-) %{_includedir}/zmq* %{_libdir}/libzmq.so %{_libdir}/pkgconfig/libzmq.pc %{_mandir}/man3/zmq*.3* %{_mandir}/man7/zmq*.7* %changelog