File celestia-data.spec of Package celestia-data

#
# spec file for package celestia-data
#
# Copyright (c) 2022 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:           celestia-data
Version:        1.7.0~git20220902.de07c7a8
Release:        0
Summary:        Data files for the Celestia Space simulator
License:        CC-BY-SA-4.0 AND GPL-2.0-or-later
URL:            https://celestia.space/
Source:         CelestiaContent-%{version}.tar.xz
BuildRequires:  cmake
BuildRequires:  celestia-tools
BuildRequires:  gettext-tools
BuildArch:      noarch

%description
Celestia is a free real-time space simulation that lets you experience
our universe in three dimensions.

This package contains the required data files for Celestia.

%prep
%setup -q -n CelestiaContent-%{version}

%build
%cmake
%cmake_build

%install
%cmake_install

%find_lang %name

%files -f %{name}.lang
%license COPYING
%doc README
%dir %{_datadir}/celestia
%{_datadir}/celestia/data
%{_datadir}/celestia/extras-standard
%{_datadir}/celestia/models
%{_datadir}/celestia/textures
%{_datadir}/celestia/warp
%{_datadir}/locale

%changelog
openSUSE Build Service is sponsored by