]> git.pld-linux.org Git - packages/zeromq.git/blob - zeromq.spec
81d9a0dc167466bb0d5f4d83402616e7e78c5fab
[packages/zeromq.git] / zeromq.spec
1 Summary:        Zero Message Queue
2 Name:           zeromq
3 Version:        2.0.8
4 Release:        1
5 License:        LGPL v3+
6 Group:          Libraries
7 Source0:        http://www.zeromq.org/local--files/area:download/%{name}-%{version}.tar.gz
8 # Source0-md5:  6a5c362deaaa24e0e94b42e13f68da51
9 URL:            http://www.zeromq.org/
10 BuildRequires:  autoconf >= 2.12
11 BuildRequires:  automake
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Zero Message Queue is a small, fast, and free software library that
16 gives you message-passing concurrency for applications in most common
17 languages.
18
19 %package devel
20 Summary:        NSPR library header files for development
21 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek NSPR
22 Group:          Development/Libraries
23 Requires:       %{name} = %{epoch}:%{version}-%{release}
24 Obsoletes:      zeromq-pthreads-devel
25
26 %description devel
27 Header files for the NSPR library from Netscape.
28
29 %description devel -l pl.UTF-8
30 Pliki nagłówkowe bibliotek NSPR z Netscape.
31
32 %package static
33 Summary:        Static NSPR library
34 Summary(pl.UTF-8):      Statyczna biblioteka NSPR
35 Group:          Development/Libraries
36 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
37 Obsoletes:      zeromq-pthreads-static
38
39 %description static
40 Static NSPR library.
41
42 %description static -l pl.UTF-8
43 Statyczna biblioteka NSPR.
44
45 %prep
46 %setup -q
47
48 %build
49 %{__libtoolize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__automake}
53 %{__autoheader}
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_libdir}/libzmq.so.*.*.*
74 %attr(755,root,root) %ghost %{_libdir}/libzmq.so.0
75 %attr(755,root,root) %{_bindir}/zmq_forwarder
76 %attr(755,root,root) %{_bindir}/zmq_queue
77 %attr(755,root,root) %{_bindir}/zmq_streamer
78
79 %files devel
80 %defattr(644,root,root,755)
81 %{_includedir}/zmq.h
82 %{_includedir}/zmq.hpp
83 %{_includedir}/zmq_utils.h
84 %{_libdir}/libzmq.so
85 %{_pkgconfigdir}/libzmq.pc
86 %{_mandir}/man3/zmq*.3*
87 %{_mandir}/man7/zmq*.7*
88
89 %files static
90 %defattr(644,root,root,755)
91 %{_libdir}/libzmq.a
This page took 0.065447 seconds and 2 git commands to generate.