File properties-cpp.spec of Package properties-cpp

#
# spec file for package properties-cpp
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           properties-cpp
Version:        0.0.2
Release:        0
Summary:        C++11 library providing properties/signal
License:        LGPL-3.0-only
Group:          System/Libraries
URL:            https://gitlab.com/ubports/core/lib-cpp/properties-cpp
Source:         https://gitlab.com/ubports/core/lib-cpp/properties-cpp/-/archive/%{version}/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE properties-cpp-disable-tests.patch
Patch0:         %{name}-disable-tests.patch
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig

%description
A very simple convenience library for handling properties and
signals in C++11.

%package devel
Summary:        Header files for properties-cpp
Group:          Development/Libraries/C and C++

%description devel
A very simple convenience library for handling properties and
signals in C++11.

This package provides development headers for properties-cpp.

%prep
%autosetup -p1

%build
%cmake
%cmake_build

%install
%cmake_install

%files devel
%license COPYING
%doc README.md
%{_includedir}/core/
%{_libdir}/pkgconfig/%{name}.pc

%changelog
openSUSE Build Service is sponsored by