File orchis-gtk-theme.spec of Package orchis-gtk-theme
#
# spec file for package orchis-gtk-theme
#
# Copyright (c) 2020 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/
#
# Based on:
# https://build.opensuse.org/package/view_file/openSUSE:Leap:15.4/materia-gtk-theme/materia-gtk-theme.spec
# https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_git_hosting_services
%global gittag 2025-04-25
%define _name Orchis-theme
Name: orchis-gtk-theme
Version: 20250425
Release: 0
Summary: Orchis GTK theme
License: GPL-3.0-only
URL: https://github.com/vinceliuice/%{_name}
Source: https://github.com/vinceliuice/%{_name}/archive/%{gittag}/%{_name}-%{gittag}.tar.gz
BuildRequires: fdupes
BuildRequires: gnome-shell
BuildRequires: sassc
Requires: gnome-themes-extras
Requires: gtk2-engine-murrine
BuildArch: noarch
%description
Orchis is a Material Design theme for GNOME/GTK based desktop environments.
Based on Materia GTK theme.
%prep
%autosetup -n %{_name}-%{gittag}
%build
%install
./install.sh -t all -d %{buildroot}%{_datadir}/themes
%fdupes %{buildroot}
#fix permissions
find %{buildroot}/%{_datadir}/themes -type f -exec chmod -x {} \;
#remove duplicate COPYING files
find %{buildroot}%{_datadir}/themes -name COPYING -delete
%files
%license COPYING
%doc README.md
%{_datadir}/themes/*
%changelog