File libimmer.spec of Package libimmer

#
# spec file for package libimmer
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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:           libimmer
Version:        0.9.1
Release:        0
Summary:        C++ library for persistent and immutable data structures
License:        BSL-1.0
Group:          System/Libraries
URL:            https://github.com/arximboldi/immer
BuildArch:      noarch
Source0:        %{name}-%{version}.tar.xz

%description
Immer is a library of persistent and immutable data structures written in C++. These enable whole new kinds of architectures for interactive and concurrent programs of striking simplicity, correctness, and performance.

%package devel
Summary:        C++ library for persistent and immutable data structures
Group:          Development/Libraries/C and C++

%description devel
Immer is a library of persistent and immutable data structures written in C++. These enable whole new kinds of architectures for interactive and concurrent programs of striking simplicity, correctness, and performance.

%prep
%setup -q

%build

%install
%{__install} -d -m 0755 %{buildroot}%{_includedir}
%{__cp} -a immer %{buildroot}%{_includedir}/

%check

%files devel
%defattr(-,root,root,-)
%{_includedir}/immer
%doc README.rst
%license LICENSE

%changelog
openSUSE Build Service is sponsored by