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