Browse Source

keepnote-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5176 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh 13 years ago
parent
commit
58871b0c63
1 changed files with 10 additions and 3 deletions
  1. 10 3
      k/keepnote/keepnote-vl.spec

+ 10 - 3
k/keepnote/keepnote-vl.spec

@@ -3,7 +3,7 @@
 Summary:        A note taking application
 Summary(ja):    ノート作成アプリケーション
 Name:           keepnote
-Version:        0.7.5
+Version:        0.7.6
 Release:        1%{?_dist_release}
 Group:          Applications/Editors
 License:        GPLv2+
@@ -12,6 +12,7 @@ Source0:        %{name}/%{name}-%{version}.tar.gz
 #Source1:        ja_JP.UTF8.po
 
 Patch1:         Makefile_gettetxt.patch
+Patch2:         fix_desktop.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
@@ -44,10 +45,10 @@ KeepNote では、あなたの分類ノート、TODO リスト、研究ノート
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 #%{__cp} -f %{SOURCE1} gettext/ja_JP.UTF8.po
 #make -f Makefile.gettext make LANG=ja_JP.UTF8
-#sed -i "s/Categories=Office/Categories=Office;/g" desktop/keepnote.desktop
 
 %build
 python setup.py build
@@ -59,9 +60,11 @@ python setup.py install --skip-build --root %{buildroot}
 
 desktop-file-install --vendor="" \
      --delete-original \
-     --add-category="Office" \
+     --add-category="Office;" \
      --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*
 
+
+
 %clean
 rm -rf %{buildroot}
 
@@ -86,6 +89,10 @@ update-desktop-database > /dev/null 2>&1 || :
 
 
 %changelog
+* Wed Nov 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.6-1
+- new upstream release
+- added patch2 to fix desktop file
+
 * Mon Sep 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.5-1
 - new upstream release