]> git.pld-linux.org Git - packages/czmq.git/blob - czmq.spec
fca0f8c89468fafba768179b719646cc60600503
[packages/czmq.git] / czmq.spec
1 Summary:        High-level C binding for 0MQ
2 Summary(pl.UTF-8):      Wysokopoziomowe wiązania C dla 0MQ
3 Name:           czmq
4 Version:        2.0.3
5 Release:        1
6 License:        LGPL v3+
7 Group:          Libraries
8 Source0:        http://download.zeromq.org/%{name}-%{version}.tar.gz
9 # Source0-md5:  a83cbea8c2687813e1343d711589ec15
10 URL:            http://zeromq.org/
11 BuildRequires:  asciidoc
12 BuildRequires:  libsodium-devel
13 BuildRequires:  xmlto
14 BuildRequires:  zeromq-devel >= 4
15 Requires:       zeromq >= 4
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 High-level C binding for 0MQ.
20
21 %description -l pl.UTF-8
22 Wysokopoziomowe wiązania C dla 0MQ.
23
24 %package devel
25 Summary:        Header files for CZMQ library
26 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki CZMQ
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29 Requires:       zeromq-devel >= 4
30
31 %description devel
32 Header files for CZMQ library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki CZMQ.
36
37 %package static
38 Summary:        Static CZMQ library
39 Summary(pl.UTF-8):      Statyczna biblioteka CZMQ
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static CZMQ library.
45
46 %description static -l pl.UTF-8
47 Statyczna biblioteka CZMQ.
48
49 %prep
50 %setup -q
51
52 %build
53 # use include subdir - file names could be too common (zfile.h etc.)
54 %configure \
55         --includedir=%{_includedir}/czmq
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 # obsoleted by pkg-config
65 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libczmq.la
66
67 # too common name
68 %{__mv} $RPM_BUILD_ROOT%{_bindir}/{makecert,czmq_makecert}
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS NEWS
75 %attr(755,root,root) %{_bindir}/czmq_makecert
76 %attr(755,root,root) %{_bindir}/czmq_selftest
77 %attr(755,root,root) %{_libdir}/libczmq.so.*.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libczmq.so.1
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libczmq.so
83 %{_includedir}/czmq
84 %{_pkgconfigdir}/libczmq.pc
85 %{_mandir}/man3/zauth.3*
86 %{_mandir}/man3/zbeacon.3*
87 %{_mandir}/man3/zcert.3*
88 %{_mandir}/man3/zcertstore.3*
89 %{_mandir}/man3/zchunk.3*
90 %{_mandir}/man3/zclock.3*
91 %{_mandir}/man3/zconfig.3*
92 %{_mandir}/man3/zctx.3*
93 %{_mandir}/man3/zdir.3*
94 %{_mandir}/man3/zfile.3*
95 %{_mandir}/man3/zframe.3*
96 %{_mandir}/man3/zhash.3*
97 %{_mandir}/man3/zlist.3*
98 %{_mandir}/man3/zloop.3*
99 %{_mandir}/man3/zmsg.3*
100 %{_mandir}/man3/zmutex.3*
101 %{_mandir}/man3/zpoller.3*
102 %{_mandir}/man3/zsocket.3*
103 %{_mandir}/man3/zsockopt.3*
104 %{_mandir}/man3/zstr.3*
105 %{_mandir}/man3/zsys.3*
106 %{_mandir}/man3/zthread.3*
107 %{_mandir}/man3/ztree.3*
108 %{_mandir}/man7/czmq.7*
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libczmq.a
This page took 0.070677 seconds and 2 git commands to generate.