2010-08-04 02:40:46 +00:00
|
|
|
%define glib2_version 2.25.12
|
2010-05-25 04:35:15 +00:00
|
|
|
|
2010-05-20 20:54:48 +00:00
|
|
|
Name: dconf
|
2010-08-04 02:40:46 +00:00
|
|
|
Version: 0.5
|
2010-07-13 00:31:40 +00:00
|
|
|
Release: 1
|
2010-05-20 20:54:48 +00:00
|
|
|
Summary: A configuration system
|
|
|
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://live.gnome.org/dconf
|
2010-06-25 19:27:25 +00:00
|
|
|
#VCS: git:git://git.gnome.org/dconf
|
2010-06-12 20:12:33 +00:00
|
|
|
Source0: http://download.gnome.org/sources/dconf/0.4/dconf-%{version}.tar.bz2
|
2010-05-20 20:54:48 +00:00
|
|
|
|
2010-05-25 04:35:15 +00:00
|
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
2010-05-20 20:54:48 +00:00
|
|
|
Requires: dbus
|
|
|
|
|
2010-06-26 15:28:33 +00:00
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2010-08-04 03:25:06 +00:00
|
|
|
BuildRequires: vala-devel >= 0.9.4
|
2010-06-26 15:28:33 +00:00
|
|
|
BuildRequires: libgee-devel
|
2010-08-04 03:25:06 +00:00
|
|
|
# BuildRequires: gobject-introspection-devel
|
2010-06-30 17:14:22 +00:00
|
|
|
# Bootstrap requirements
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: vala
|
2010-08-04 02:48:28 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2010-06-12 20:12:33 +00:00
|
|
|
|
2010-05-20 20:54:48 +00:00
|
|
|
%description
|
|
|
|
dconf is a low-level configuration system. Its main purpose is to provide a
|
|
|
|
backend to the GSettings API in GLib.
|
|
|
|
|
2010-05-25 04:35:15 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Header files and libraries for dconf development
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: glib2-devel >= %{glib2_version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
dconf development package. Contains files needed for doing software
|
|
|
|
development using dconf.
|
|
|
|
|
2010-06-26 15:28:33 +00:00
|
|
|
%package editor
|
|
|
|
Summary: Configuration editor for dconf
|
|
|
|
Group: Applications/System
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description editor
|
|
|
|
docnf-editor allows you to browse and modify dconf databases.
|
|
|
|
|
|
|
|
|
2010-05-20 20:54:48 +00:00
|
|
|
%prep
|
2010-06-12 20:12:33 +00:00
|
|
|
%setup -q
|
2010-05-20 20:54:48 +00:00
|
|
|
|
|
|
|
%build
|
2010-06-30 17:14:22 +00:00
|
|
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
|
|
|
|
%configure $CONFIGFLAGS \
|
|
|
|
--disable-static \
|
|
|
|
)
|
2010-05-20 20:54:48 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/gio/modules/libdconfsettings.so
|
|
|
|
%{_libexecdir}/dconf-service
|
|
|
|
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
|
|
|
|
%{_datadir}/dbus-1/system-services/ca.desrt.dconf.service
|
2010-05-25 04:35:15 +00:00
|
|
|
%{_bindir}/dconf
|
|
|
|
%{_libdir}/libdconf.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/dconf
|
|
|
|
%{_libdir}/libdconf.so
|
|
|
|
%{_libdir}/pkgconfig/dconf.pc
|
2010-08-04 03:25:06 +00:00
|
|
|
# temporarily disable introspection until we have a new-enough goi
|
|
|
|
#%{_libdir}/girepository-1.0/dconf-0.5.typelib
|
|
|
|
#%{_datadir}/gir-1.0/dconf-0.5.gir
|
2010-06-12 20:12:33 +00:00
|
|
|
%{_datadir}/gtk-doc/html/dconf
|
2010-08-04 03:39:19 +00:00
|
|
|
%{_datadir}/vala
|
2010-05-20 20:54:48 +00:00
|
|
|
|
2010-06-26 15:28:33 +00:00
|
|
|
%files editor
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/dconf-editor
|
|
|
|
|
2010-05-20 20:54:48 +00:00
|
|
|
%changelog
|
2010-08-04 02:40:46 +00:00
|
|
|
* Tue Aug 3 2010 Matthias Clasen <mclasen@redhat.com> - 0.5-1
|
|
|
|
- Update to 0.5
|
|
|
|
|
2010-07-13 00:31:40 +00:00
|
|
|
* Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.4.2-1
|
|
|
|
- Update to 0.4.2
|
|
|
|
|
2010-06-30 17:14:22 +00:00
|
|
|
* Wed Jun 30 2010 Colin Walters <walters@verbum.org> - 0.4.1-2
|
|
|
|
- Changes to support snapshot builds
|
|
|
|
|
2010-06-26 15:28:33 +00:00
|
|
|
* Sat Jun 26 2010 Matthias Clasen <mclasen@redhat.com> 0.4.1-1
|
|
|
|
- Update to 0.4.1
|
|
|
|
- Include dconf-editor (in a subpackage)
|
|
|
|
|
2010-06-23 18:33:13 +00:00
|
|
|
* Wed Jun 23 2010 Matthias Clasen <mclasen@redhat.com> 0.4-2
|
|
|
|
- Rebuild against glib 2.25.9
|
|
|
|
|
2010-06-12 19:32:56 +00:00
|
|
|
* Sat Jun 12 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1
|
|
|
|
- Update to 0.4
|
|
|
|
|
2010-06-08 14:32:16 +00:00
|
|
|
* Tue Jun 08 2010 Richard Hughes <rhughes@redhat.com> 0.3.2-0.1.20100608
|
|
|
|
- Update to a git snapshot so that users do not get a segfault in every
|
|
|
|
application using GSettings.
|
|
|
|
|
2010-06-02 15:20:37 +00:00
|
|
|
* Wed Jun 02 2010 Bastien Nocera <bnocera@redhat.com> 0.3.1-2
|
|
|
|
- Rebuild against latest glib2
|
|
|
|
|
2010-05-25 04:06:42 +00:00
|
|
|
* Tue May 24 2010 Matthias Clasen <mclasen@redhat.com> 0.3.1-1
|
|
|
|
- Update to 0.3.1
|
2010-05-25 04:35:15 +00:00
|
|
|
- Add a -devel subpackage
|
2010-05-25 04:06:42 +00:00
|
|
|
|
2010-05-21 22:22:55 +00:00
|
|
|
* Fri May 21 2010 Matthias Clasen <mclasen@redhat.com> 0.3-3
|
|
|
|
- Make batched writes (e.g. with delayed settings) work
|
|
|
|
|
2010-05-20 20:54:48 +00:00
|
|
|
* Thu May 20 2010 Matthias Clasen <mclasen@redhat.com> 0.3-2
|
|
|
|
- Make the registration of the backend work
|
|
|
|
|
|
|
|
* Wed May 19 2010 Matthias Clasen <mclasen@redhat.com> 0.3-1
|
|
|
|
- Initial packaging
|