Browse Source

- update translation. (test)
- fixed help uri of gnome-screenshot.
- show menu item of gnome-search-tool.


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

yasumichi 13 years ago
parent
commit
3100c02509
1 changed files with 31 additions and 6 deletions
  1. 31 6
      g/gnome-utils/gnome-utils-vl.spec

+ 31 - 6
g/gnome-utils/gnome-utils-vl.spec

@@ -12,15 +12,21 @@ Summary: GNOME utility programs.
 Summary(ja): GNOME ユーティリティプログラム
 Name: gnome-utils
 Version: 3.1.92
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPLv2+
 Group: Applications/System
 URL: http://www.gnome.org
 
 Source: %{name}-%{version}.tar.xz
-Source1: gnome-utils.2-32.ja.po
+# Start testing
+#Source1: gnome-utils.2-32.ja.po
+Source2: interface.ja.po
+Source3: gsearchtool-help.ja.po
+Source4: gnome-search-tool_window.png
+# End testing
 Patch2: gnome-utils-2.26.0-gdate.patch
 
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  glib2-devel >= %{glib2_version}
 BuildRequires:  pango-devel >= %{pango_version}
@@ -91,16 +97,30 @@ This package contains GNOME screenshot utility.
 
 %prep
 %setup -q
-cp %{SOURCE1} po/ja.po
+# Start testing
+#cp %{SOURCE1} po/ja.po
+%{__cp} %{SOURCE2} po/ja.po
+%{__mkdir} gsearchtool/help/ja
+%{__cp} %{SOURCE3} gsearchtool/help/ja/ja.po
+%{__mkdir} gsearchtool/help/ja/figures
+%{__cp} %{SOURCE4} gsearchtool/help/ja/figures/
+# End testing
 #%patch2 -p1
 
+# fix help link
+sed -i "s/ghelp:user-guide#goseditmainmenu-53/ghelp:gnome-help#screen-shot-record/" \
+	gnome-screenshot/gnome-screenshot.c
+
 # Hide from menus
-pushd gsearchtool
-echo "NoDisplay=true" >> gnome-search-tool.desktop.in
-popd
+#pushd gsearchtool
+#echo "NoDisplay=true" >> gnome-search-tool.desktop.in
+#popd
 
 %build
 %configure --disable-scrollkeeper --disable-schemas-install
+# Start testing
+sed -i "s/ it ko / it ja ko /" gsearchtool/help/Makefile
+# End testing
 make %{?_smp_mflags}
 
 %install
@@ -247,6 +267,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 
 
 %changelog
+* Sat Sep 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.92-2
+- update translation. (test)
+- fixed help uri of gnome-screenshot.
+- show menu item of gnome-search-tool.
+
 * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
 - new upstream release