File protozero.spec of Package protozero
#
# spec file for package osmium
#
# Copyright (c) 2012, 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: protozero
Version: 1.8.1
Release: 0
Summary: Minimalistic protocol buffer decoder and encoder in C++
License: BSD-2-Clause
URL: https://github.com/mapbox/protozero
Source: protozero-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: protobuf-devel
BuildArch: noarch
%description
Minimalistic protocol buffer decoder and encoder in C++.
Designed for high performance. Suitable for writing zero copy parsers and encoders with minimal need for run-time allocation of memory.
%package devel
Summary: Minimalistic protocol buffer decoder and encoder in C++
%description devel
Minimalistic protocol buffer decoder and encoder in C++.
Designed for high performance. Suitable for writing zero copy parsers and encoders with minimal need for run-time allocation of memory.
%prep
%setup -q
%build
mkdir build
cd build
cmake ..
%make_build
%install
cd build
%make_install
mv %{buildroot}%{_prefix}/local/include %{buildroot}%{_prefix}/
%files devel
%defattr(0644,root,root,0755)
%license LICENSE.md
%doc README.md
%{_includedir}/protozero
%changelog