1 |
dmorgan |
45309 |
%define name zeromq |
2 |
tv |
139458 |
%define version 2.1.9 |
3 |
pterjan |
93609 |
%define release %mkrel 1 |
4 |
dmorgan |
45309 |
|
5 |
|
|
%define libname_orig lib%{name} |
6 |
dams |
85568 |
%define major 1 |
7 |
dmorgan |
45309 |
%define libname %mklibname %{name} %{major} |
8 |
|
|
%define develname %mklibname %{name} -d |
9 |
|
|
|
10 |
|
|
Summary: Software library for fast, message-based applications |
11 |
|
|
Name: %{name} |
12 |
|
|
Version: %{version} |
13 |
|
|
Release: %{release} |
14 |
pterjan |
93609 |
Source0: http://download.zeromq.org/%{name}-%{version}.tar.gz |
15 |
dmorgan |
45309 |
License: LGPLv3+ |
16 |
|
|
Group: Development/Other |
17 |
|
|
Url: http://www.zeromq.org |
18 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
19 |
|
|
BuildRequires: glib2-devel |
20 |
|
|
BuildRequires: libuuid-devel |
21 |
dams |
85568 |
BuildRequires: python |
22 |
dmorgan |
45309 |
|
23 |
|
|
%description |
24 |
|
|
The 0MQ lightweight messaging kernel is a library which extends the |
25 |
|
|
standard socket interfaces with features traditionally provided by |
26 |
|
|
specialized messaging middle-ware products. 0MQ sockets provide an |
27 |
|
|
abstraction of asynchronous message queues, multiple messaging |
28 |
|
|
patterns, message filtering (subscriptions), seamless access to |
29 |
|
|
multiple transport protocols and more. |
30 |
|
|
|
31 |
|
|
%package -n %{libname} |
32 |
|
|
Summary: Software library for fast, message-based applications |
33 |
|
|
Group: System/Libraries |
34 |
|
|
Provides: %{libname_orig} = %{version}-%{release} |
35 |
dams |
87825 |
Provides: zeromq-utils |
36 |
|
|
Obsoletes: %{name}-utils < %{version} |
37 |
dmorgan |
45309 |
|
38 |
|
|
%description -n %{libname} |
39 |
|
|
The 0MQ lightweight messaging kernel is a library which extends the |
40 |
|
|
standard socket interfaces with features traditionally provided by |
41 |
|
|
specialized messaging middle-ware products. 0MQ sockets provide an |
42 |
|
|
abstraction of asynchronous message queues, multiple messaging |
43 |
|
|
patterns, message filtering (subscriptions), seamless access to |
44 |
|
|
multiple transport protocols and more. |
45 |
|
|
|
46 |
|
|
This package contains the ${name} shared library. |
47 |
|
|
|
48 |
|
|
%package -n %{develname} |
49 |
|
|
Summary: Development files for %{name} |
50 |
|
|
Group: Development/C |
51 |
|
|
Requires: %{libname} = %{version}-%{release} |
52 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
53 |
|
|
Provides: %{libname_orig}-devel = %{version}-%{release} |
54 |
|
|
|
55 |
|
|
%description -n %{develname} |
56 |
|
|
The 0MQ lightweight messaging kernel is a library which extends the |
57 |
|
|
standard socket interfaces with features traditionally provided by |
58 |
|
|
specialized messaging middle-ware products. 0MQ sockets provide an |
59 |
|
|
abstraction of asynchronous message queues, multiple messaging |
60 |
|
|
patterns, message filtering (subscriptions), seamless access to |
61 |
|
|
multiple transport protocols and more. |
62 |
|
|
|
63 |
|
|
This package contains the libraries and header files needed to develop |
64 |
|
|
applications that use %{name}. |
65 |
|
|
|
66 |
|
|
%prep |
67 |
|
|
%setup -q |
68 |
|
|
|
69 |
|
|
%build |
70 |
|
|
%configure2_5x |
71 |
|
|
%make |
72 |
|
|
|
73 |
|
|
%install |
74 |
|
|
%__rm -rf %{buildroot} |
75 |
|
|
%makeinstall |
76 |
|
|
|
77 |
|
|
%clean |
78 |
|
|
%__rm -rf %{buildroot} |
79 |
|
|
|
80 |
|
|
%files -n %{libname} |
81 |
|
|
%defattr(-,root,root) |
82 |
|
|
%doc AUTHORS ChangeLog COPYING* NEWS README |
83 |
|
|
%{_libdir}/libzmq.so.* |
84 |
|
|
|
85 |
|
|
%files -n %{develname} |
86 |
|
|
%defattr(-,root,root) |
87 |
|
|
%{_libdir}/libzmq.a |
88 |
|
|
%{_libdir}/libzmq.la |
89 |
|
|
%{_libdir}/libzmq.so |
90 |
|
|
%{_libdir}/pkgconfig/libzmq.pc |
91 |
|
|
%{_includedir}/zmq* |
92 |
|
|
%{_mandir}/man3/zmq* |
93 |
|
|
%{_mandir}/man7/zmq* |