dconf/dconf.spec
2010-06-02 15:20:37 +00:00

91 lines
2.1 KiB
RPMSpec

%define glib2_version 2.25.7
Name: dconf
Version: 0.3.1
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 >= %{glib2_version}
Requires: dbus
Patch0: dconf-libs.patch
BuildRequires: automake autoconf libtool
%description
dconf is a low-level configuration system. Its main purpose is to provide a
backend to the GSettings API in GLib.
%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.
%prep
%setup -q
%patch0 -p1 -b .libs
automake --foreign
autoconf
%build
%configure --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/libdconf.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
%{_bindir}/dconf
%{_libdir}/libdconf.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/dconf
%{_libdir}/libdconf.so
%{_libdir}/pkgconfig/dconf.pc
%changelog
* Wed Jun 02 2010 Bastien Nocera <bnocera@redhat.com> 0.3.1-2
- Rebuild against latest glib2
* Tue May 24 2010 Matthias Clasen <mclasen@redhat.com> 0.3.1-1
- Update to 0.3.1
- Add a -devel subpackage
* 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