Search
SailfishOS Open Build Service
>
Projects
>
home:rcolistete
>
zeromq
> zeromq.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File zeromq.spec of Package zeromq
# # spec file for package zeromq for Mer, based on OpenSUSE version # Name: zeromq Version: 3.2.2 Release: 1 Summary: Lightweight messaging kernel License: LGPL-3.0+ Group: Productivity/Networking/Web/Servers URL: http://www.zeromq.org/ Packager: Roberto Colistete Jr. <rcolistete.maemo@gmail.com> Vendor: Alessandro Ghedini <ghedo@debian.org> Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: e2fsprogs-devel BuildRequires: libuuid-devel BuildRequires: pkgconfig BuildRequires: python BuildRequires: glib2 >= 2.8 %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 export PKG_CONFIG_PATH="/opt/gnome/%{_lib}/pkgconfig:$PKG_CONFIG_PATH" %configure --with-pgm 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.* %{_libdir}/libzmq.a %files devel %defattr(-,root,root,-) %{_includedir}/zmq* %{_libdir}/libzmq.so %{_libdir}/pkgconfig/libzmq.pc %{_mandir}/man3/zmq*.3* %{_mandir}/man7/zmq*.7* %changelog * Mon Feb 25 2013 Roberto Colistete Jr. <rcolistete.maemo@gmail.com> - 3.2.2 - zeromq 3.2.2 (23/11/2012) version for Mer : - * first release (25/02/2013).