Accepting request 586728 from GNOME:Factory

(forwarded request 586713 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/586728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dconf?expand=0&rev=45
This commit is contained in:
Dominique Leuenberger 2018-03-14 18:32:59 +00:00 committed by Git OBS Bridge
commit 734a78d36c
4 changed files with 62 additions and 37 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d583b1f7fc93b879e2956acc6a26ea05a445a0002158aeef80c8e378e1414535
size 218516

3
dconf-0.28.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61d3b3865ef58b729c3b39aa0979f886c014aa8362f93dcfc74bf5648ed9c742
size 99340

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Tue Mar 13 23:16:56 UTC 2018 - luc14n0@linuxmail.org
- Update to version 0.28.0:
+ No visible changes.
- Drop:
+ intltool BuildRequires: there are no translations to be
handled.
+ update-desktop-files BuildRequires: there is no desktop file to
be handled.
-------------------------------------------------------------------
Fri Mar 9 19:06:37 UTC 2018 - jengelh@inai.de
- Update summaries.
-------------------------------------------------------------------
Wed Feb 28 16:24:35 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Wed Oct 18 15:36:44 UTC 2017 - badshah400@gmail.com
- Update to version 0.27.1:
+ Port to meson build system.
- Add meson BuildRequires and switch autotools macros configure,
make and makeinstall to meson, meson_build and meson_install
following upstream switch to Meson build system.
- Drop the BUILD_FROM_VCS checks, and build gtk-doc
unconditionally: this is needed since the port to meson.
- Pass enable-man=true option to meson: man files are no longer
built unless this is explicitly specified.
- Drop the find command for finding and deleting libtool archives:
these are no longer built since the port to meson build system.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 3 20:33:13 UTC 2017 - luc14n0@linuxmail.org Tue Oct 3 20:33:13 UTC 2017 - luc14n0@linuxmail.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package dconf # spec file for package dconf
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,29 +17,27 @@
Name: dconf Name: dconf
Version: 0.26.1 Version: 0.28.0
Release: 0 Release: 0
Summary: Simple key-based configuration system Summary: Key-based configuration system
License: LGPL-2.1+ License: LGPL-2.1-or-later
Group: System/Libraries Group: System/Libraries
Url: https://live.gnome.org/dconf URL: https://live.gnome.org/dconf
Source: https://download.gnome.org/sources/dconf/0.26/%{name}-%{version}.tar.xz Source: http://download.gnome.org/sources/dconf/0.28/%{name}-%{version}.tar.xz
Source99: baselibs.conf Source99: baselibs.conf
# PATCH-FIX-UPSTREAM 0001-gvdb-Restore-permissions-on-changed-files.patch bsc#1025721 bsc#971074 bgo#758066 fezhang@suse.com -- Restore permissions on files changed by dconf update. # PATCH-FIX-UPSTREAM 0001-gvdb-Restore-permissions-on-changed-files.patch bsc#1025721 bsc#971074 bgo#758066 fezhang@suse.com -- Restore permissions on files changed by dconf update.
Patch0: 0001-gvdb-Restore-permissions-on-changed-files.patch Patch0: 0001-gvdb-Restore-permissions-on-changed-files.patch
# For directory ownership # For directory ownership
BuildRequires: dbus-1 BuildRequires: dbus-1
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: intltool >= 0.50.0 BuildRequires: gtk-doc
BuildRequires: update-desktop-files BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: vala >= 0.18.0 BuildRequires: vala >= 0.18.0
BuildRequires: xsltproc BuildRequires: xsltproc
BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0 BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gobject-introspection-1.0)
%if 0%{?BUILD_FROM_VCS}
BuildRequires: gtk-doc
%endif
# dconf provides a dbus service, but has no dependency on dbus in any way # dconf provides a dbus service, but has no dependency on dbus in any way
# (because it uses gdbus), so we need an explicit Requires # (because it uses gdbus), so we need an explicit Requires
Requires: dbus-1 Requires: dbus-1
@ -50,7 +48,7 @@ provide a backend to GSettings on platforms that don't already
have configuration storage systems. have configuration storage systems.
%package -n libdconf1 %package -n libdconf1
Summary: Simple key-based configuration system -- Library Summary: Key-based configuration system
# The library doesn't really work if the dconf service is not reachable, so we # The library doesn't really work if the dconf service is not reachable, so we
# need a Requires # need a Requires
Group: System/Libraries Group: System/Libraries
@ -64,12 +62,12 @@ provide a backend to GSettings on platforms that don't already
have configuration storage systems. have configuration storage systems.
%package -n gsettings-backend-dconf %package -n gsettings-backend-dconf
Summary: Simple key-based configuration system -- GSettings Backend Summary: GSettings integration of the dconf key-based configuration system
Group: System/Libraries Group: System/Libraries
Requires: %{name} >= %{version} Requires: %{name} >= %{version}
# We really want this to be used as the default GSettings backend # We really want this to be used as the default GSettings backend
Supplements: libgio-2_0-0 Supplements: libgio-2_0-0
%glib2_gio_module_requires %{glib2_gio_module_requires}
%description -n gsettings-backend-dconf %description -n gsettings-backend-dconf
dconf is a low-level configuration system. Its main purpose is to dconf is a low-level configuration system. Its main purpose is to
@ -80,7 +78,7 @@ This package provides a GSettings backend that uses dconf to store
the settings. the settings.
%package devel %package devel
Summary: Simple key-based configuration system -- Development Files Summary: Development files for dconf, a key-based configuration system
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
Requires: libdconf1 = %{version} Requires: libdconf1 = %{version}
# The libdbus-1 backend has been removed. Dconf now always uses GDBus (since 0.25.x) # The libdbus-1 backend has been removed. Dconf now always uses GDBus (since 0.25.x)
@ -95,36 +93,29 @@ have configuration storage systems.
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%if 0%{?BUILD_FROM_VCS}
[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
%endif
%build %build
%configure \ %meson \
%if 0%{?BUILD_FROM_VCS} -Denable-man=true \
--enable-gtk-doc -Denable-gtk-doc=true
%endif
%__make V=1 %{?_smp_mflags} %meson_build
%install %install
%make_install %meson_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
mkdir -p %{buildroot}%{_sysconfdir}/dconf/{profile,db} mkdir -p %{buildroot}%{_sysconfdir}/dconf/{profile,db}
%post -n libdconf1 -p /sbin/ldconfig %post -n libdconf1 -p /sbin/ldconfig
%postun -n libdconf1 -p /sbin/ldconfig %postun -n libdconf1 -p /sbin/ldconfig
%post -n gsettings-backend-dconf %post -n gsettings-backend-dconf
%glib2_gio_module_post %{glib2_gio_module_post}
%postun -n gsettings-backend-dconf %postun -n gsettings-backend-dconf
%glib2_gio_module_postun %{glib2_gio_module_postun}
%files %files
%defattr(-, root, root) %license COPYING
%doc COPYING NEWS %doc NEWS README
# small utility to read values in the database # small utility to read values in the database
%{_bindir}/dconf %{_bindir}/dconf
# service is needed for write # service is needed for write
@ -138,15 +129,13 @@ mkdir -p %{buildroot}%{_sysconfdir}/dconf/{profile,db}
%{_sysconfdir}/dconf/ %{_sysconfdir}/dconf/
%files -n libdconf1 %files -n libdconf1
%defattr(-, root, root)
%{_libdir}/libdconf.so.* %{_libdir}/libdconf.so.*
%files -n gsettings-backend-dconf %files -n gsettings-backend-dconf
%defattr(-, root, root)
%{_libdir}/gio/modules/libdconfsettings.so %{_libdir}/gio/modules/libdconfsettings.so
%files devel %files devel
%defattr(-, root, root) %doc HACKING
%doc %{_datadir}/gtk-doc/html/dconf/ %doc %{_datadir}/gtk-doc/html/dconf/
%{_includedir}/dconf/ %{_includedir}/dconf/
%{_libdir}/libdconf.so %{_libdir}/libdconf.so