|
|
629b422 |
%global _license COPYING COPYING.LGPL-2.1 COPYING.LGPL-3.0 LICENSE_CCBYSA
|
|
|
8bf7133 |
|
|
|
d7d327f |
Name: yaru-theme
|
|
|
c0299cd |
Version: 22.04.4
|
|
|
6268c32 |
Release: 1%{?dist}
|
|
|
d7d327f |
Summary: Ubuntu community theme "yaru"
|
|
|
d7d327f |
BuildArch: noarch
|
|
|
d7d327f |
|
|
|
d7d327f |
License: GPLv3+ and CC-BY-SA
|
|
|
d7d327f |
URL: https://community.ubuntu.com/c/desktop/theme-refresh
|
|
|
d7d327f |
Source0: https://github.com/ubuntu/yaru/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
d7d327f |
|
|
|
d7d327f |
BuildRequires: meson >= 0.51
|
|
|
d7d327f |
BuildRequires: sassc
|
|
|
d7d327f |
BuildRequires: pkgconfig(appstream-glib)
|
|
|
d7d327f |
|
|
|
7e05ed0 |
Requires: gnome-shell-theme-yaru = %{version}-%{release}
|
|
|
7e05ed0 |
Requires: yaru-gtk2-theme = %{version}-%{release}
|
|
|
7e05ed0 |
Requires: yaru-gtk3-theme = %{version}-%{release}
|
|
|
7e05ed0 |
Requires: yaru-gtk4-theme = %{version}-%{release}
|
|
|
7e05ed0 |
Requires: yaru-gtksourceview-theme = %{version}-%{release}
|
|
|
7e05ed0 |
Requires: yaru-icon-theme = %{version}-%{release}
|
|
|
7e05ed0 |
Requires: yaru-sound-theme = %{version}-%{release}
|
|
|
491bb1f |
|
|
|
278663c |
%global _description %{expand:
|
|
|
278663c |
Yaru theme is the default theme for Ubuntu, entirely backed by the community.
|
|
|
278663c |
This is the theme that is shaped by the community on the Ubuntu hub, turned into
|
|
|
278663c |
the default theme starting from Ubuntu 18.10 Cosmic Cuttlefish.}
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%description %{_description}
|
|
|
8bf7133 |
|
|
|
629b422 |
|
|
|
8bf7133 |
%package -n gnome-shell-theme-yaru
|
|
|
8bf7133 |
Summary: Yaru GNOME Shell Theme
|
|
|
e9f813a |
|
|
|
8bf7133 |
Recommends: yaru-gtk3-theme
|
|
|
8bf7133 |
Recommends: yaru-icon-theme
|
|
|
e9f813a |
|
|
|
8bf7133 |
Suggests: yaru-sound-theme
|
|
|
8bf7133 |
Suggests: yaru-theme
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%description -n gnome-shell-theme-yaru %{_description}
|
|
|
8bf7133 |
|
|
|
8bf7133 |
This package contains GNOME Shell Theme.
|
|
|
8bf7133 |
|
|
|
629b422 |
|
|
|
8bf7133 |
%package -n yaru-gtk2-theme
|
|
|
8bf7133 |
Summary: GTK+ 2 support for the Yaru GTK Theme
|
|
|
e9f813a |
|
|
|
8bf7133 |
Requires: adwaita-gtk2-theme
|
|
|
8bf7133 |
Requires: gtk-murrine-engine
|
|
|
e9f813a |
|
|
|
8bf7133 |
Recommends: yaru-gtk3-theme
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%description -n yaru-gtk2-theme %{_description}
|
|
|
8bf7133 |
|
|
|
8bf7133 |
This package contains GTK+ 2 theme.
|
|
|
8bf7133 |
|
|
|
629b422 |
|
|
|
8bf7133 |
%package -n yaru-gtk3-theme
|
|
|
8bf7133 |
Summary: GTK+ 3 support for the Yaru GTK Theme
|
|
|
e9f813a |
|
|
|
8bf7133 |
Requires: gtk3
|
|
|
e9f813a |
|
|
|
8bf7133 |
Recommends: yaru-gtk2-theme
|
|
|
d97204d |
Recommends: yaru-gtk4-theme
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%description -n yaru-gtk3-theme %{_description}
|
|
|
8bf7133 |
|
|
|
8bf7133 |
This package contains GTK+ 3 theme.
|
|
|
8bf7133 |
|
|
|
629b422 |
|
|
|
d97204d |
%package -n yaru-gtk4-theme
|
|
|
d97204d |
Summary: GTK+ 3 support for the Yaru GTK Theme
|
|
|
d97204d |
|
|
|
d97204d |
Requires: gtk4
|
|
|
d97204d |
|
|
|
d97204d |
Recommends: yaru-gtk2-theme
|
|
|
d97204d |
Recommends: yaru-gtk3-theme
|
|
|
d97204d |
|
|
|
d97204d |
%description -n yaru-gtk4-theme %{_description}
|
|
|
d97204d |
|
|
|
d97204d |
This package contains GTK 4 theme.
|
|
|
d97204d |
|
|
|
d97204d |
|
|
|
8bf7133 |
%package -n yaru-icon-theme
|
|
|
8bf7133 |
Summary: Yaru icon theme
|
|
|
8bf7133 |
License: CC-BY-SA
|
|
|
e9f813a |
|
|
|
8bf7133 |
Requires: hicolor-icon-theme
|
|
|
8bf7133 |
Requires: humanity-icon-theme
|
|
|
e9f813a |
|
|
|
8bf7133 |
Suggests: gnome-shell-theme-yaru
|
|
|
8bf7133 |
Suggests: yaru-gtk3-theme
|
|
|
8bf7133 |
Suggests: yaru-sound-theme
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%description -n yaru-icon-theme %{_description}
|
|
|
8bf7133 |
|
|
|
8bf7133 |
This package contains the icon theme.
|
|
|
8bf7133 |
|
|
|
629b422 |
|
|
|
8bf7133 |
%package -n yaru-sound-theme
|
|
|
8bf7133 |
Summary: Yaru sound theme
|
|
|
8bf7133 |
License: CC-BY-SA
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%description -n yaru-sound-theme %{_description}
|
|
|
8bf7133 |
|
|
|
8bf7133 |
This package contains the sound theme following the XDG theming specification.
|
|
|
8bf7133 |
|
|
|
629b422 |
|
|
|
7e05ed0 |
%package -n yaru-gtksourceview-theme
|
|
|
d97204d |
Summary: Yaru GtkSourceView theme
|
|
|
d97204d |
License: CC-BY-SA
|
|
|
d97204d |
|
|
|
7e05ed0 |
%description -n yaru-gtksourceview-theme %{_description}
|
|
|
d97204d |
|
|
|
d97204d |
This package contains the GtkSourceView theme.
|
|
|
d97204d |
|
|
|
d97204d |
|
|
|
8bf7133 |
%prep
|
|
|
278663c |
%autosetup -n yaru-%{version} -p1
|
|
|
8bf7133 |
|
|
|
b3ca344 |
|
|
|
8bf7133 |
%build
|
|
|
8bf7133 |
%meson
|
|
|
8bf7133 |
%meson_build
|
|
|
8bf7133 |
|
|
|
b3ca344 |
|
|
|
8bf7133 |
%install
|
|
|
8bf7133 |
%meson_install
|
|
|
8bf7133 |
|
|
|
d7d327f |
rm %{buildroot}%{_datadir}/glib-2.0/schemas/99_Yaru.gschema.override \
|
|
|
430e400 |
%{buildroot}%{_datadir}/xsessions/Yaru-xorg.desktop \
|
|
|
430e400 |
%{buildroot}%{_datadir}/wayland-sessions/Yaru.desktop \
|
|
|
8bf7133 |
%{buildroot}%{_datadir}/gnome-shell/extensions/ubuntu-dock@ubuntu.com/yaru.css
|
|
|
8bf7133 |
|
|
|
8bf7133 |
touch %{buildroot}%{_datadir}/icons/Yaru/icon-theme.cache
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%transfiletriggerin -- %{_datadir}/icons/Yaru
|
|
|
8bf7133 |
gtk-update-icon-cache --force %{_datadir}/icons/Yaru &>/dev/null || :
|
|
|
8bf7133 |
|
|
|
b3ca344 |
|
|
|
aba9866 |
# Workaround for replace directory with symlink which was added in Yaru
|
|
|
aba9866 |
# * https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/#_scriptlet_to_replace_a_directory
|
|
|
aba9866 |
%pretrans -p <lua> -n gnome-shell-theme-yaru
|
|
|
aba9866 |
path = "%{_datadir}/themes/Yaru-dark/gnome-shell"
|
|
|
aba9866 |
st = posix.stat(path)
|
|
|
aba9866 |
if st and st.type == "directory" then
|
|
|
aba9866 |
status = os.rename(path, path .. ".rpmmoved")
|
|
|
aba9866 |
if not status then
|
|
|
aba9866 |
suffix = 0
|
|
|
aba9866 |
while not status do
|
|
|
aba9866 |
suffix = suffix + 1
|
|
|
aba9866 |
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
|
|
|
aba9866 |
end
|
|
|
aba9866 |
os.rename(path, path .. ".rpmmoved")
|
|
|
aba9866 |
end
|
|
|
aba9866 |
end
|
|
|
aba9866 |
|
|
|
aba9866 |
|
|
|
8bf7133 |
%files
|
|
|
8bf7133 |
%license %{_license}
|
|
|
8bf7133 |
%doc AUTHORS CONTRIBUTING.md README.md
|
|
|
d97204d |
%{_datadir}/themes/Yaru*/metacity-1/
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%files -n gnome-shell-theme-yaru
|
|
|
8bf7133 |
%license %{_license}
|
|
|
8bf7133 |
%{_datadir}/gnome-shell/modes/yaru.json
|
|
|
c0299cd |
%{_datadir}/gnome-shell/theme/Yaru*/
|
|
|
d97204d |
%{_datadir}/themes/Yaru-*/index.theme
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-bark-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-bark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-blue-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-blue/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-magenta-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-magenta/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-olive-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-olive/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-prussiangreen-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-prussiangreen/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-purple-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-purple/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-red-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-red/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-sage-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-sage/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-viridian-dark/gnome-shell
|
|
|
c0299cd |
%{_datadir}/themes/Yaru-viridian/gnome-shell
|
|
|
491bb1f |
%{_datadir}/themes/Yaru/gnome-shell
|
|
|
aba9866 |
%{_datadir}/themes/Yaru/index.theme
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-bark-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-bark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-blue-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-blue
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-magenta-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-magenta
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-olive-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-olive
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-prussiangreen-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-prussiangreen
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-purple-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-purple
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-red-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-red
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-sage-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-sage
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-viridian-dark
|
|
|
c0299cd |
%dir %{_datadir}/themes/Yaru-viridian
|
|
|
aba9866 |
%ghost %{_datadir}/themes/Yaru-dark/gnome-shell.rpmmoved/
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%files -n yaru-gtk2-theme
|
|
|
8bf7133 |
%license %{_license}
|
|
|
d97204d |
%{_datadir}/themes/Yaru-*/gtk-2.0/
|
|
|
0e693ca |
%{_datadir}/themes/Yaru/gtk-2.0/
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru-dark
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%files -n yaru-gtk3-theme
|
|
|
8bf7133 |
%license %{_license}
|
|
|
d97204d |
%{_datadir}/themes/Yaru-*/gtk-3.*/
|
|
|
aba9866 |
%{_datadir}/themes/Yaru/gtk-3.*/
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru-dark
|
|
|
8bf7133 |
|
|
|
d97204d |
%files -n yaru-gtk4-theme
|
|
|
d97204d |
%license %{_license}
|
|
|
d97204d |
%{_datadir}/themes/Yaru-*/gtk-4.*/
|
|
|
d97204d |
%{_datadir}/themes/Yaru/gtk-4.*/
|
|
|
d97204d |
%dir %{_datadir}/themes/Yaru
|
|
|
d97204d |
%dir %{_datadir}/themes/Yaru-dark
|
|
|
d97204d |
|
|
|
8bf7133 |
%files -n yaru-icon-theme
|
|
|
8bf7133 |
%license %{_license}
|
|
|
c0299cd |
%{_datadir}/icons/Yaru*/
|
|
|
8bf7133 |
%ghost %{_datadir}/icons/Yaru/icon-theme.cache
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%files -n yaru-sound-theme
|
|
|
8bf7133 |
%license %{_license}
|
|
|
0e693ca |
%{_datadir}/sounds/Yaru/
|
|
|
8bf7133 |
|
|
|
7e05ed0 |
%files -n yaru-gtksourceview-theme
|
|
|
d97204d |
%license %{_license}
|
|
|
430e400 |
%{_datadir}/gtksourceview-*/styles/Yaru*.xml
|
|
|
d97204d |
|
|
|
b3ca344 |
|
|
|
8bf7133 |
%changelog
|
|
|
c0299cd |
* Mon Apr 25 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 22.04.4-1
|
|
|
c0299cd |
- chore(update): 22.04.4
|
|
|
c0299cd |
|
|
|
6268c32 |
* Fri Feb 25 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 22.04.1-1
|
|
|
6268c32 |
- chore(update): 22.04.1
|
|
|
6268c32 |
|
|
|
7bde969 |
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 21.10.2-2
|
|
|
7bde969 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
7bde969 |
|
|
|
430e400 |
* Mon Sep 27 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 21.10.2-1
|
|
|
430e400 |
- build(update): 21.10.2
|
|
|
430e400 |
|
|
|
2fd497b |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 21.04.1-3
|
|
|
2fd497b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
2fd497b |
|
|
|
7e05ed0 |
* Thu Apr 08 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 21.04.1-2
|
|
|
7e05ed0 |
- build: Fixes
|
|
|
7e05ed0 |
|
|
|
d97204d |
* Tue Apr 06 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 21.04.1-1
|
|
|
d97204d |
- build(update): 21.04.1
|
|
|
d97204d |
|
|
|
5df8fe0 |
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.10.6.1-2
|
|
|
5df8fe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
5df8fe0 |
|
|
|
bb81ed7 |
* Sun Oct 11 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.10.6.1-1
|
|
|
bb81ed7 |
- build(update): 20.10.6.1
|
|
|
bb81ed7 |
|
|
|
717d26b |
* Tue Oct 6 19:52:37 EEST 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.10.6-1
|
|
|
717d26b |
- build(update): 20.10.6
|
|
|
717d26b |
|
|
|
a15884b |
* Thu Sep 24 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.10.4-1
|
|
|
a15884b |
- Update to 20.10.4
|
|
|
a15884b |
|
|
|
d7d327f |
* Fri Sep 11 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.10.3-1
|
|
|
d7d327f |
- Update to 20.10.3
|
|
|
d7d327f |
- Don't build yaru-unity-theme
|
|
|
d7d327f |
|
|
|
0ddadf1 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20.04.6-4
|
|
|
0ddadf1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0ddadf1 |
|
|
|
aba9866 |
* Tue Apr 21 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.04.6-3
|
|
|
aba9866 |
- Workaround for replace directory with symlink which was added in Yaru | Thanks for tip @zawertun
|
|
|
aba9866 |
|
|
|
491bb1f |
* Sat Apr 18 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.04.6-2
|
|
|
491bb1f |
- Add new 'yaru-unity-theme' subpackage
|
|
|
491bb1f |
|
|
|
8bd3c34 |
* Fri Apr 17 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.04.6-1
|
|
|
8bd3c34 |
- Update to 20.04.6
|
|
|
8bd3c34 |
|
|
|
3e22113 |
* Thu Apr 16 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.04.5-1
|
|
|
3e22113 |
- Update to 20.04.5
|
|
|
3e22113 |
|
|
|
e9f813a |
* Tue Mar 24 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.04.4-1
|
|
|
e9f813a |
- Update to 20.04.4
|
|
|
e9f813a |
|
|
|
0fd84c1 |
* Fri Feb 07 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.04.1-1
|
|
|
0fd84c1 |
- Update to 20.04.1
|
|
|
0fd84c1 |
|
|
|
691b1c2 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.10.5-2
|
|
|
691b1c2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
691b1c2 |
|
|
|
278663c |
* Wed Jan 08 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 19.10.5-1
|
|
|
278663c |
- Update to 19.10.5
|
|
|
278663c |
|
|
|
0e693ca |
* Thu Nov 21 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 19.10.4-1.20191118git1937b28
|
|
|
0e693ca |
- Update to latest git snapshot which contain broken gnome-shell theme fix
|
|
|
0e693ca |
|
|
|
b3ca344 |
* Fri Sep 27 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 19.10.3-1
|
|
|
b3ca344 |
- Update to 19.10.3
|
|
|
b3ca344 |
- Add new light variant
|
|
|
b3ca344 |
- Drop fdupes
|
|
|
b3ca344 |
|
|
|
629b422 |
* Tue Sep 10 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 19.10.1-2
|
|
|
629b422 |
- Update to 19.10.1
|
|
|
629b422 |
|
|
|
5e1ee49 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19.04.1-3.20190425git0ddb244
|
|
|
5e1ee49 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
5e1ee49 |
|
|
|
8bf7133 |
* Fri Apr 26 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 19.04.1-2.20190425git0ddb244
|
|
|
8bf7133 |
- Adapt for Fedora
|
|
|
8bf7133 |
|
|
|
8bf7133 |
* Fri Jan 18 10:30:30 UTC 2019 - dead_mozay@opensuse.org
|
|
|
8bf7133 |
- Update to version 19.04+20190117.f36189f4
|
|
|
8bf7133 |
|
|
|
8bf7133 |
* Wed Jan 02 11:51:35 UTC 2019 - dead_mozay@opensuse.org
|
|
|
8bf7133 |
- Update to version 18.10.7+20190101.1db0abb5
|