Compare commits

..

20 commits

Author SHA1 Message Date
Fedora Release Engineering
37dacb0af5 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:33:12 +00:00
Miroslav Suchý
2485e09c07 migrate to SPDX license
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2026-03-16 08:28:33 +01:00
Artem Polishchuk
21927e9030
Remove GTK 2 theme
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2026-01-18 21:43:48 +03:00
Fedora Release Engineering
a91a460c0e Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 21:00:46 +00:00
Artem Polishchuk
1c4ab96b21
chore: Update to 25.10.3
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2025-10-22 20:50:43 +03:00
Fedora Release Engineering
3bebf7cf75 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:10:55 +00:00
Artem Polishchuk
e99ec304b0
chore: Update to 25.04.2
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2025-04-27 09:59:49 +03:00
Artem Polishchuk
2031117ae8
chore: Update to 24.10.4
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2025-02-28 12:37:41 +02:00
Fedora Release Engineering
ca90c5ae99 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:31:03 +00:00
Fedora Release Engineering
8f8915828f Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:39:27 +00:00
Artem Polishchuk
692e102a1b chore: Update to 24.04.2 (rh#2276089) 2024-04-19 20:41:25 +03:00
Artem Polishchuk
811180db2d chore: Update to 24.04.1 (rh#2275907) 2024-04-18 14:29:51 +03:00
Artem Polishchuk
df5f622d8d license: Convert to SPDX 2024-04-12 09:20:56 +03:00
Artem Polishchuk
0b35805435 chore: Update to 24.04.0 (rh#2271153) 2024-04-12 09:16:39 +03:00
Fedora Release Engineering
2ee20b62c7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 10:41:37 +00:00
Artem Polishchuk
84046be116 build: Use 0ubuntu2 tarball
fix: rh#2248569
2023-11-09 19:16:21 +03:00
Artem Polishchuk
b70023e1ff build: Add Packit config 2023-10-18 19:04:04 +03:00
Artem Polishchuk
f3d9677c00 build: Use forge macros 2023-10-18 19:00:14 +03:00
Artem Polishchuk
6ef9c728a4 chore: Update to 23.10.0 (rh#2235553) 2023-08-29 17:39:13 +03:00
Fedora Release Engineering
f7f671856c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:28:34 +00:00
4 changed files with 49 additions and 90 deletions

9
.gitignore vendored
View file

@ -23,3 +23,12 @@
/yaru-theme-23.04.1.tar.gz
/yaru-theme-23.04.2.tar.gz
/yaru-theme-23.04.4.tar.gz
/yaru-theme-23.10.0.tar.gz
/yaru-23.10.0.tar.gz
/yaru-23.10.0-0ubuntu2.tar.gz
/yaru-24.04.0.tar.gz
/yaru-24.04.1-0ubuntu1.tar.gz
/yaru-24.04.2-0ubuntu1.tar.gz
/yaru-24.10.4-0ubuntu1.tar.gz
/yaru-25.04.2-0ubuntu1.tar.gz
/yaru-25.10.3-0ubuntu1.tar.gz

21
.packit.yaml Normal file
View file

@ -0,0 +1,21 @@
copy_upstream_release_description: false
upstream_package_name: yaru
upstream_project_url: https://github.com/ubuntu/yaru
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-development
- job: koji_build
trigger: commit
allowed_pr_authors: ["atim"]
allowed_committers: ["atim"]
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-branched

View file

@ -1 +1 @@
SHA512 (yaru-theme-23.04.4.tar.gz) = 4fc83a9ddd6dfb41d94425b779fed9e448e437c444d52eb46642d8c2cdf46366e63c312150a9167850a02f9ceff062eb6f5fb6e22c75d792730bb3ca92523f31
SHA512 (yaru-25.10.3-0ubuntu1.tar.gz) = 2ff3874ab1efa48554146d0fbacf7bd89a29c5cb79bfbd95522e54c024d431b4c5d7eb308ba4995519639a096380208b59ea8e2cf9b3a7cb615198355fcf4743

View file

@ -1,21 +1,23 @@
%global forgeurl https://github.com/ubuntu/yaru
%global tag %{version}-0ubuntu1
%global _license COPYING COPYING.LGPL-2.1 COPYING.LGPL-3.0 LICENSE_CCBYSA
Name: yaru-theme
Version: 23.04.4
Version: 25.10.3
%forgemeta
Release: %autorelease
Summary: Ubuntu community theme "yaru"
Summary: All Ubuntu Yaru GNOME themes
BuildArch: noarch
License: GPLv3+ and CC-BY-SA
License: GPL-3.0-or-later AND CC-BY-SA-4.0
URL: https://community.ubuntu.com/c/desktop/theme-refresh
Source0: https://github.com/ubuntu/yaru/archive/%{version}/%{name}-%{version}.tar.gz
Source0: %{forgesource}
BuildRequires: meson >= 0.59
BuildRequires: meson
BuildRequires: sassc
BuildRequires: pkgconfig(appstream-glib)
Requires: gnome-shell-theme-yaru = %{version}-%{release}
Requires: yaru-gtk2-theme = %{version}-%{release}
Requires: yaru-gtk3-theme = %{version}-%{release}
Requires: yaru-gtk4-theme = %{version}-%{release}
Requires: yaru-gtksourceview-theme = %{version}-%{release}
@ -53,19 +55,6 @@ Suggests: yaru-theme
This package contains GNOME Shell Theme.
%package -n yaru-gtk2-theme
Summary: GTK+ 2 support for the Yaru GTK Theme
Requires: adwaita-gtk2-theme
Requires: gtk-murrine-engine
Recommends: yaru-gtk3-theme
%description -n yaru-gtk2-theme %{_description}
This package contains GTK+ 2 theme.
%package -n yaru-gtk3-theme
Summary: GTK+ 3 support for the Yaru GTK Theme
@ -94,7 +83,7 @@ This package contains GTK 4 theme.
%package -n yaru-icon-theme
Summary: Yaru icon theme
License: CC-BY-SA
License: CC-BY-SA-4.0
Requires: hicolor-icon-theme
@ -109,7 +98,7 @@ This package contains the icon theme.
%package -n yaru-sound-theme
Summary: Yaru sound theme
License: CC-BY-SA
License: CC-BY-SA-4.0
%description -n yaru-sound-theme %{_description}
@ -118,7 +107,7 @@ This package contains the sound theme following the XDG theming specification.
%package -n yaru-gtksourceview-theme
Summary: Yaru GtkSourceView theme
License: CC-BY-SA
License: CC-BY-SA-4.0
%description -n yaru-gtksourceview-theme %{_description}
@ -126,7 +115,7 @@ This package contains the GtkSourceView theme.
%prep
%autosetup -n yaru-%{version}
%forgeautosetup -p1
%build
@ -136,6 +125,10 @@ This package contains the GtkSourceView theme.
%install
%meson_install
# Remove GTK 2 theme
# https://github.com/ubuntu/yaru/issues/4356
rm -rf %{buildroot}%{_datadir}/themes/Yaru-*/gtk-2.0/
rm -rf %{buildroot}%{_datadir}/themes/Yaru/gtk-2.0/
rm %{buildroot}%{_datadir}/glib-2.0/schemas/99_Yaru.gschema.override \
%{buildroot}%{_datadir}/xsessions/Yaru-xorg.desktop \
@ -148,24 +141,6 @@ touch %{buildroot}%{_datadir}/icons/Yaru/icon-theme.cache
gtk-update-icon-cache --force %{_datadir}/icons/Yaru &>/dev/null || :
# Workaround for replace directory with symlink which was added in Yaru
# * https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/#_scriptlet_to_replace_a_directory
%pretrans -p <lua> -n gnome-shell-theme-yaru
path = "%{_datadir}/themes/Yaru-dark/gnome-shell"
st = posix.stat(path)
if st and st.type == "directory" then
status = os.rename(path, path .. ".rpmmoved")
if not status then
suffix = 0
while not status do
suffix = suffix + 1
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
end
os.rename(path, path .. ".rpmmoved")
end
end
%files
%license %{_license}
%doc AUTHORS CONTRIBUTING.md README.md
@ -176,55 +151,8 @@ end
%{_datadir}/gnome-shell/modes/yaru.json
%{_datadir}/gnome-shell/theme/Yaru*/
%{_datadir}/themes/Yaru-*/index.theme
%{_datadir}/themes/Yaru-bark-dark/gnome-shell
%{_datadir}/themes/Yaru-bark/gnome-shell
%{_datadir}/themes/Yaru-blue-dark/gnome-shell
%{_datadir}/themes/Yaru-blue/gnome-shell
%{_datadir}/themes/Yaru-dark/gnome-shell
%{_datadir}/themes/Yaru-magenta-dark/gnome-shell
%{_datadir}/themes/Yaru-magenta/gnome-shell
%{_datadir}/themes/Yaru-olive-dark/gnome-shell
%{_datadir}/themes/Yaru-olive/gnome-shell
%{_datadir}/themes/Yaru-prussiangreen-dark/gnome-shell
%{_datadir}/themes/Yaru-prussiangreen/gnome-shell
%{_datadir}/themes/Yaru-purple-dark/gnome-shell
%{_datadir}/themes/Yaru-purple/gnome-shell
%{_datadir}/themes/Yaru-red-dark/gnome-shell
%{_datadir}/themes/Yaru-red/gnome-shell
%{_datadir}/themes/Yaru-sage-dark/gnome-shell
%{_datadir}/themes/Yaru-sage/gnome-shell
%{_datadir}/themes/Yaru-viridian-dark/gnome-shell
%{_datadir}/themes/Yaru-viridian/gnome-shell
%{_datadir}/themes/Yaru/gnome-shell
%{_datadir}/themes/Yaru*/gnome-shell
%{_datadir}/themes/Yaru/index.theme
%dir %{_datadir}/themes/Yaru
%dir %{_datadir}/themes/Yaru-bark-dark
%dir %{_datadir}/themes/Yaru-bark
%dir %{_datadir}/themes/Yaru-blue-dark
%dir %{_datadir}/themes/Yaru-blue
%dir %{_datadir}/themes/Yaru-dark
%dir %{_datadir}/themes/Yaru-magenta-dark
%dir %{_datadir}/themes/Yaru-magenta
%dir %{_datadir}/themes/Yaru-olive-dark
%dir %{_datadir}/themes/Yaru-olive
%dir %{_datadir}/themes/Yaru-prussiangreen-dark
%dir %{_datadir}/themes/Yaru-prussiangreen
%dir %{_datadir}/themes/Yaru-purple-dark
%dir %{_datadir}/themes/Yaru-purple
%dir %{_datadir}/themes/Yaru-red-dark
%dir %{_datadir}/themes/Yaru-red
%dir %{_datadir}/themes/Yaru-sage-dark
%dir %{_datadir}/themes/Yaru-sage
%dir %{_datadir}/themes/Yaru-viridian-dark
%dir %{_datadir}/themes/Yaru-viridian
%ghost %{_datadir}/themes/Yaru-dark/gnome-shell.rpmmoved/
%files -n yaru-gtk2-theme
%license %{_license}
%{_datadir}/themes/Yaru-*/gtk-2.0/
%{_datadir}/themes/Yaru/gtk-2.0/
%dir %{_datadir}/themes/Yaru
%dir %{_datadir}/themes/Yaru-dark
%files -n yaru-gtk3-theme
%license %{_license}
@ -252,6 +180,7 @@ end
%files -n yaru-gtksourceview-theme
%license %{_license}
%{_datadir}/gtksourceview-*/styles/Yaru*.xml
%{_datadir}/libgedit-gtksourceview-300/styles/Yaru*.xml
%changelog