Accepting request 45068 from GNOME:Factory

Copy from GNOME:Factory/dconf based on submit request 45068 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/45068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dconf?expand=0&rev=1
This commit is contained in:
OBS User autobuild 2010-08-23 16:23:28 +00:00 committed by Git OBS Bridge
commit 8ef20800fd
5 changed files with 188 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
dconf-0.5.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:466dfdd7ac435fb8ac4fb4223d099a4039f6f1beef3e3cfe4e4273c46f9bf6e4
size 165786

11
dconf.changes Normal file
View File

@ -0,0 +1,11 @@
-------------------------------------------------------------------
Fri Aug 6 23:46:25 CEST 2010 - vuntz@opensuse.org
- Update to version 0.5.
- Rework the package for inclusion in Factory.
-------------------------------------------------------------------
Fri Aug 6 14:41:30 UTC 2010 - dimstar@opensuse.org
- Initial dconf package.

150
dconf.spec Normal file
View File

@ -0,0 +1,150 @@
#
# spec file for package dconf (Version 0.5)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: dconf
Version: 0.5
Release: 1
# FIXME: remove SUSE_ASNEEDED=0 when this is fixed: https://bugzilla.gnome.org/show_bug.cgi?id=626280
License: LGPLv2.1+
Summary: Simple key-based configuration system
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
BuildRequires: vala-devel
BuildRequires: pkgconfig(gee-1.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libxml-2.0)
%description
dconf is a low-level configuration system. Its main purpose is to
provide a backend to GSettings on platforms that don't already
have configuration storage systems.
%package -n libdconf0
License: LGPLv2.1+
Summary: Simple key-based configuration system -- Library
Group: System/Libraries
# The library doesn't really work if the dconf service is not reachable, so we
# need a Requires
Requires: %{name} = %{version}
%description -n libdconf0
dconf is a low-level configuration system. Its main purpose is to
provide a backend to GSettings on platforms that don't already
have configuration storage systems.
%package -n gsettings-backend-dconf
License: LGPLv2.1+
Summary: Simple key-based configuration system -- GSettings Backend
Group: System/Libraries
Requires: %{name} = %{version}
# We really want this to be used as the default GSettings backend
Supplements: libgio-2_0-0
%glib2_gio_module_requires
%description -n gsettings-backend-dconf
dconf is a low-level configuration system. Its main purpose is to
provide a backend to GSettings on platforms that don't already
have configuration storage systems.
This package provides a GSettings backend that uses dconf to store
the settings.
%package editor
License: LGPLv2.1+
Summary: Simple key-based configuration system -- Graphical Editor
Group: System/GUI/GNOME
Requires: %{name} = %{version}
%description editor
dconf is a low-level configuration system. Its main purpose is to
provide a backend to GSettings on platforms that don't already
have configuration storage systems.
This package provides a graphical editor for dconf database.
%package devel
License: LGPLv2.1+
Summary: Simple key-based configuration system -- Development Files
Group: Development/Libraries/GNOME
Requires: libdconf0 = %{version}
%description devel
dconf is a low-level configuration system. Its main purpose is to
provide a backend to GSettings on platforms that don't already
have configuration storage systems.
%prep
%setup -q
%build
export SUSE_ASNEEDED=0
%configure \
--disable-static
%__make %{?_smp_flags}
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%post -n libdconf0 -p /sbin/ldconfig
%postun -n libdconf0 -p /sbin/ldconfig
%post -n gsettings-backend-dconf
%glib2_gio_module_post
%postun -n gsettings-backend-dconf
%glib2_gio_module_postun
%files
%defattr(-, root, root)
%doc COPYING NEWS
# small utility to read values in the database
%{_bindir}/dconf
# service is needed for write
%{_libexecdir}/dconf-service
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
%{_datadir}/dbus-1/system-services/ca.desrt.dconf.service
%files -n libdconf0
%defattr(-, root, root)
%{_libdir}/libdconf.so.*
%{_libdir}/girepository-1.0/dconf-0.3.typelib
%files -n gsettings-backend-dconf
%defattr(-, root, root)
%{_libdir}/gio/modules/libdconfsettings.so
%files editor
%defattr(-, root, root)
%{_bindir}/dconf-editor
%files devel
%defattr(-, root, root)
%doc %{_datadir}/gtk-doc/html/dconf/
%{_includedir}/dconf/
%{_libdir}/libdconf.so
%{_libdir}/pkgconfig/dconf.pc
%{_datadir}/gir-1.0/*.gir
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/dconf.*
%changelog