File cajun-jsonapi.spec of Package cajun-jsonapi

#
# spec file for package cajun-jsonapi
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           cajun-jsonapi
Version:        2.0.3
Release:        0
Summary:        A cross-platform C++ header library for JSON
License:        BSD-3-Clause
Group:          Development/Libraries/C and C++
Url:            https://github.com/cajun-jsonapi/cajun-jsonapi
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
CAJUN is a C++ API for the JSON data interchange format with an emphasis
on an intuitive, concise interface. The library provides JSON types
and operations that mimic standard C++ as closely as possible in concept
and design.

%package devel
Summary:        Header files for cajun
Group:          Development/Libraries/C and C++

%description devel
Header files you can use to develop applications with cajun.

CAJUN is a C++ API for the JSON data interchange format with an emphasis
on an intuitive, concise interface. The library provides JSON types
and operations that mimic standard C++ as closely as possible in concept
and design.

%prep
%setup -q

%build

%install
install -d -m755 %{buildroot}%{_includedir}/cajun/json
install -p -m644 json/* %{buildroot}%{_includedir}/cajun/json

%check
make %{?_smp_mflags}

%files devel
%defattr(-, root, root)
%doc Readme.txt ReleaseNotes.txt
%{_includedir}/cajun/

%changelog
openSUSE Build Service is sponsored by