File PySolFC-Cardsets.spec of Package PySolFC-Cardsets

#
# spec file for package PySolFC-Cardsets
#
# Copyright (c) 2025 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:           PySolFC-Cardsets
Version:        3.1
Release:        0
License:        GPL-3.0-or-later
Summary:        PySolFC - additional cardsets
URL:            http://pysolfc.sourceforge.net/
Source0:        https://versaweb.dl.sourceforge.net/project/pysolfc/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2
BuildRequires:  fdupes
Requires:       PySolFC >= 2.16.0
BuildArch:      noarch

%description
PySolFC is a collection of more than 1000 solitaire card games.
It is a fork of PySol Solitaire.

This package contains addiotional cardsets for PySolFC.

%prep
%autosetup
#Source cleanup
find . -name .xvpics     -print0 | xargs -0 rm -Rf
find . -name .thumbnails -print0 | xargs -0 rm -Rf
find . -name COPYRIGHT   -exec chmod 0644 "{}" "+"

%build

%install
install -d -m 0755 %{buildroot}%{_datadir}/PySolFC
mv cardset-* %{buildroot}%{_datadir}/PySolFC

%fdupes %{buildroot}%{_datadir}

%files
%{_datadir}/PySolFC/

%changelog
openSUSE Build Service is sponsored by