Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37537089
en ru br
Репозитории ALT

Группа :: Графические оболочки/GNOME
Пакет: gnome-tweaks

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable snapshot
%define _libexecdir %_prefix/libexec
%define ver_major 45
%define beta %nil
%define old_name gnome-tweak-tool
%define xdg_name org.gnome.tweaks
%define pypi_name gtweak

Name: gnome-tweaks
Version: %ver_major.0
Release: alt1%beta

Summary: A tool to customize advanced GNOME 3 options
Group: Graphical desktop/GNOME
License: GPLv3
Url: https://wiki.gnome.org/Apps/Tweaks

%if_enabled snapshot
Source: %name-%version.tar
%else
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version%beta.tar.xz
%endif
Patch: %name-3.27.4-alt-desktop.patch

BuildArch: noarch

%define gsds_ver 45
%define handy_ver 1.5.0

Requires: gnome-settings-daemon >= %ver_major
Requires: gsettings-desktop-schemas-devel >= %gsds_ver
Requires: sound-theme-freedesktop
Requires: typelib(Gtk) = 3.0 typelib(Handy) = 1

Provides: %old_name = %version-%release
Obsoletes: %old_name < 3.27.4

BuildRequires(pre): rpm-macros-meson rpm-build-gir rpm-build-python3
BuildRequires: meson
BuildRequires: gsettings-desktop-schemas-devel >= %gsds_ver
BuildRequires: python3-module-pygobject3-devel >= 3.10.0
BuildRequires: pkgconfig(libhandy-1) >= %handy_ver typelib(Handy) = 1

%description
GNOME Tweaks is an application for changing the advanced settings
of GNOME 3.

Features:
* Install and switch gnome-shell themes
* Switch GTK+ themes
* Switch icon themes
* Change
 - The user-interface and title bar fonts
 - Icons in menus and buttons
 - Behavior on laptop lid close
 - Shell font size
 - File manager desktop icons
 - Title bar click action
 - Shell clock to show date
 - Font hinting
 - Font anti-aliasing

%prep
%setup -n %name-%version%beta
%patch -b .desktop

%build
%meson
%meson_build

%install
%meson_install
%find_lang %name

%files -f %name.lang
%_bindir/%name
%python3_sitelibdir_noarch/%pypi_name/
%_desktopdir/%xdg_name.desktop
%_datadir/%name/
%_datadir/glib-2.0/schemas/%xdg_name.gschema.xml
%_iconsdir/hicolor/*/*/*.svg
%_datadir/metainfo/%xdg_name.appdata.xml
%doc AUTHORS NEWS README*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin