Репозиторий Sisyphus
Последнее обновление: 28 марта 2020 | Пакетов: 17545 | Посещений: 17776827
en ru br
Репозитории ALT
5.1: 4.6.1-alt2

Группа :: Графические оболочки/XFce
Пакет: libxfconf

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

%define _name xfconf

%def_without perl
%def_enable introspection
%def_enable vala
%def_disable gsettings

Name: lib%_name
Version: 4.14.1
Release: alt1

Summary: Hierarchical configuration system for Xfce
Summary (ru_RU.UTF-8): п║п╦я│я┌п╣п╪п╟ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ Xfce
License: %gpl2only
Group: Graphical desktop/XFce
Url: https://www.xfce.org/
Packager: Xfce Team <xfce at packages.altlinux.org>

# Upstream: git://git.xfce.org/xfce/xfconf

Source: %_name-%version.tar
Patch: %_name-%version-%release.patch

BuildRequires(pre): rpm-build-licenses

%define _unpackaged_files_terminate_build 1

Requires: xfce4-common
Requires: dbus-tools-gui
BuildPreReq: rpm-build-xfce4 libxfce4util-devel xfce4-dev-tools
BuildRequires: libgio-devel libdbus-devel
%if_with perl
BuildPreReq: rpm-build-perl perl-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib-devel
%{?_enable_introspection:BuildRequires: gobject-introspection-devel}
%{?_enable_vala:BuildRequires: vala-tools}
BuildRequires: gtk-doc intltool

Xfconf is a hierarchical (tree-like) configuration system where the
immediate child nodes of the root are called "channels".  All settings
beneath the channel nodes are called "properties".

%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Header files for the %name library.

%package -n %_name-utils
Summary: Utils for Xfce configuration system
Group: Graphical desktop/XFce
Requires: %name = %version-%release

%description -n %_name-utils
Xfconfd is a small daemon that handles storage and retrieval of settings, as well
as notifying interested applications about changes to settings. It doesn't require
a GUI, so it could even be used for command-line applications.

Xfconf-query might be one of the tools many users have been waiting on for years,
especially those hanging around in our IRC channel. Instead of having to guide new
users through several dialogs and windows, it is now possible to have every control
over your Xfce desktop at your fingertips. You can view or change any setting stored
in xfconf with xfconf-query.

%if_with perl
%package -n perl-%_name
Summary:        Perl modules for xfconf
Group:          Development/Perl
Requires:       %name = %version-%release

%description -n perl-%_name
This package includes the perl modules and files you will need to
interact with xfconf using perl.

%if_enabled introspection
%package gir
Summary: GObject introspection data for %name
Group: System/Libraries
Requires: %name = %EVR

%description gir
GObject introspection data for %name.

%package gir-devel
Summary: GObject introspection devel data for %name
Group: System/Libraries
BuildArch: noarch
Requires: %name-gir = %EVR
Requires: %name-devel = %EVR

%description gir-devel
GObject introspection devel data for %name.

%if_enabled vala
%package vala
Summary: Vala bindings for %name
Group: System/Libraries
Requires: %name-devel = %EVR
BuildArch: noarch

%description vala
Vala bindings for %name.

%setup -n %_name-%version
%patch -p1

# Don't use git tag in version.
%xfce4_drop_gitvtag xfconf_version_tag configure.ac.in
%configure \
--disable-static \
--enable-maintainer-mode \
%if_with perl
--with-perl-options=INSTALLDIRS="vendor" \
--enable-perl-bindings \
--disable-perl-bindings \
%{subst_enable introspection} \
%{subst_enable vala} \
%if_enabled gsetings
--enable-gsettings-backend \
--disable-gsettings-backend \
--enable-gtk-doc \

mkdir -p %buildroot/%_sysconfdir/xdg/xfce4/xfconf/xfce-perchannel-xml

%find_lang %_name

%files -f %_name.lang
%if_enabled gsetings

%exclude %_libdir/gio/modules/*.la

%files devel
%doc %_datadir/gtk-doc/html/%_name

%files -n %_name-utils

%if_with perl
%files -n perl-%_name

%if_enabled introspection
%files gir

%files gir-devel

%if_enabled vala
%files vala


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

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