File tinydir.spec of Package tinydir

#
# spec file for package tinydir
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#


%define srcname tinydir
Name:           tinydir
Version:        1.2.4
Release:        0
Url:            https://github.com/cxong/tinydir/
Summary:        Tinydir
License:        BSD-2-Clause
Group:          Development/Tools/Building
Source0:        https://github.com/cxong/%{srcname}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
BuildRequires:  cmake

%description
Tinydir.

%package devel
Summary:        Tinydir

%description devel
Tinydir.

%prep
%setup -q

%build

%install
install -D -m644 tinydir.h %{buildroot}%{_includedir}/tinydir.h

%files devel
%{_includedir}/tinydir.h

%changelog