gnome-tweaks/gnome-tweaks.spec
2021-10-18 12:53:32 +08:00

62 lines
2.2 KiB
RPMSpec

Name: gnome-tweaks
Version: 3.34.0
Release: 1
Summary: Previously known as Tweak Tool. Graphical interface for advanced GNOME 3 settings.
License: GPLv3 and CC0
URL: https://wiki.gnome.org/Apps/Tweaks
Source0: https://download.gnome.org/sources/%{name}/3.34/%{name}-%{version}.tar.xz
Patch0: 0001-extensions-Fix-opening-system-installed-extensions-i.patch
Patch1: 0002-extensions-Fix-preferences-opening.patch
Patch3: gnome-tweaks-3.34.0-use-libhandy1_port_to_libhandy1-60.patch
BuildArch: noarch
BuildRequires: meson desktop-file-utils libappstream-glib gettext
Requires: python3 python3-gobject >= 3.10 gnome-settings-daemon sound-theme-freedesktop
Requires: glib2 >= 2.58 gtk3 >= 3.12 gnome-desktop3 >= 3.30 libhandy >= 1.0 libsoup libnotify
Requires: pango gsettings-desktop-schemas >= 3.33.0 gnome-shell >= 3.24 mutter gnome-software
Requires: nautilus gnome-shell-extension-desktop-icons
Provides: gnome-tweak-tool = %{version}-%{release}
%description
GNOME Tweaks allows customizing looks, behavior or settings of your desktop in GNOME 3.
The concrete settings inclute fonts, themes, colors, windows and so on.
Tweaks is designed for GNOME Shell but can be used in other desktops.
A few features will be missing when Tweaks is run on a different desktop.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/metainfo/*.appdata.xml
%files -f %{name}.lang
%doc AUTHORS NEWS README.md
%license LICENSES/*
%{_bindir}/gnome-tweaks
%{python3_sitelib}/gtweak/
%{_libexecdir}/gnome-tweak-tool-lid-inhibitor
%{_datadir}/applications/*.desktop
%{_datadir}/gnome-tweaks/*
%{_datadir}/icons/hicolor/*/apps/org.gnome.tweaks.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.tweaks-symbolic.svg
%{_datadir}/metainfo/*.appdata.xml
%changelog
* Tue Sep 16 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.34.0-1
- Package gnome-tweaks init with version 3.34.0
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 3.30.2-3
- Package init