1 Summary: CPP-ZMQ library
2 Summary(pl.UTF-8): Biblioteka CPP-ZMQ
7 Group: Development/Libraries
8 #Source0Download: https://github.com/zeromq/cppzmq/releases
9 Source0: https://github.com/zeromq/cppzmq/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: 80f3400f5d6cc48cee0fe1a045d78718
11 URL: https://github.com/zeromq/cppzmq
13 BuildRequires: cmake >= 3.11
14 BuildRequires: pkgconfig
15 BuildRequires: zeromq-devel >= 4
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 CPP-ZMQ is the C++ interface for 0MQ library.
22 %description -l pl.UTF-8
23 CPP-ZMQ to interfejs C++ do biblioteki ØMQ.
26 Summary: CPP-ZMQ header files
27 Summary(pl.UTF-8): Pliki nagłówkowe CPP-ZMQ
28 Group: Development/Libraries
29 Requires: zeromq-devel >= 4
32 Header files which constitute CPP-ZMQ library.
34 CPP-ZMQ is the C++ interface for 0MQ library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe stanowiące bibliotekę CPP-ZMQ.
39 CPP-ZMQ to interfejs C++ do biblioteki ØMQ.
48 -DCPPZMQ_BUILD_TESTS=OFF
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} -C build install \
56 DESTDIR=$RPM_BUILD_ROOT
58 # use arch-independent pkg-config dir, so package can be noarch
59 install -d $RPM_BUILD_ROOT%{_npkgconfigdir}
60 %{__mv} $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc $RPM_BUILD_ROOT%{_npkgconfigdir}
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc LICENSE README.md
68 %{_includedir}/zmq.hpp
69 %{_includedir}/zmq_addon.hpp
70 %{_npkgconfigdir}/cppzmq.pc
71 %{_datadir}/cmake/cppzmq