diff --git a/.cvsignore b/.cvsignore index e69de29..f6de853 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +dconf-0.3.tar.bz2 diff --git a/dconf-query.patch b/dconf-query.patch new file mode 100644 index 0000000..94f234f --- /dev/null +++ b/dconf-query.patch @@ -0,0 +1,10 @@ +diff -up dconf-0.3/gsettings/dconfsettingsbackend.c.query dconf-0.3/gsettings/dconfsettingsbackend.c +--- dconf-0.3/gsettings/dconfsettingsbackend.c.query 2010-05-20 08:50:59.598535660 -0400 ++++ dconf-0.3/gsettings/dconfsettingsbackend.c 2010-05-20 08:51:56.331309861 -0400 +@@ -164,5 +164,5 @@ g_io_module_unload (GIOModule *module) + gchar ** + g_io_module_query (void) + { +- return g_strsplit (",", G_SETTINGS_BACKEND_EXTENSION_POINT_NAME, 0); ++ return g_strsplit (G_SETTINGS_BACKEND_EXTENSION_POINT_NAME, ",", 0); + } diff --git a/dconf.spec b/dconf.spec new file mode 100644 index 0000000..9f6d594 --- /dev/null +++ b/dconf.spec @@ -0,0 +1,58 @@ +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 0.3-2 +- Make the registration of the backend work + +* Wed May 19 2010 Matthias Clasen 0.3-1 +- Initial packaging diff --git a/import.log b/import.log new file mode 100644 index 0000000..5eef7a2 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +dconf-0_3-2_fc14:HEAD:dconf-0.3-2.fc14.src.rpm:1274388763 diff --git a/sources b/sources index e69de29..7b0afe7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5dd100a0c9836ddecc6cdbc1fc9bf591 dconf-0.3.tar.bz2