This commit is contained in:
2026-03-20 14:47:47 +08:00
parent 8046f2c95b
commit ea3ef44725
2 changed files with 15 additions and 111 deletions

View File

@@ -1,4 +1,8 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: jingyupu <pujingyu@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%define kf6_version 6.18.0
%define qt6_version 6.9.0
@@ -10,10 +14,12 @@
Name: breeze
Version: 6.5.5
Release: 0
Release: %autorelease
Summary: Plasma Desktop artwork, styles and assets
License: GPL-2.0-or-later
URL: https://www.kde.org
VCS: git:https://invent.kde.org/plasma/breeze
#!RemoteAsset
Source: https://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz
BuildRequires: cmake >= 3.16
@@ -51,7 +57,7 @@ Obsoletes: breeze < %{version}
%description
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
%package -n breeze-cursors
%package -n breeze-cursors
Summary: Plasma Desktop artwork, styles and assets
Provides: breeze5-cursors = %{version}
Obsoletes: breeze5-cursors < %{version}
@@ -61,7 +67,7 @@ BuildArch: noarch
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
This package provides Breeze cursor theme.
%package -n breeze-style
%package -n breeze-style
Summary: Plasma Desktop artwork, styles and assets
Requires: kf6-kconfig
Provides: breeze5-style = %{version}
@@ -72,7 +78,7 @@ Obsoletes: breeze5-style-lang < %{version}
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
This package provides Breeze style, color-scheme and aditional assets.
%package -n breeze-wallpapers
%package -n breeze-wallpapers
Summary: Plasma Desktop artwork, styles and assets
Provides: breeze5-wallpapers = %{version}
Obsoletes: breeze5-wallpapers < %{version}
@@ -82,7 +88,7 @@ BuildArch: noarch
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
This package provides Breeze wallpaper theme.
%package -n breeze-decoration
%package -n breeze-decoration
Summary: Plasma Desktop artwork, styles and assets
Obsoletes: breeze5-decoration < %{version}
@@ -93,11 +99,11 @@ This package provides Breeze KWin decoration.
# NOTE: The CMake files were split from breeze*-style and don't require anything on purpose.
# Otherwise, BuildRequires: cmake(Breeze) would pull some Qt5 and KF5 packages.
%package devel
%package devel
Summary: Information about breeze setup
Conflicts: breeze5-style < 6.0.0
%description devel
%description devel
This package ships a CMake config file used to get information about Breeze.
%prep
@@ -175,3 +181,4 @@ mv %{buildroot}%{_kf6_applicationsdir}/kcm_breezedecoration.desktop %{buildroot}
%{_kf6_cmakedir}/Breeze/
%changelog
%{?autochangelog}

View File

@@ -1,103 +0,0 @@
Name: foot
Version: 1.25.0
Release: 0
Summary: A Wayland terminal emulator
License: MIT
URL: https://codeberg.org/dnkl/foot
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz
Requires: terminfo
BuildRequires: meson >= 0.59
BuildRequires: pkgconfig
BuildRequires: python3
BuildRequires: scdoc
BuildRequires: pkgconfig(fcft) < 4.0.0
BuildRequires: pkgconfig(fcft) >= 3.3.1
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(libutf8proc)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(tic)
BuildRequires: pkgconfig(tllist) >= 1.1.0
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-protocols) >= 1.41
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(xkbcommon) >= 1.0.0
%description
A Wayland terminal emulator.
%package extra-terminfo
Summary: Extra terminfo files for the foot terminal emulator
BuildArch: noarch
%description extra-terminfo
This package contains extra terminfo files for the foot terminal emulator
that provide more features than the files in the terminfo-base package.
Set term=foot-extra or term=foot-extra-direct in foot.ini to
take advantage of the files in this package.
%package themes
Summary: Community-contributed themes for the foot terminal emulator
Requires: foot
BuildArch: noarch
%description themes
This package contains popular themes for the foot terminal emulator providing
users an easy way to theme foot.
%prep
%autosetup -p1
%build
%meson \
--sysconfdir "%{_distconfdir}" \
-Db_lto=true \
-Ddocs=enabled \
-Dgrapheme-clustering=enabled \
-Dime=true \
-Dterminfo=enabled \
-Dterminfo-base-name=foot-extra \
-Dthemes=true \
-Dutmp-backend=none
%meson_build
%install
%meson_install
rm -r %{buildroot}/%{_datadir}/doc/%{name}/
%check
%meson_test
%files
%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/foot
%{_bindir}/footclient
%{_datadir}/applications/foot.desktop
%{_datadir}/applications/footclient.desktop
%{_datadir}/applications/foot-server.desktop
%{_datadir}/bash-completion/
%{_datadir}/fish/
%{_datadir}/zsh/
%{_datadir}/icons/hicolor/
%dir %{_distconfdir}/xdg/%{name}
%{_distconfdir}/xdg/%{name}/foot.ini
%{_mandir}/man1/foot.1.gz
%{_mandir}/man1/footclient.1.gz
%{_mandir}/man5/foot.ini.5.gz
%{_mandir}/man7/foot-ctlseqs.7.gz
%{_userunitdir}/foot-server.service
%{_userunitdir}/foot-server.socket
%files extra-terminfo
%{_datadir}/terminfo/f/foot-extra
%{_datadir}/terminfo/f/foot-extra-direct
%files themes
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/themes
%changelog