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