|
|
629b422 |
%global _license COPYING COPYING.LGPL-2.1 COPYING.LGPL-3.0 LICENSE_CCBYSA
|
|
|
8bf7133 |
|
|
|
d7d327f |
Name: yaru-theme
|
|
|
a15884b |
Version: 20.10.4
|
|
|
d7d327f |
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 |
|
|
|
d7d327f |
Requires: gnome-shell-theme-yaru
|
|
|
d7d327f |
Requires: yaru-gtk2-theme
|
|
|
d7d327f |
Requires: yaru-gtk3-theme
|
|
|
d7d327f |
Requires: yaru-icon-theme
|
|
|
d7d327f |
Requires: yaru-sound-theme
|
|
|
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
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%description -n yaru-gtk3-theme %{_description}
|
|
|
8bf7133 |
|
|
|
8bf7133 |
This package contains GTK+ 3 theme.
|
|
|
8bf7133 |
|
|
|
629b422 |
|
|
|
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 |
|
|
|
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 \
|
|
|
d7d327f |
%{buildroot}%{_datadir}/xsessions/Yaru.desktop \
|
|
|
d7d327f |
%{buildroot}%{_datadir}/wayland-sessions/Yaru-wayland.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
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%files -n gnome-shell-theme-yaru
|
|
|
8bf7133 |
%license %{_license}
|
|
|
8bf7133 |
%{_datadir}/gnome-shell/modes/yaru.json
|
|
|
3e22113 |
%{_datadir}/gnome-shell/theme/Yaru-dark/
|
|
|
0e693ca |
%{_datadir}/gnome-shell/theme/Yaru/
|
|
|
491bb1f |
%{_datadir}/themes/Yaru-dark/gnome-shell
|
|
|
aba9866 |
%{_datadir}/themes/Yaru-dark/index.theme
|
|
|
aba9866 |
%{_datadir}/themes/Yaru-light/index.theme
|
|
|
491bb1f |
%{_datadir}/themes/Yaru/gnome-shell
|
|
|
aba9866 |
%{_datadir}/themes/Yaru/index.theme
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru-dark
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru-light
|
|
|
aba9866 |
%ghost %{_datadir}/themes/Yaru-dark/gnome-shell.rpmmoved/
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%files -n yaru-gtk2-theme
|
|
|
8bf7133 |
%license %{_license}
|
|
|
0e693ca |
%{_datadir}/themes/Yaru-dark/gtk-2.0/
|
|
|
0e693ca |
%{_datadir}/themes/Yaru-light/gtk-2.0/
|
|
|
0e693ca |
%{_datadir}/themes/Yaru/gtk-2.0/
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru-dark
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru-light
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%files -n yaru-gtk3-theme
|
|
|
8bf7133 |
%license %{_license}
|
|
|
aba9866 |
%{_datadir}/themes/Yaru-dark/gtk-3.*/
|
|
|
aba9866 |
%{_datadir}/themes/Yaru-light/gtk-3.*/
|
|
|
aba9866 |
%{_datadir}/themes/Yaru/gtk-3.*/
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru-dark
|
|
|
aba9866 |
%dir %{_datadir}/themes/Yaru-light
|
|
|
8bf7133 |
|
|
|
8bf7133 |
%files -n yaru-icon-theme
|
|
|
8bf7133 |
%license %{_license}
|
|
|
0e693ca |
%{_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 |
|
|
|
b3ca344 |
|
|
|
8bf7133 |
%changelog
|
|
|
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
|