131 lines
4.3 KiB
RPMSpec
131 lines
4.3 KiB
RPMSpec
#
|
|
# spec file for package budgie-desktop-branding
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
# Copyright (c) 2024 Callum Farmer <gmbr3@opensuse.org>
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%if !0%{?is_backports}
|
|
%define nsuffix openSUSE
|
|
%define bversion %{nsuffix},upstream
|
|
%else
|
|
%define nsuffix SLE
|
|
%define bversion %{nsuffix}
|
|
%endif
|
|
Name: budgie-desktop-branding
|
|
Version: 20250305.1
|
|
Release: 0
|
|
Summary: Branding of the Budgie Desktop Environment
|
|
License: CC-BY-SA-3.0 AND GPL-2.0-only
|
|
Group: System/GUI/Other
|
|
URL: https://github.com/gmbr3/budgie-desktop-branding
|
|
Source: %{name}-%{version}.tar.xz
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
%description
|
|
This package provides the look and feel for the Budgie
|
|
desktop environment.
|
|
|
|
%package %{nsuffix}
|
|
Summary: %{nsuffix} branding of the Budgie Desktop Environment
|
|
Requires: branding-%{nsuffix}
|
|
Requires: budgie-desktop
|
|
Requires: gtk3-metatheme-greybird-geeko
|
|
# Best themes/icons for Budgie in openSUSE
|
|
Requires: wallpaper-branding-%{nsuffix}
|
|
Requires: adwaita-icon-theme
|
|
Requires: gio-branding-%{nsuffix}
|
|
Requires: papirus-icon-theme
|
|
Requires: systemd-icon-branding
|
|
Recommends: MozillaFirefox
|
|
# Recommend openSUSE favourited packages
|
|
Recommends: gnome-terminal
|
|
Recommends: nautilus
|
|
Recommends: yast2-control-center
|
|
Supplements: (budgie-desktop and branding-%{nsuffix})
|
|
Conflicts: budgie-desktop-branding
|
|
Provides: budgie-desktop-branding = %{version}
|
|
BuildArch: noarch
|
|
|
|
%description %{nsuffix}
|
|
This package provides the %{nsuffix} look and feel for the Budgie
|
|
desktop environment.
|
|
|
|
%if !0%{?is_backports}
|
|
%package upstream
|
|
Summary: Upstream branding of the Budgie Desktop Environment
|
|
License: CC-BY-NC-SA-4.0
|
|
URL: https://github.com/BuddiesOfBudgie/fedora-budgie-desktop-defaults
|
|
Requires: adwaita-icon-theme
|
|
Requires: budgie-desktop
|
|
Requires: lightdm-slick-greeter
|
|
Requires: materia-gtk-theme
|
|
Requires: papirus-icon-theme
|
|
Recommends: MozillaFirefox
|
|
Recommends: gnome-software
|
|
Recommends: nemo
|
|
Recommends: parole
|
|
Recommends: rhythmbox
|
|
Supplements: (budgie-desktop and branding-upstream)
|
|
Conflicts: budgie-desktop-branding
|
|
Provides: budgie-desktop-branding = %{version}
|
|
BuildArch: noarch
|
|
|
|
%description upstream
|
|
This package provides the upstream look and feel for the Budgie
|
|
desktop environment.
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n budgie-desktop-branding-%{version}
|
|
|
|
%build
|
|
%meson -Dversion=%{bversion}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
# openSUSE
|
|
%if !0%{?is_backports}
|
|
%if 0%{?suse_version} < 1600
|
|
sed -e 's-default.png-5120x3200.png-g' -i %{buildroot}%{_datadir}/glib-2.0/schemas/21_budgie_gnome_settings_%{nsuffix}.gschema.override
|
|
sed -e 's-png-jpg-g' -i %{buildroot}%{_datadir}/glib-2.0/schemas/21_budgie_gnome_settings_%{nsuffix}.gschema.override
|
|
%endif
|
|
%else
|
|
# SLE
|
|
%if 0%{?sle_version} < 150300
|
|
sed -e 's-5120x2880-1920x1200-g' -i %{buildroot}%{_datadir}/glib-2.0/schemas/21_budgie_gnome_settings_%{nsuffix}.gschema.override
|
|
sed -e 's-png-jpg-g' -i %{buildroot}%{_datadir}/glib-2.0/schemas/21_budgie_gnome_settings_%{nsuffix}.gschema.override
|
|
%endif
|
|
%endif
|
|
|
|
%files %{nsuffix}
|
|
%license LICENSE LICENSE.CC-BY-SA-3.0
|
|
%doc README.md
|
|
%{_datadir}/glib-2.0/schemas/21_budgie_gnome_settings_%{nsuffix}.gschema.override
|
|
%{_datadir}/icons/hicolor/scalable/apps/budgie-%{nsuffix}-distributor-logo.svg
|
|
|
|
%if "%{bversion}"=="%{nsuffix},upstream"
|
|
%files upstream
|
|
%license subprojects/upstream/LICENSE
|
|
%doc README.md
|
|
%{_datadir}/glib-2.0/schemas/21_budgie_gnome_settings_upstream.gschema.override
|
|
%endif
|
|
|
|
%changelog
|