File levelhead-data.spec of Package levelhead-data
#
# spec file for package levelhead-data
#
# Copyright (c) 2025 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: levelhead-data
Version: 1.0
Release: 0
Summary: Spatial Memory Game
License: CC-BY-SA-3.0
Group: Amusements/Games/Logic
URL: https://julianoliver.com/levelhead/
Source0: %{name}-%{version}.tar.bz2
Source1: camera_para.dat
BuildRequires: fdupes
Requires: levelhead = %{version}
BuildArch: noarch
%description
Data files for levelhead
Files needed to build cubes are in %{_datadir}/%{name}/Data/images/
%prep
%autosetup
rm Data/camera_para.dat*
cp %{SOURCE1} Data/camera_para.dat
%build
%install
install -D -d %{buildroot}%{_datadir}/%{name}
mv * %{buildroot}%{_datadir}/%{name}/
%fdupes %{buildroot}%{_datadir}/%{name}/
%files
%{_datadir}/%{name}/
%changelog