Browse Source

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

kudoh 14 years ago
parent
commit
1a8b010a5f
1 changed files with 12 additions and 1 deletions
  1. 12 1
      m/medit/medit-vl.spec

+ 12 - 1
m/medit/medit-vl.spec

@@ -1,5 +1,5 @@
 %define name     medit
-%define version  0.10.1
+%define version  0.10.4
 
 Name:        %{name}
 Version:     %{version}
@@ -10,6 +10,8 @@ Group:       Applications/Editors
 License:     GPLv2+
 URL:         http://mooedit.sourceforge.net/
 Source0:     http://prdownloads.sourceforge.net/mooedit/%{name}-%{version}.tar.bz2
+Source1:     medit_ja.po
+
 #Patch1:      medit-0.9.2-do-not-update-system-files.patch
 BuildRoot:   %{_tmppath}/%{name}-%{version}-root
 
@@ -51,6 +53,9 @@ Medit はマルチプラットフォームな GTK+2 テキストエディタで
 %prep
 %setup -q
 #%patch1 -p1
+sed -i 's|fr|fr\nja|g' po/LINGUAS
+
+%__cp -f %{SOURCE1} po/ja.po
 
 %build
 cmake -D CMAKE_INSTALL_PREFIX=/usr .
@@ -92,8 +97,14 @@ rm -rf %buildroot
 %{_datadir}/icons/hicolor/*
 %{_datadir}/locale/*
 %{_docdir}/%{name}/*
+%{_mandir}/man?/
 
 %changelog
+* Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10.4-1
+- new upstream release
+- added Japanese language file
+- added man directory in %files
+
 * Sun Mar 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10.1-1
 - new upstream release
 - applied new naming policy to spec