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