Browse Source

dconf:
- split dconf-editor to subpackage.
- drop libgee dependency(R,BR)
- remove unneeded dependency(Requires)

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8562 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 10 years ago
parent
commit
5f39db31d9
1 changed files with 33 additions and 16 deletions
  1. 33 16
      d/dconf/dconf-vl.spec

+ 33 - 16
d/dconf/dconf-vl.spec

@@ -1,7 +1,7 @@
 # Basic Information
 Name:		dconf
 Version:	0.20.0
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 License:	LGPL
 Group:		System Environment/Base
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.20/%{name}-%{version}.tar.xz
@@ -15,18 +15,14 @@ Summary:	dconf is a low-level configuration system.
 Summary(ja):	dconfは、低レベル設定システムです。
 
 # Dependency
-Requires:	glib2
-Requires:	gtk3
-Requires:	libgee
-Requires:	libxml2
+Requires:	dbus
 
 BuildRequires:	glib2-devel
 BuildRequires:	gtk3-devel
-BuildRequires:	libgee-devel
 BuildRequires:	libxml2-devel
 BuildRequires:	dbus-devel
 BuildRequires:	libxslt-devel
-BuildRequires:	vala
+BuildRequires:	vala-devel
 BuildRequires:	docbook-style-xsl
 
 %description
@@ -44,8 +40,6 @@ Summary(ja):	%{name} の開発用ファイル
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	glib2-devel
-Requires:	gtk3-devel
-Requires:	libgee-devel
 Requires:	libxml2-devel
 Requires:	dbus-devel
 
@@ -53,6 +47,18 @@ Requires:	dbus-devel
 This package contains the headers that programmers will need to develop
 applications which will use %{name}.
 
+%package editor
+Summary:        Editor/admin tool for dconf
+Summary(ja):    dconf の編集/管理ツール
+Group:          Applications/System
+Requires:	%{name} = %{version}-%{release}
+
+%description editor
+dconf-editor allows you to browse and modify dconf configuration.
+
+%description -l ja editor
+dconf-editor により dconf の設定を参照したり変更したりすることができます。
+
 %prep
 %setup -q
 
@@ -94,18 +100,13 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 %defattr(-,root,root)
 %doc COPYING NEWS
 %{_bindir}/dconf
-%{_bindir}/dconf-editor
 %{_libdir}/gio/modules/libdconfsettings.so
 %{_libdir}/libdconf*.so.*
 %{_libexecdir}/dconf-service
-%{_datadir}/appdata/dconf-editor.appdata.xml
-%{_datadir}/applications/dconf-editor.desktop
 %{_datadir}/bash-completion/completions/dconf
 %{_datadir}/dbus-1/services/ca.desrt.dconf.service
-%{_datadir}/glib-2.0/schemas/*.xml
-%{_datadir}/icons/hicolor/*/apps/*
-%{_datadir}/icons/HighContrast/*/apps/*
-%{_mandir}/man1/*.gz
+%{_mandir}/man1/dconf.1.gz
+%{_mandir}/man1/dconf-service.1.gz
 %{_mandir}/man7/dconf.7.gz
 
 %files devel
@@ -118,7 +119,23 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 %{_datadir}/vala/vapi/dconf.deps
 %{_datadir}/vala/vapi/dconf.vapi
 
+%files editor
+%defattr(-, root, root, -)
+%{_bindir}/dconf-editor
+%{_datadir}/appdata/dconf-editor.appdata.xml
+%{_datadir}/applications/dconf-editor.desktop
+%{_datadir}/glib-2.0/schemas/*.xml
+%{_datadir}/icons/hicolor/*/apps/*
+%{_datadir}/icons/HighContrast/*/apps/*
+%{_mandir}/man1/dconf-editor.1.gz
+
+
 %changelog
+* Mon Jun 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.20.0-2
+- split dconf-editor to subpackage.
+- drop libgee dependency(R,BR)
+- remove unneeded dependency(Requires)
+
 * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.0-1
 - new upstream release