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

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

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

%def_disable snapshot

%define _unpackaged_files_terminate_build 1
%define ver_major 45
%define beta %nil
%define xdg_name ca.desrt.dconf-editor

Name: dconf-editor
Version: %ver_major.0.1
Release: alt1%beta

Summary: dconf confuguration editor
Group: Graphical desktop/GNOME
License: GPL-3.0
Url: https://wiki.gnome.org/Projects/dconf

%if_disabled snapshot
Source: %gnome_ftp/%name/%ver_major/%name-%version%beta.tar.xz
%else
Source: %name-%version.tar
%endif
#https://l10n.gnome.org/media/upload/dconf-editor-master-po-ru-812899_sj2ZdlN.merged.po
Source1: %name-3.38.3.ru.po.finziyr

%define glib_ver 2.56
%define dconf_ver 0.26.1
%define gtk_ver 3.22.27
%define handy_ver 1.6
%define vala_ver 0.40


Requires: dconf >= %dconf_ver

BuildRequires(pre): rpm-macros-meson gnome-common
BuildRequires: meson vala-tools >= %vala_ver
BuildRequires: libgio-devel >= %glib_ver
BuildRequires: libdconf-devel >= %dconf_ver
BuildRequires: libgtk+3-devel >= %gtk_ver
BuildRequires: pkgconfig(libhandy-1) >= %handy_ver
BuildRequires: libxml2-devel rpm-build-gnome
BuildRequires: libappstream-glib-devel yelp-tools
BuildRequires: libdconf-vala

%description
dconf is a low-level configuration system. Its main purpose is to
provide a backend to GSettings API in Glib for storing and retrieving
application settings.

This package provides graphical dconf configuration editor.


%prep
%setup -n %name-%version%beta
cp %SOURCE1 po/ru.po

%build
%meson
%meson_build

%install
%meson_install

%find_lang --with-gnome --output=%name.lang %name dconf

%files -f %name.lang
%_bindir/%name
%_datadir/applications/%xdg_name.desktop
%_datadir/dbus-1/services/%xdg_name.service
%_iconsdir/hicolor/*/*/*.*
%_man1dir/%name.1.*
%_datadir/glib-2.0/schemas/%xdg_name.gschema.xml
%_datadir/metainfo/%xdg_name.appdata.xml
# "nosort" bad option?
%_datadir/bash-completion/completions/%name
%doc README*

%changelog

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

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