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