2010-08-23 18:23:28 +02:00
|
|
|
#
|
2011-01-15 01:33:02 +01:00
|
|
|
# spec file for package dconf
|
2010-08-23 18:23:28 +02:00
|
|
|
#
|
2022-09-13 09:38:11 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2010-08-23 18:23:28 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-24 14:56:29 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-08-23 18:23:28 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: dconf
|
2021-03-24 17:30:12 +01:00
|
|
|
Version: 0.40.0
|
2012-02-08 11:57:04 +01:00
|
|
|
Release: 0
|
2018-03-12 11:47:43 +01:00
|
|
|
Summary: Key-based configuration system
|
2018-03-09 11:03:11 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2010-08-23 18:23:28 +02:00
|
|
|
Group: System/Libraries
|
2018-03-14 11:01:05 +01:00
|
|
|
URL: https://live.gnome.org/dconf
|
2021-03-24 17:30:12 +01:00
|
|
|
Source0: https://download.gnome.org/sources/dconf/0.40/%{name}-%{version}.tar.xz
|
2022-09-13 09:38:11 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0001-gvdb-Restore-permissions-on-changed-files.patch bsc#971074 bgo#758066 bsc#1203344 fezhang@suse.com -- Restore permissions on files changed by dconf update.
|
|
|
|
Patch0: 0001-gvdb-Restore-permissions-on-changed-files.patch
|
2012-09-07 17:25:46 +02:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2018-03-09 11:03:11 +01:00
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig
|
2014-04-03 22:32:52 +02:00
|
|
|
BuildRequires: vala >= 0.18.0
|
2012-09-07 17:25:46 +02:00
|
|
|
BuildRequires: xsltproc
|
2018-09-17 05:14:55 +02:00
|
|
|
BuildRequires: pkgconfig(bash-completion)
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2013-03-14 00:01:25 +01:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
2016-02-19 15:47:33 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
|
2010-08-23 18:23:28 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2010-12-15 12:26:28 +01:00
|
|
|
# dconf provides a dbus service, but has no dependency on dbus in any way
|
|
|
|
# (because it uses gdbus), so we need an explicit Requires
|
|
|
|
Requires: dbus-1
|
2010-08-23 18:23:28 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
dconf is a low-level configuration system. Its main purpose is to
|
|
|
|
provide a backend to GSettings on platforms that don't already
|
|
|
|
have configuration storage systems.
|
|
|
|
|
2012-09-07 17:25:46 +02:00
|
|
|
%package -n libdconf1
|
2018-03-12 11:47:43 +01:00
|
|
|
Summary: Key-based configuration system
|
2010-08-23 18:23:28 +02:00
|
|
|
# The library doesn't really work if the dconf service is not reachable, so we
|
|
|
|
# need a Requires
|
2017-10-05 14:24:47 +02:00
|
|
|
Group: System/Libraries
|
2012-08-03 09:05:12 +02:00
|
|
|
Requires: %{name} >= %{version}
|
2016-02-19 15:47:33 +01:00
|
|
|
# libdconf-dbus-1-0 is no longer supported with dconf 0.25.x+
|
|
|
|
Obsoletes: libdconf-dbus-1-0 < %{version}
|
2010-08-23 18:23:28 +02:00
|
|
|
|
2012-09-07 17:25:46 +02:00
|
|
|
%description -n libdconf1
|
2010-08-23 18:23:28 +02:00
|
|
|
dconf is a low-level configuration system. Its main purpose is to
|
|
|
|
provide a backend to GSettings on platforms that don't already
|
|
|
|
have configuration storage systems.
|
|
|
|
|
|
|
|
%package -n gsettings-backend-dconf
|
2018-03-12 11:47:43 +01:00
|
|
|
Summary: GSettings integration of the dconf key-based configuration system
|
2010-08-23 18:23:28 +02:00
|
|
|
Group: System/Libraries
|
2012-08-03 09:05:12 +02:00
|
|
|
Requires: %{name} >= %{version}
|
2010-08-23 18:23:28 +02:00
|
|
|
# We really want this to be used as the default GSettings backend
|
|
|
|
Supplements: libgio-2_0-0
|
2018-03-09 11:03:11 +01:00
|
|
|
%{glib2_gio_module_requires}
|
2010-08-23 18:23:28 +02:00
|
|
|
|
|
|
|
%description -n gsettings-backend-dconf
|
|
|
|
dconf is a low-level configuration system. Its main purpose is to
|
|
|
|
provide a backend to GSettings on platforms that don't already
|
|
|
|
have configuration storage systems.
|
|
|
|
|
|
|
|
This package provides a GSettings backend that uses dconf to store
|
|
|
|
the settings.
|
|
|
|
|
|
|
|
%package devel
|
2018-03-12 11:47:43 +01:00
|
|
|
Summary: Development files for dconf, a key-based configuration system
|
2010-08-23 18:23:28 +02:00
|
|
|
Group: Development/Libraries/GNOME
|
2012-09-07 17:25:46 +02:00
|
|
|
Requires: libdconf1 = %{version}
|
2016-02-19 15:47:33 +01:00
|
|
|
# The libdbus-1 backend has been removed. Dconf now always uses GDBus (since 0.25.x)
|
|
|
|
Obsoletes: libdconf-dbus-devel < %{version}
|
2010-08-23 18:23:28 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
dconf is a low-level configuration system. Its main purpose is to
|
|
|
|
provide a backend to GSettings on platforms that don't already
|
|
|
|
have configuration storage systems.
|
|
|
|
|
|
|
|
%prep
|
2018-09-17 05:14:55 +02:00
|
|
|
%autosetup -p1
|
2011-01-14 10:48:34 +01:00
|
|
|
|
2010-08-23 18:23:28 +02:00
|
|
|
%build
|
2018-03-09 11:03:11 +01:00
|
|
|
%meson \
|
2018-09-17 05:14:55 +02:00
|
|
|
-Dbash_completion=true \
|
|
|
|
-Dman=true \
|
|
|
|
-Dgtk_doc=true \
|
|
|
|
%{nil}
|
2018-03-09 11:03:11 +01:00
|
|
|
%meson_build
|
2010-08-23 18:23:28 +02:00
|
|
|
|
|
|
|
%install
|
2018-03-09 11:03:11 +01:00
|
|
|
%meson_install
|
2011-01-19 16:19:46 +01:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/dconf/{profile,db}
|
|
|
|
|
2012-09-07 17:25:46 +02:00
|
|
|
%post -n libdconf1 -p /sbin/ldconfig
|
|
|
|
%postun -n libdconf1 -p /sbin/ldconfig
|
2018-03-14 11:01:05 +01:00
|
|
|
|
2010-08-23 18:23:28 +02:00
|
|
|
%post -n gsettings-backend-dconf
|
2018-03-09 11:03:11 +01:00
|
|
|
%{glib2_gio_module_post}
|
2010-08-23 18:23:28 +02:00
|
|
|
|
|
|
|
%postun -n gsettings-backend-dconf
|
2018-03-09 11:03:11 +01:00
|
|
|
%{glib2_gio_module_postun}
|
2010-08-23 18:23:28 +02:00
|
|
|
|
|
|
|
%files
|
2018-03-09 11:03:11 +01:00
|
|
|
%license COPYING
|
2018-03-14 11:01:05 +01:00
|
|
|
%doc NEWS README
|
2010-08-23 18:23:28 +02:00
|
|
|
# small utility to read values in the database
|
|
|
|
%{_bindir}/dconf
|
|
|
|
# service is needed for write
|
|
|
|
%{_libexecdir}/dconf-service
|
|
|
|
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
|
2011-05-26 22:54:36 +02:00
|
|
|
# Bash completion helper
|
2012-09-07 17:25:46 +02:00
|
|
|
%{_datadir}/bash-completion/completions/dconf
|
|
|
|
%{_mandir}/man[17]/dconf.[17]%{ext_man}
|
|
|
|
%{_mandir}/man1/dconf-service.1%{?ext_man}
|
2011-05-26 22:56:13 +02:00
|
|
|
# alternative databases
|
|
|
|
%{_sysconfdir}/dconf/
|
2021-03-24 17:30:12 +01:00
|
|
|
%{_userunitdir}/dconf.service
|
2010-08-23 18:23:28 +02:00
|
|
|
|
2012-09-07 17:25:46 +02:00
|
|
|
%files -n libdconf1
|
2010-08-23 18:23:28 +02:00
|
|
|
%{_libdir}/libdconf.so.*
|
|
|
|
|
|
|
|
%files -n gsettings-backend-dconf
|
|
|
|
%{_libdir}/gio/modules/libdconfsettings.so
|
|
|
|
|
|
|
|
%files devel
|
2018-03-14 11:01:05 +01:00
|
|
|
%doc HACKING
|
2010-08-23 18:23:28 +02:00
|
|
|
%doc %{_datadir}/gtk-doc/html/dconf/
|
|
|
|
%{_includedir}/dconf/
|
|
|
|
%{_libdir}/libdconf.so
|
|
|
|
%{_libdir}/pkgconfig/dconf.pc
|
|
|
|
%dir %{_datadir}/vala
|
|
|
|
%dir %{_datadir}/vala/vapi
|
|
|
|
%{_datadir}/vala/vapi/dconf.*
|
2010-09-11 12:06:36 +02:00
|
|
|
|
2010-08-23 18:23:28 +02:00
|
|
|
%changelog
|