545ecd
%define glib2_version 2.44.0
545ecd
545ecd
Name:           dconf
545ecd
Version:        0.28.0
0897aa
Release:        4%{?dist}
545ecd
Summary:        A configuration system
545ecd
545ecd
License:        LGPLv2+ and GPLv2+ and GPLv3+
545ecd
URL:            http://live.gnome.org/dconf
545ecd
Source0:        http://download.gnome.org/sources/dconf/0.28/dconf-%{version}.tar.xz
545ecd
545ecd
Patch0:         dconf-0.28.0-db-mtime.patch
545ecd
Patch1:         0001-Engine-track-in-progress-watch-handles-to-avoid-spur.patch
545ecd
Patch2:         0001-Engine-add-some-missing-objects-to-dconf_engine_unre.patch
545ecd
Patch3:         0002-Engine-extend-subscriptions-state-to-account-for-mul.patch
545ecd
Patch4:         0003-Engine-add-g_debug-statements-in-state-changing-inte.patch
545ecd
Patch5:         0004-Engine-Add-locks-around-access-to-subscription-count.patch
545ecd
Patch6:         0005-Engine-Add-comprehensive-unit-tests-for-subscription.patch
545ecd
Patch7:         0001-Engine-Change-overflow-thresholds-in-subscription-co.patch
0897aa
Patch8:         dconf-0.28.0-permissions.patch
545ecd
545ecd
BuildRequires:  glib2-devel >= %{glib2_version}
545ecd
BuildRequires:  gtk-doc
545ecd
BuildRequires:  meson
545ecd
BuildRequires:  vala
545ecd
545ecd
Requires:       dbus
545ecd
Requires:       glib2%{?_isa} >= %{glib2_version}
545ecd
545ecd
%description
545ecd
dconf is a low-level configuration system. Its main purpose is to provide a
545ecd
backend to the GSettings API in GLib.
545ecd
545ecd
%package devel
545ecd
Summary: Header files and libraries for dconf development
545ecd
Requires: %{name}%{?_isa} = %{version}-%{release}
545ecd
545ecd
%description devel
545ecd
dconf development package. Contains files needed for doing software
545ecd
development using dconf.
545ecd
545ecd
%prep
545ecd
%autosetup -p1
545ecd
545ecd
%build
545ecd
%meson -Denable-gtk-doc=true
545ecd
%meson_build
545ecd
545ecd
%install
545ecd
%meson_install
545ecd
545ecd
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dconf/profile
545ecd
545ecd
cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/dconf/profile/user
545ecd
user-db:user
545ecd
system-db:local
545ecd
system-db:site
545ecd
system-db:distro
545ecd
EOF
545ecd
545ecd
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dconf/db/local.d/locks
545ecd
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dconf/db/site.d/locks
545ecd
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dconf/db/distro.d/locks
545ecd
545ecd
%posttrans
545ecd
dconf update
545ecd
545ecd
%files
545ecd
%license COPYING
545ecd
%dir %{_sysconfdir}/dconf
545ecd
%dir %{_sysconfdir}/dconf/db
545ecd
%dir %{_sysconfdir}/dconf/db/local.d
545ecd
%dir %{_sysconfdir}/dconf/db/local.d/locks
545ecd
%dir %{_sysconfdir}/dconf/db/site.d
545ecd
%dir %{_sysconfdir}/dconf/db/site.d/locks
545ecd
%dir %{_sysconfdir}/dconf/db/distro.d
545ecd
%dir %{_sysconfdir}/dconf/db/distro.d/locks
545ecd
%dir %{_sysconfdir}/dconf/profile
545ecd
%{_libdir}/gio/modules/libdconfsettings.so
545ecd
%{_libexecdir}/dconf-service
545ecd
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
545ecd
%{_bindir}/dconf
545ecd
%{_libdir}/libdconf.so.1*
545ecd
%{_datadir}/bash-completion/completions/dconf
545ecd
%{_mandir}/man1/dconf-service.1.gz
545ecd
%{_mandir}/man1/dconf.1.gz
545ecd
%{_mandir}/man7/dconf.7.gz
545ecd
%config(noreplace) %{_sysconfdir}/dconf/profile/user
545ecd
545ecd
%files devel
545ecd
%{_includedir}/dconf
545ecd
%{_libdir}/libdconf.so
545ecd
%{_libdir}/pkgconfig/dconf.pc
545ecd
%dir %{_datadir}/gtk-doc
545ecd
%dir %{_datadir}/gtk-doc/html
545ecd
%{_datadir}/gtk-doc/html/dconf
545ecd
%{_datadir}/vala
545ecd
545ecd
%changelog
0897aa
* Mon Nov 23 2020 Marek Kasik <mkasik@redhat.com> - 0.28.0-4
0897aa
- Restore permissions on updated database
0897aa
- Resolves: #1879722
0897aa
545ecd
* Fri Jan 18 2019 Olivier Fourdan <ofourdan@redhat.com> - 0.28.0-3
545ecd
- Backport fix for emission of spurious changed signals
545ecd
- for all keys at once crashing gnome-shell
545ecd
- Resolves: #1666176
545ecd
545ecd
* Wed Jul 25 2018 Marek Kasik <mkasik@redhat.com> - 0.28.0-2
545ecd
- Check mtimes of files in /etc/dconf/db/*.d/ directories
545ecd
- when running "dconf update"
545ecd
- Related: #1570569
545ecd
545ecd
* Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 0.28.0-1
545ecd
- Update to 0.28.0
545ecd
545ecd
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 0.27.1-1
545ecd
- Update to 0.27.1
545ecd
- Switch to the meson build system
545ecd
- Don't set group tags
545ecd
- Remove obsolete rpm scriptlets
545ecd
- Fix gtk-doc directory ownership
545ecd
- Tighten soname glob
545ecd
545ecd
* Mon Feb 19 2018 Ray Strode <rstrode@redhat.com> - 0.26.1-3
545ecd
- Add systemd dbs for distro, site, and machine local dconf databases
545ecd
  Resolves: #1546644
545ecd
545ecd
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.1-2
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
545ecd
545ecd
* Mon Oct 09 2017 Kalev Lember <klember@redhat.com> - 0.26.1-1
545ecd
- Update to 0.26.1
545ecd
545ecd
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-5
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
545ecd
545ecd
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-4
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
545ecd
545ecd
* Tue Mar 21 2017 Colin Walters <walters@verbum.org> - 0.26.0-3
545ecd
- Backport patch to work around gtype threading
545ecd
545ecd
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-2
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
545ecd
545ecd
* Wed Mar 23 2016 Kalev Lember <klember@redhat.com> - 0.26.0-1
545ecd
- Update to 0.26.0
545ecd
545ecd
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.1-2
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
545ecd
545ecd
* Wed Dec 16 2015 Kalev Lember <klember@redhat.com> - 0.25.1-1
545ecd
- Update to 0.25.1
545ecd
545ecd
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24.0-2
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
545ecd
545ecd
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 0.24.0-1
545ecd
- Update to 0.24.0
545ecd
545ecd
* Tue Mar 17 2015 Kalev Lember <kalevlember@gmail.com> - 0.23.2-1
545ecd
- Update to 0.23.2
545ecd
545ecd
* Mon Mar 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.23.1-1
545ecd
- Update to 0.23.1
545ecd
- This drops the -editor subpackage which now lives in a separate
545ecd
  dconf-editor SRPM.
545ecd
- Use the %%license macro for the COPYING file
545ecd
545ecd
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.22.0-2
545ecd
- Rebuilt for Fedora 23 Change
545ecd
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
545ecd
545ecd
* Fri Sep 19 2014 Kalev Lember <kalevlember@gmail.com> - 0.22.0-1
545ecd
- Update to 0.22.0
545ecd
545ecd
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.0-2
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
545ecd
545ecd
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.21.0-1
545ecd
- Update to 0.21.0
545ecd
545ecd
* Fri Jul 11 2014 Parag <paragn AT fedoraproject DOT org> - 0.20.0-4
545ecd
- Fix the directory ownership (rh#1056020)
545ecd
545ecd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-3
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
545ecd
545ecd
* Sat Apr 05 2014 Kalev Lember <kalevlember@gmail.com> - 0.20.0-2
545ecd
- Specify minimum glib version
545ecd
545ecd
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 0.20.0-1
545ecd
- Update to 0.20.0
545ecd
545ecd
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 0.19.92-1
545ecd
- Update to 0.19.92
545ecd
545ecd
* Tue Mar 04 2014 Richard Hughes <rhughes@redhat.com> - 0.19.91-1
545ecd
- Update to 0.19.91
545ecd
545ecd
* Tue Feb 18 2014 Richard Hughes <rhughes@redhat.com> - 0.19.90-1
545ecd
- Update to 0.19.90
545ecd
545ecd
* Tue Jan 14 2014 Richard Hughes <rhughes@redhat.com> - 0.19.3-1
545ecd
- Update to 0.19.3
545ecd
545ecd
* Thu Nov 14 2013 Richard Hughes <rhughes@redhat.com> - 0.19.2-1
545ecd
- Update to 0.19.2
545ecd
545ecd
* Thu Sep 26 2013 Kalev Lember <kalevlember@gmail.com> - 0.18.0-2
545ecd
- Add missing glib-compile-schemas scriptlets to the -editor subpackage
545ecd
545ecd
* Tue Sep 24 2013 Kalev Lember <kalevlember@gmail.com> - 0.18.0-1
545ecd
- Update to 0.18.0
545ecd
545ecd
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.17.1-1
545ecd
- Update to 0.17.1
545ecd
545ecd
* Mon Aug 05 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.17.0-3
545ecd
- Fix bogus date in %%changelog
545ecd
- Compilation should be more verbose, add V=1
545ecd
- Upstream does not install dconf-editor ui files
545ecd
545ecd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.0-2
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
545ecd
545ecd
* Tue Jul 16 2013 Richard Hughes <rhughes@redhat.com> - 0.17.0-1
545ecd
- Update to 0.17.0
545ecd
545ecd
* Sat Jun  8 2013 Matthias Clasen <mclasen@redhat.com> - 0.16.0-2
545ecd
- Move the editor schema to the right subpackage
545ecd
545ecd
* Mon Mar 25 2013 Kalev Lember <kalevlember@gmail.com> - 0.16.0-1
545ecd
- Update to 0.16.0
545ecd
545ecd
* Mon Feb 11 2013 Kalev Lember <kalevlember@gmail.com> - 0.15.3-1
545ecd
- Update to 0.15.3
545ecd
- Install the HighContrast icons and update the icon cache scriptlets to take
545ecd
  this into account
545ecd
545ecd
* Sat Dec 22 2012 Rex Dieter <rdieter@fedoraproject.org> - 0.15.2-2
545ecd
- -devel: drop Requires: glib2-devel, already gets pulled in via pkgconfig deps
545ecd
- -editor: add icon scriptlets
545ecd
- tighten subpkg deps via %%{_isa}
545ecd
545ecd
* Tue Nov 20 2012 Richard Hughes <hughsient@gmail.com> - 0.15.2-1
545ecd
- Update to 0.15.2
545ecd
545ecd
* Fri Nov 09 2012 Kalev Lember <kalevlember@gmail.com> - 0.15.0-3
545ecd
- Move some of the rpm scriptlets back to %%posttrans
545ecd
  (glib-compile-schemas, icon cache)
545ecd
545ecd
* Thu Nov  8 2012 Marek Kasik <mkasik@redhat.com> - 0.15.0-2
545ecd
- Move dconf-editor's man page to the dconf-editor sub-package
545ecd
545ecd
* Wed Nov  7 2012 Marek Kasik <mkasik@redhat.com> - 0.15.0-1
545ecd
- Update to 0.15.0
545ecd
- Remove upstreamed patch
545ecd
545ecd
* Wed Nov  7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-4
545ecd
- Move %%posttrans commands to %%post (rpmlint related)
545ecd
545ecd
* Wed Nov  7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-3
545ecd
- Update License field
545ecd
- Update Source URL
545ecd
- Add link of corresponding bug for the memory leak patch
545ecd
545ecd
* Wed Nov  7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-2.1
545ecd
- Merge spec-file fixes from f18 branch
545ecd
545ecd
* Sun Oct 21 2012 Matthias Clasen <mclasen@redhat.com> - 0.14.0-2
545ecd
- Fix a memory leak
545ecd
- Update to 0.14.0
545ecd
545ecd
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.4-2
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
545ecd
545ecd
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 0.13.4-1
545ecd
- Update to 0.13.4
545ecd
545ecd
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 0.13.0-2
545ecd
- Add missing file to file list.
545ecd
545ecd
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 0.13.0-1
545ecd
- Update to 0.13.0
545ecd
545ecd
* Sat May 05 2012 Kalev Lember <kalevlember@gmail.com> - 0.12.1-1
545ecd
- Update to 0.12.1
545ecd
545ecd
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 0.12.0-1
545ecd
- Update to 0.12.0
545ecd
545ecd
* Tue Mar 20 2012 Kalev Lember <kalevlember@gmail.com> - 0.11.7-1
545ecd
- Update to 0.11.7
545ecd
545ecd
* Fri Mar  9 2012 Matthias Clasen <mclasen@redhat.com> - 0.11.6-1
545ecd
- Update to 0.11.6
545ecd
545ecd
* Mon Feb  6 2012 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1
545ecd
- Update to 0.11.5
545ecd
545ecd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
545ecd
545ecd
* Mon Nov 21 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.2-1
545ecd
- Update to 0.11.2
545ecd
545ecd
* Fri Nov  4 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.0-2
545ecd
- Fix a typo (#710700)
545ecd
545ecd
* Wed Nov  2 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.0-1
545ecd
- Update to 0.11.0
545ecd
545ecd
* Mon Sep 26 2011 Ray <rstrode@redhat.com> - 0.10.0-1
545ecd
- Update to 0.10.0
545ecd
545ecd
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.9.1-1
545ecd
- Update to 0.9.1
545ecd
545ecd
* Tue Jul 26 2011 Matthias Clasen <mclasen@redhat.com> - 0.9.0-1
545ecd
- Update to 0.9.0
545ecd
545ecd
* Wed May 11 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.7.5-1
545ecd
- Update to 0.7.5
545ecd
545ecd
* Fri May  6 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.4-1
545ecd
- Update to 0.7.4
545ecd
545ecd
* Wed Apr  6 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.3-2
545ecd
- Fix a crash in dconf-editor
545ecd
545ecd
* Tue Mar 22 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.7.3-1
545ecd
- Update to 0.7.3
545ecd
545ecd
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.2-3
545ecd
- Rebuild for newer gtk
545ecd
545ecd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
545ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
545ecd
545ecd
* Sat Feb  5 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.2-1
545ecd
- Update to 0.7.2
545ecd
545ecd
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.1-1
545ecd
- Update to 0.7.1
545ecd
545ecd
* Mon Jan 17 2011 Matthias Clasen <mclasen@redhat.com> - 0.7-1
545ecd
- Update to 0.7
545ecd
545ecd
* Wed Sep 29 2010 jkeating - 0.5.1-2
545ecd
- Rebuilt for gcc bug 634757
545ecd
545ecd
* Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1
545ecd
- Update to 0.5.1
545ecd
545ecd
* Thu Aug  5 2010 Matthias Clasen <mclasen@redhat.com> - 0.5-2
545ecd
- Fix up shared library symlinks (#621733)
545ecd
545ecd
* Tue Aug  3 2010 Matthias Clasen <mclasen@redhat.com> - 0.5-1
545ecd
- Update to 0.5
545ecd
545ecd
* Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.4.2-1
545ecd
- Update to 0.4.2
545ecd
545ecd
* Wed Jun 30 2010 Colin Walters <walters@verbum.org> - 0.4.1-2
545ecd
- Changes to support snapshot builds
545ecd
545ecd
* Sat Jun 26 2010 Matthias Clasen <mclasen@redhat.com> 0.4.1-1
545ecd
- Update to 0.4.1
545ecd
- Include dconf-editor (in a subpackage)
545ecd
545ecd
* Wed Jun 23 2010 Matthias Clasen <mclasen@redhat.com> 0.4-2
545ecd
- Rebuild against glib 2.25.9
545ecd
545ecd
* Sat Jun 12 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1
545ecd
- Update to 0.4
545ecd
545ecd
* Tue Jun 08 2010 Richard Hughes <rhughes@redhat.com> 0.3.2-0.1.20100608
545ecd
- Update to a git snapshot so that users do not get a segfault in every
545ecd
  application using GSettings.
545ecd
545ecd
* Wed Jun 02 2010 Bastien Nocera <bnocera@redhat.com> 0.3.1-2
545ecd
- Rebuild against latest glib2
545ecd
545ecd
* Mon May 24 2010 Matthias Clasen <mclasen@redhat.com> 0.3.1-1
545ecd
- Update to 0.3.1
545ecd
- Add a -devel subpackage
545ecd
545ecd
* Fri May 21 2010 Matthias Clasen <mclasen@redhat.com> 0.3-3
545ecd
- Make batched writes (e.g. with delayed settings) work
545ecd
545ecd
* Thu May 20 2010 Matthias Clasen <mclasen@redhat.com> 0.3-2
545ecd
- Make the registration of the backend work
545ecd
545ecd
* Wed May 19 2010 Matthias Clasen <mclasen@redhat.com> 0.3-1
545ecd
- Initial packaging