forked from pool/dconf
Accepting request 132996 from GNOME:Next
Push G:N - Resubmit after adjusting based on the comments OBS-URL: https://build.opensuse.org/request/show/132996 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/dconf?expand=0&rev=50
This commit is contained in:
committed by
Git OBS Bridge
parent
eeba42506f
commit
69a983b6a2
33
dconf.spec
33
dconf.spec
@@ -17,20 +17,23 @@
|
||||
|
||||
|
||||
Name: dconf
|
||||
Version: 0.12.1
|
||||
Version: 0.13.90
|
||||
Release: 0
|
||||
Summary: Simple key-based configuration system
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Url: http://live.gnome.org/dconf
|
||||
Source: http://download.gnome.org/sources/dconf/0.12/%{name}-%{version}.tar.xz
|
||||
Source: http://download.gnome.org/sources/dconf/0.13/%{name}-%{version}.tar.xz
|
||||
Source99: baselibs.conf
|
||||
# For directory ownership
|
||||
BuildRequires: dbus-1
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: intltool >= 0.50.0
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: vala >= 0.15.1
|
||||
BuildRequires: vala >= 0.17.0
|
||||
BuildRequires: xsltproc
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.31.18
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.33.3
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
@@ -40,20 +43,21 @@ BuildRequires: gtk-doc
|
||||
# dconf provides a dbus service, but has no dependency on dbus in any way
|
||||
# (because it uses gdbus), so we need an explicit Requires
|
||||
Requires: dbus-1
|
||||
Recommends: %{name}-lang
|
||||
|
||||
%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
|
||||
%package -n libdconf1
|
||||
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
|
||||
%description -n libdconf1
|
||||
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.
|
||||
@@ -102,7 +106,7 @@ This package provides a graphical editor for dconf database.
|
||||
%package devel
|
||||
Summary: Simple key-based configuration system -- Development Files
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: libdconf0 = %{version}
|
||||
Requires: libdconf1 = %{version}
|
||||
|
||||
%description devel
|
||||
dconf is a low-level configuration system. Its main purpose is to
|
||||
@@ -119,6 +123,7 @@ 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.
|
||||
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@@ -139,10 +144,11 @@ have configuration storage systems.
|
||||
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/dconf-editor.desktop SystemSetup
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/dconf/{profile,db}
|
||||
%find_lang %{name}
|
||||
|
||||
%post -n libdconf0 -p /sbin/ldconfig
|
||||
%post -n libdconf1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libdconf0 -p /sbin/ldconfig
|
||||
%postun -n libdconf1 -p /sbin/ldconfig
|
||||
|
||||
%post -n libdconf-dbus-1-0 -p /sbin/ldconfig
|
||||
|
||||
@@ -173,11 +179,15 @@ mkdir -p %{buildroot}%{_sysconfdir}/dconf/{profile,db}
|
||||
%{_libexecdir}/dconf-service
|
||||
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
|
||||
# Bash completion helper
|
||||
%{_sysconfdir}/bash_completion.d/dconf-bash-completion.sh
|
||||
%{_datadir}/bash-completion/completions/dconf
|
||||
%{_mandir}/man[17]/dconf.[17]%{ext_man}
|
||||
%{_mandir}/man1/dconf-service.1%{?ext_man}
|
||||
# alternative databases
|
||||
%{_sysconfdir}/dconf/
|
||||
|
||||
%files -n libdconf0
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%files -n libdconf1
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libdconf.so.*
|
||||
|
||||
@@ -196,6 +206,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/dconf/{profile,db}
|
||||
%{_datadir}/dconf-editor/
|
||||
%{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
|
||||
%{_mandir}/man1/dconf-editor.1%{?ext_man}
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
|
Reference in New Issue
Block a user