Browse Source

GConf2: add gtk subpackage to include gconf-sanity-check-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2996 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 13 years ago
parent
commit
ba9fd574d8
1 changed files with 26 additions and 2 deletions
  1. 26 2
      G/GConf2/GConf2-vl.spec

+ 26 - 2
G/GConf2/GConf2-vl.spec

@@ -10,7 +10,7 @@ Summary: A process-transparent configuration system
 Summary(ja): プロセス透過型設定システム
 Name: GConf2
 Version: 2.32.1
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LGPL
 Group: System Environment/Base
 Source: http://ftp.gnome.org/pub/GNOME/sources/GConf/2.32/GConf-%{version}.tar.bz2
@@ -69,6 +69,22 @@ development using GConf.
 GConf 開発パッケージです。GConf を使って開発するために必要なファ
 イルが含まれています。
 
+%package gtk
+Summary: Graphical GConf utilities
+Summary(ja): GConf グラフィカルユーティリティ
+Group: System Environment/Base
+Requires: %{name} = %{version}-%{release}
+
+%description gtk
+The GConf2-gtk package contains graphical GConf utilities
+which require GTK+.
+
+%description -l ja gtk
+GConf2-gtk パッケージには gtk2 を利用したグラフィカルな GConf
+ユーティリティが含まれています。
+
+
+
 %if %{build_compat32}
 #######################################################################
 # compat32
@@ -116,7 +132,7 @@ GConf 開発パッケージです。GConf を使って開発するために必
 ## %patch4 -p1 -b .segv
 
 %build
-%configure --disable-gtk-doc --disable-static --enable-defaults-service
+%configure --disable-gtk-doc --disable-static --enable-defaults-service --with-gtk=2.0
 %__make %{?_smp_mflags}
 
 %install
@@ -182,6 +198,10 @@ fi
 %{_datadir}/gir-1.0
 %{_libdir}/pkgconfig/*
 
+%files gtk
+%defattr(-, root, root)
+%{_libexecdir}/gconf-sanity-check-2
+
 %if %{build_compat32}
 %files -n compat32-%{name}
 %defattr(-,root,root,-)
@@ -200,6 +220,10 @@ fi
 %endif
 
 %changelog
+* Thu Mar 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32.1-2
+- add gtk subpackage to include gconf-sanity-check-2
+- add --with-gtk=2.0
+
 * Sat Feb 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
 - new upstream release