Browse Source

fix ja.po

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8537 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 10 years ago
parent
commit
2592e3f176
2 changed files with 27 additions and 11 deletions
  1. 13 6
      m/mate-calc/mate-calc-vl.spec
  2. 14 5
      m/mate-panel/mate-panel-vl.spec

+ 13 - 6
m/mate-calc/mate-calc-vl.spec

@@ -1,12 +1,15 @@
 Summary:	Calculator for the Mate desktop environment
 Name:		mate-calc
 Version:	1.8.0
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 Source0:	http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
 License:	GPLv2
 Group:		Applications/Productivity
 URL:		http://mate-desktop.org/
 
+# Vine
+Patch1001:		mate-calc-1.8.0-ja.po.patch
+
 BuildRequires:	mate-common
 BuildRequires:	mate-doc-utils
 BuildRequires:	gtk2-devel
@@ -42,6 +45,7 @@ There is a single graphics driver for Gtk2 included with this release.
 
 %prep
 %setup -q
+%patch1001 -p1 -b .vine
 
 
 %build
@@ -84,18 +88,21 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc COPYING ChangeLog NEWS README
-%{_bindir}/mate-calc
-%{_bindir}/mate-calc-cmd
+%{_bindir}/%{name}
+%{_bindir}/%{name}-cmd
 %{_bindir}/mate-calculator
-%{_datadir}/applications/mate-calc.desktop
+%{_datadir}/applications/%{name}.desktop
 %{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml
 %{_datadir}/%{name}
 %{_datadir}/help/*
-%{_mandir}/man1/mate-calc.1.gz
-%{_mandir}/man1/mate-calc-cmd.1.gz
+%{_mandir}/man1/%{name}.1.gz
+%{_mandir}/man1/%{name}-cmd.1.gz
 
 
 %changelog
+* Sun Jun 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
+- add Patch1001 (mate-calc-1.8.0-ja.po.patch)
+
 * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
 - new upstream release
 - add BuildRequires: itstool

+ 14 - 5
m/mate-panel/mate-panel-vl.spec

@@ -1,13 +1,15 @@
 Summary:	The MATE Panel
 Name:		mate-panel
 Version:	1.8.0
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 
 Source0:	http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
-Source1:	panel-default-layout.mate.vine
+Source1:	vine.layout
 
 # for Vine
 Patch2000:	mate-panel-1.6.1-about-vine.patch
+Patch2001:	mate-panel-1.8.0-vine-layout.patch
+Patch2002:	mate-panel-1.8.0-ja.po.patch
 
 License:	GPLv2
 Group:		User Interface/Desktops
@@ -60,7 +62,7 @@ several applets:
     infamous 'Wanda the Fish'.
 
 
-%package	devel
+%package		devel
 Summary:        Development tools for mate-panel
 Summary(ja):    mate-panel の開発環境
 Group:          Development/Libraries
@@ -86,8 +88,8 @@ This package contains documentation for mate-panel.
 %prep
 %setup -q
 %patch2000 -p1 -b .vine
-
-cp -f %{SOURCE1} data/panel-default-layout.mate
+%patch2001 -p1 -b .vine
+%patch2002 -p1 -b .vine
 
 %build
 (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
@@ -109,6 +111,8 @@ cp -f %{SOURCE1} data/panel-default-layout.mate
 find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
 
+install -c -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}/layouts/
+
 %find_lang %{name}
 
 
@@ -179,6 +183,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 
 
 %changelog
+* Sun Jun 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
+- rename Source (vine.layout)
+- add Patch2001 (mate-panel-1.8.0-vine-layout.patch)
+- add Patch2002 (mate-panel-1.8.0-ja.po.patch)
+
 * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
 - new upstream release
 - change BuildRequires: libwnck-devel instead of libmatewnck-devel