%bcond_without apidocs # do not build and package API docs
%bcond_with mpi # MPI support
%bcond_with skv # SKV (Scalable Key-Value Store) support
-#
+
Summary: Lunchbox - C++ library for multi-threading programming
Summary(pl.UTF-8): Lunchbox - biblioteka C++ do programowania wielowątkowego
Name: Lunchbox
Version: 1.10.0
-Release: 4
+Release: 7
License: LGPL v2.1
Group: Libraries
Source0: https://github.com/Eyescale/Lunchbox/archive/%{version}/%{name}-%{version}.tar.gz
# Source1-md5: 4a6abcd9e0fc417528a8ca68a97e65eb
Patch0: disable-broken-cmakefiles.patch
Patch1: boost-1.57.0.patch
+Patch2: cxx.patch
URL: http://pogl.wordpress.com/category/lunchbox/
BuildRequires: avahi-devel
BuildRequires: boost-devel >= 1.41.0
Summary: Lunchbox API documentation
Summary(pl.UTF-8): Dokumentacja API biblioteki Lunchbox
Group: Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description apidocs
API documentation for Lunchbox library.
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
install -d build