File circle-flags.spec of Package circle-flags
#
# spec file for package circle-flags
#
# 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: circle-flags
Version: 0
Release: 0
Summary: Country flags with circular look
License: GPL-3.0-or-later
Group: System/GUI/Other
URL: https://github.com/linuxmint/circle-flags
Source: %{name}-%{version}.tar.zst
BuildArch: noarch
%description
A collection of country flags with a circular look.
Used by Linux Mint applications like Hypnotix.
%prep
%setup -q
%build
# Nothing to build
%install
# Create the destination directory
install -d -m 0755 %{buildroot}%{_datadir}/circle-flags-svg
# The source tarball contains 'usr/share/circle-flags-svg'.
# We copy the CONTENTS of that folder to the buildroot.
cp -r usr/share/circle-flags-svg/* %{buildroot}%{_datadir}/circle-flags-svg/
%files
# Use debian/copyright since LICENSE is missing in the tarball root
%license debian/copyright
%doc README.md
%{_datadir}/circle-flags-svg
%changelog
* Wed Nov 19 2025 itachi_re <xanbenson99@gmail.com>
- Fix install path and license file
- Initial package for openSUSE