]> git.pld-linux.org Git - packages/zeromq.git/blob - zeromq.spec
61630b00a948da5e7a7fa4997fb00d9a8ea1f056
[packages/zeromq.git] / zeromq.spec
1 Summary:        ØMQ - Zero Message Queue
2 Name:           zeromq
3 Version:        2.1.11
4 Release:        1
5 License:        LGPL v3+
6 Group:          Libraries
7 Source0:        http://download.zeromq.org/%{name}-%{version}.tar.gz
8 # Source0-md5:  f0f9fd62acb1f0869d7aa80379b1f6b7
9 URL:            http://www.zeromq.org/
10 BuildRequires:  autoconf >= 2.12
11 BuildRequires:  automake
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  libtool
14 BuildRequires:  libuuid-devel
15 BuildRequires:  pkgconfig
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The ØMQ lightweight messaging kernel is a library which extends the
20 standard socket interfaces with features traditionally provided by
21 specialised messaging middleware products. ØMQ sockets provide an
22 abstraction of asynchronous message queues, multiple messaging
23 patterns, message filtering (subscriptions), seamless access to
24 multiple transport protocols and more.
25
26 %package devel
27 Summary:        ØMQ library header files for development
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki ØMQ
29 Group:          Development/Libraries
30 Requires:       %{name} = %{epoch}:%{version}-%{release}
31 Obsoletes:      zeromq-pthreads-devel
32
33 %description devel
34 ØMQ library header files for development.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki ØMQ.
38
39 %package static
40 Summary:        Static ØMQ library
41 Summary(pl.UTF-8):      Statyczna biblioteka ØMQ
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
44 Obsoletes:      zeromq-pthreads-static
45
46 %description static
47 Static ØMQ library.
48
49 %description static -l pl.UTF-8
50 Statyczna biblioteka ØMQ.
51
52 %prep
53 %setup -q
54
55 %build
56 %{__libtoolize}
57 %{__aclocal}
58 %{__autoconf}
59 %{__automake}
60 %{__autoheader}
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/libzmq.so.*.*.*
81 %attr(755,root,root) %ghost %{_libdir}/libzmq.so.1
82
83 %files devel
84 %defattr(644,root,root,755)
85 %{_includedir}/zmq.h
86 %{_includedir}/zmq.hpp
87 %{_includedir}/zmq_utils.h
88 %{_libdir}/libzmq.so
89 %{_pkgconfigdir}/libzmq.pc
90 %{_mandir}/man3/zmq*.3*
91 %{_mandir}/man7/zmq*.7*
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libzmq.a
This page took 0.063398 seconds and 2 git commands to generate.