dconf/dconf.spec
2010-05-21 22:22:55 +00:00

65 lines
1.5 KiB
RPMSpec

Name: dconf
Version: 0.3
Release: 3%{?dist}
Summary: A configuration system
Group: System Environment/Base
License: LGPLv2+
URL: http://live.gnome.org/dconf
Source0: http://download.gnome.org/sources/dconf/0.3/dconf-%{version}.tar.bz2
BuildRequires: glib2-devel >= 2.25.6
Requires: dbus
# upstream fix for a case of needle/haystack confusion
Patch0: dconf-query.patch
# upstream fix for batched writes
Patch1: dconf-multi-write.patch
%description
dconf is a low-level configuration system. Its main purpose is to provide a
backend to the GSettings API in GLib.
%prep
%setup -q
%patch0 -p1 -b .query
%patch1 -p1 -b .multi-write
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/gio/modules/libdconfsettings.la
%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
%changelog
* Fri May 21 2010 Matthias Clasen <mclasen@redhat.com> 0.3-3
- Make batched writes (e.g. with delayed settings) work
* 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