File adw-gtk3.spec of Package adw-gtk3

#
# spec file for package adw-gtk3
#
# 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:           adw-gtk3
Version:        2.0
Release:        0
Summary:        The theme from libadwaita ported to GTK-3
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License:        LGPL-2.1
URL:            https://github.com/lassekongo83/adw-gtk3
Source:         %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  meson
BuildRequires:  sassc
BuildRequires:  fdupes
BuildRequires:  pkgconfig(gtk+-3.0)
BuildArch:      noarch

%description
The default theme from libadwaita ported to GTK-3.
Note that this is not a 100% accurate port.

%package dark
Summary:        The dark theme from libadwaita ported to GTK-3

%description dark
%{summary}.

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install
%fdupes %{buildroot}%{_prefix}

%files
%license LICENSE
%doc README.md
%{_datadir}/themes/adw-gtk3/

%files dark
%{_datadir}/themes/adw-gtk3-dark/

%changelog

openSUSE Build Service is sponsored by