Richard Hughes 4807ea2
%define glib2_version 2.39.1
ec0942e
%define vala_version 0.11.7
6eba9da
183915f
Name:           dconf
d5d6d33
Version:        0.21.0
d5d6d33
Release:        1%{?dist}
183915f
Summary:        A configuration system
183915f
183915f
Group:          System Environment/Base
a15bf4c
License:        LGPLv2+ and GPLv2+ and GPLv3+
183915f
URL:            http://live.gnome.org/dconf
c0eb110
#VCS:           git:git://git.gnome.org/dconf
d5d6d33
Source0:        http://download.gnome.org/sources/dconf/0.21/dconf-%{version}.tar.xz
183915f
6eba9da
BuildRequires:  glib2-devel >= %{glib2_version}
568e587
BuildRequires:  gtk3-devel
be12cc1
BuildRequires:  libxml2-devel
a686a7d
BuildRequires:  dbus-devel
ec0942e
BuildRequires:  vala-devel >= %{vala_version}
f972a00
BuildRequires:  gtk-doc
89c7620
BuildRequires:  intltool
a686a7d
a686a7d
Requires:       dbus
af08ebf
Requires:       glib2%{?_isa} >= %{glib2_version}
cff87f8
183915f
%description
183915f
dconf is a low-level configuration system. Its main purpose is to provide a
183915f
backend to the GSettings API in GLib.
183915f
6eba9da
%package devel
6eba9da
Summary: Header files and libraries for dconf development
6eba9da
Group: Development/Libraries
Rex Dieter 233eef0
Requires: %{name}%{?_isa} = %{version}-%{release}
6eba9da
6eba9da
%description devel
6eba9da
dconf development package. Contains files needed for doing software
6eba9da
development using dconf.
6eba9da
be12cc1
%package editor
be12cc1
Summary: Configuration editor for dconf
be12cc1
Group:   Applications/System
Rex Dieter 233eef0
Requires: %{name}%{?_isa} = %{version}-%{release}
be12cc1
be12cc1
%description editor
dcdb4ba
dconf-editor allows you to browse and modify dconf databases.
be12cc1
be12cc1
183915f
%prep
cff87f8
%setup -q
183915f
183915f
%build
a686a7d
%configure --disable-static
Parag Nemade 0a3fed2
make V=1 %{?_smp_mflags}
183915f
183915f
183915f
%install
183915f
make install DESTDIR=$RPM_BUILD_ROOT
Parag Nemade 290fe08
#we need this beacuse ibus and gdm installs file there
Parag Nemade 290fe08
install -d $RPM_BUILD_ROOT%{_sysconfdir}/dconf/db
Parag Nemade 290fe08
install -d $RPM_BUILD_ROOT%{_sysconfdir}/dconf/profile
183915f
89c7620
%find_lang dconf
89c7620
71949e5
%post
38d8a9c
/sbin/ldconfig
38d8a9c
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
71949e5
183915f
%postun
97501a9
/sbin/ldconfig
a686a7d
if [ $1 -eq 0 ] ; then
a686a7d
  gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
a686a7d
  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
a686a7d
fi
a686a7d
97501a9
%posttrans
97501a9
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
3a4f885
3a4f885
3a4f885
%post editor
3a4f885
for d in hicolor HighContrast ; do
3a4f885
  touch --no-create %{_datadir}/icons/$d &>/dev/null || :
3a4f885
done
3a4f885
3a4f885
%postun editor
3a4f885
if [ $1 -eq 0 ] ; then
c8a2c5d
  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
c8a2c5d
3a4f885
  for d in hicolor HighContrast ; do
3a4f885
    touch --no-create %{_datadir}/icons/$d &>/dev/null || :
3a4f885
    gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
3a4f885
  done
3a4f885
fi
3a4f885
3a4f885
%posttrans editor
c8a2c5d
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
c8a2c5d
3a4f885
for d in hicolor HighContrast ; do
3a4f885
  gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
3a4f885
done
3a4f885
183915f
89c7620
%files -f dconf.lang
183915f
%doc COPYING
Parag Nemade 7125068
%dir %{_sysconfdir}/dconf
Parag Nemade 7125068
%dir %{_sysconfdir}/dconf/db
Parag Nemade 7125068
%dir %{_sysconfdir}/dconf/profile
183915f
%{_libdir}/gio/modules/libdconfsettings.so
183915f
%{_libexecdir}/dconf-service
183915f
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
6eba9da
%{_bindir}/dconf
6eba9da
%{_libdir}/libdconf.so.*
c0eb110
%{_libdir}/libdconf-dbus-1.so.*
Richard Hughes e370f71
%{_datadir}/bash-completion/completions/dconf
89c7620
%{_mandir}/man1/dconf-service.1.gz
89c7620
%{_mandir}/man1/dconf.1.gz
89c7620
%{_mandir}/man7/dconf.7.gz
6eba9da
6eba9da
%files devel
6eba9da
%{_includedir}/dconf
6eba9da
%{_libdir}/libdconf.so
6eba9da
%{_libdir}/pkgconfig/dconf.pc
c0eb110
%{_includedir}/dconf-dbus-1
c0eb110
%{_libdir}/libdconf-dbus-1.so
c0eb110
%{_libdir}/pkgconfig/dconf-dbus-1.pc
cff87f8
%{_datadir}/gtk-doc/html/dconf
9301a3e
%{_datadir}/vala
183915f
be12cc1
%files editor
be12cc1
%{_bindir}/dconf-editor
Richard Hughes 4807ea2
%{_datadir}/appdata/dconf-editor.appdata.xml
d5d6d33
%{_datadir}/applications/ca.desrt.dconf-editor.desktop
d5d6d33
%{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service
4816ae1
%{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml
71949e5
%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
3a4f885
%{_datadir}/icons/HighContrast/*/apps/dconf-editor.png
8d1dfda
%{_mandir}/man1/dconf-editor.1.gz
be12cc1
183915f
%changelog
d5d6d33
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.21.0-1
d5d6d33
- Update to 0.21.0
d5d6d33
Parag Nemade 7125068
* Fri Jul 11 2014 Parag <paragn AT fedoraproject DOT org> - 0.20.0-4
Parag Nemade 7125068
- Fix the directory ownership (rh#1056020)
Parag Nemade 7125068
18edea5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-3
18edea5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
18edea5
af08ebf
* Sat Apr 05 2014 Kalev Lember <kalevlember@gmail.com> - 0.20.0-2
af08ebf
- Specify minimum glib version
af08ebf
Richard Hughes 5dbc928
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 0.20.0-1
Richard Hughes 5dbc928
- Update to 0.20.0
Richard Hughes 5dbc928
Richard Hughes 69f687d
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 0.19.92-1
Richard Hughes 69f687d
- Update to 0.19.92
Richard Hughes 69f687d
Richard Hughes 5b2b0e2
* Tue Mar 04 2014 Richard Hughes <rhughes@redhat.com> - 0.19.91-1
Richard Hughes 5b2b0e2
- Update to 0.19.91
Richard Hughes 5b2b0e2
Richard Hughes 1f4e930
* Tue Feb 18 2014 Richard Hughes <rhughes@redhat.com> - 0.19.90-1
Richard Hughes 1f4e930
- Update to 0.19.90
Richard Hughes 1f4e930
Richard Hughes 5c1a677
* Tue Jan 14 2014 Richard Hughes <rhughes@redhat.com> - 0.19.3-1
Richard Hughes 5c1a677
- Update to 0.19.3
Richard Hughes 5c1a677
Richard Hughes 910edf8
* Thu Nov 14 2013 Richard Hughes <rhughes@redhat.com> - 0.19.2-1
Richard Hughes 910edf8
- Update to 0.19.2
Richard Hughes 910edf8
c8a2c5d
* Thu Sep 26 2013 Kalev Lember <kalevlember@gmail.com> - 0.18.0-2
c8a2c5d
- Add missing glib-compile-schemas scriptlets to the -editor subpackage
c8a2c5d
5c178a0
* Tue Sep 24 2013 Kalev Lember <kalevlember@gmail.com> - 0.18.0-1
5c178a0
- Update to 0.18.0
5c178a0
f39c7c6
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.17.1-1
f39c7c6
- Update to 0.17.1
f39c7c6
Parag Nemade 0a3fed2
* Mon Aug 05 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.17.0-3
Parag Nemade 0a3fed2
- Fix bogus date in %%changelog
Parag Nemade 0a3fed2
- Compilation should be more verbose, add V=1
Parag Nemade 0a3fed2
- Upstream does not install dconf-editor ui files
Parag Nemade 0a3fed2
8ffd1b8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.0-2
8ffd1b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8ffd1b8
Richard Hughes 976059b
* Tue Jul 16 2013 Richard Hughes <rhughes@redhat.com> - 0.17.0-1
Richard Hughes 976059b
- Update to 0.17.0
Richard Hughes 976059b
4816ae1
* Sat Jun  8 2013 Matthias Clasen <mclasen@redhat.com> - 0.16.0-2
4816ae1
- Move the editor schema to the right subpackage
4816ae1
30be1f5
* Mon Mar 25 2013 Kalev Lember <kalevlember@gmail.com> - 0.16.0-1
30be1f5
- Update to 0.16.0
30be1f5
3a4f885
* Mon Feb 11 2013 Kalev Lember <kalevlember@gmail.com> - 0.15.3-1
3a4f885
- Update to 0.15.3
3a4f885
- Install the HighContrast icons and update the icon cache scriptlets to take
3a4f885
  this into account
3a4f885
Rex Dieter 233eef0
* Sat Dec 22 2012 Rex Dieter <rdieter@fedoraproject.org> - 0.15.2-2
Rex Dieter 233eef0
- -devel: drop Requires: glib2-devel, already gets pulled in via pkgconfig deps
Rex Dieter 233eef0
- -editor: add icon scriptlets
Rex Dieter 233eef0
- tighten subpkg deps via %%{_isa}
Rex Dieter 233eef0
Richard Hughes c111a01
* Tue Nov 20 2012 Richard Hughes <hughsient@gmail.com> - 0.15.2-1
Richard Hughes c111a01
- Update to 0.15.2
Richard Hughes c111a01
97501a9
* Fri Nov 09 2012 Kalev Lember <kalevlember@gmail.com> - 0.15.0-3
97501a9
- Move some of the rpm scriptlets back to %%posttrans
97501a9
  (glib-compile-schemas, icon cache)
97501a9
8d1dfda
* Thu Nov  8 2012 Marek Kasik <mkasik@redhat.com> - 0.15.0-2
8d1dfda
- Move dconf-editor's man page to the dconf-editor sub-package
8d1dfda
3a8df5e
* Wed Nov  7 2012 Marek Kasik <mkasik@redhat.com> - 0.15.0-1
3a8df5e
- Update to 0.15.0
3a8df5e
- Remove upstreamed patch
3a8df5e
38d8a9c
* Wed Nov  7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-4
38d8a9c
- Move %%posttrans commands to %%post (rpmlint related)
38d8a9c
a15bf4c
* Wed Nov  7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-3
a15bf4c
- Update License field
a15bf4c
- Update Source URL
a15bf4c
- Add link of corresponding bug for the memory leak patch
a15bf4c
89c7620
* Wed Nov  7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-2.1
89c7620
- Merge spec-file fixes from f18 branch
89c7620
7c8cf15
* Sun Oct 21 2012 Matthias Clasen <mclasen@redhat.com> - 0.14.0-2
7c8cf15
- Fix a memory leak
Richard Hughes 955a519
- Update to 0.14.0
Richard Hughes 955a519
78ac918
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.4-2
78ac918
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
78ac918
Richard Hughes 7678007
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 0.13.4-1
Richard Hughes 7678007
- Update to 0.13.4
Richard Hughes 7678007
Richard Hughes 3e11c37
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 0.13.0-2
Richard Hughes 3e11c37
- Add missing file to file list.
Richard Hughes 3e11c37
Richard Hughes 7f5479e
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 0.13.0-1
Richard Hughes 7f5479e
- Update to 0.13.0
Richard Hughes 7f5479e
bf18356
* Sat May 05 2012 Kalev Lember <kalevlember@gmail.com> - 0.12.1-1
bf18356
- Update to 0.12.1
bf18356
ce2ea46
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 0.12.0-1
ce2ea46
- Update to 0.12.0
ce2ea46
568c6fb
* Tue Mar 20 2012 Kalev Lember <kalevlember@gmail.com> - 0.11.7-1
568c6fb
- Update to 0.11.7
568c6fb
b3f4b99
* Fri Mar  9 2012 Matthias Clasen <mclasen@redhat.com> - 0.11.6-1
b3f4b99
- Update to 0.11.6
b3f4b99
4396b3e
* Mon Feb  6 2012 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1
4396b3e
- Update to 0.11.5
4396b3e
c6ae82f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
c6ae82f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c6ae82f
1223a9a
* Mon Nov 21 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.2-1
1223a9a
- Update to 0.11.2
1223a9a
dcdb4ba
* Fri Nov  4 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.0-2
dcdb4ba
- Fix a typo (#710700)
dcdb4ba
6663e5e
* Wed Nov  2 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.0-1
6663e5e
- Update to 0.11.0
6663e5e
9330e90
* Mon Sep 26 2011 Ray <rstrode@redhat.com> - 0.10.0-1
9330e90
- Update to 0.10.0
9330e90
f8ae494
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.9.1-1
f8ae494
- Update to 0.9.1
f8ae494
5b9cbca
* Tue Jul 26 2011 Matthias Clasen <mclasen@redhat.com> - 0.9.0-1
5b9cbca
- Update to 0.9.0
5b9cbca
a686a7d
* Wed May 11 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.7.5-1
a686a7d
- Update to 0.7.5
a686a7d
79d5a42
* Fri May  6 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.4-1
79d5a42
- Update to 0.7.4
2bdbd46
73cda45
* Wed Apr  6 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.3-2
73cda45
- Fix a crash in dconf-editor
73cda45
ec0942e
* Tue Mar 22 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.7.3-1
ec0942e
- Update to 0.7.3
ec0942e
bd13d6e
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.2-3
bd13d6e
- Rebuild for newer gtk
bd13d6e
f84ead1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
f84ead1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f84ead1
ecdeba0
* Sat Feb  5 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.2-1
ecdeba0
- Update to 0.7.2
ecdeba0
46e427c
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.1-1
46e427c
- Update to 0.7.1
46e427c
44f11fa
* Mon Jan 17 2011 Matthias Clasen <mclasen@redhat.com> - 0.7-1
44f11fa
- Update to 0.7
44f11fa
Jesse Keating 9392687
* Wed Sep 29 2010 jkeating - 0.5.1-2
Jesse Keating 9392687
- Rebuilt for gcc bug 634757
Jesse Keating 9392687
49c9e38
* Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1
49c9e38
- Update to 0.5.1
e60f9f5
9278151
* Thu Aug  5 2010 Matthias Clasen <mclasen@redhat.com> - 0.5-2
9278151
- Fix up shared library symlinks (#621733)
9278151
9993366
* Tue Aug  3 2010 Matthias Clasen <mclasen@redhat.com> - 0.5-1
9993366
- Update to 0.5
9993366
c59463f
* Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.4.2-1
c59463f
- Update to 0.4.2
c59463f
f972a00
* Wed Jun 30 2010 Colin Walters <walters@verbum.org> - 0.4.1-2
f972a00
- Changes to support snapshot builds
f972a00
be12cc1
* Sat Jun 26 2010 Matthias Clasen <mclasen@redhat.com> 0.4.1-1
be12cc1
- Update to 0.4.1
be12cc1
- Include dconf-editor (in a subpackage)
be12cc1
0113391
* Wed Jun 23 2010 Matthias Clasen <mclasen@redhat.com> 0.4-2
0113391
- Rebuild against glib 2.25.9
0113391
52ed479
* Sat Jun 12 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1
52ed479
- Update to 0.4
52ed479
ba7d756
* Tue Jun 08 2010 Richard Hughes <rhughes@redhat.com> 0.3.2-0.1.20100608
ba7d756
- Update to a git snapshot so that users do not get a segfault in every
ba7d756
  application using GSettings.
ba7d756
cf4a946
* Wed Jun 02 2010 Bastien Nocera <bnocera@redhat.com> 0.3.1-2
cf4a946
- Rebuild against latest glib2
cf4a946
Parag Nemade 0a3fed2
* Mon May 24 2010 Matthias Clasen <mclasen@redhat.com> 0.3.1-1
6a00252
- Update to 0.3.1
6eba9da
- Add a -devel subpackage
6a00252
0cb72a1
* Fri May 21 2010 Matthias Clasen <mclasen@redhat.com> 0.3-3
0cb72a1
- Make batched writes (e.g. with delayed settings) work
0cb72a1
183915f
* Thu May 20 2010 Matthias Clasen <mclasen@redhat.com> 0.3-2
183915f
- Make the registration of the backend work
183915f
183915f
* Wed May 19 2010 Matthias Clasen <mclasen@redhat.com> 0.3-1
183915f
- Initial packaging