dconf/dconf.spec
2010-05-20 20:54:48 +00:00

59 lines
1.3 KiB
RPMSpec

Name: dconf
Version: 0.3
Release: 2%{?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
# fix a case of needle/haystack confusion
Patch0: dconf-query.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
%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
* 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