keepnote-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Summary: A note taking application
  2. Summary(ja): ノート作成アプリケーション
  3. Name: keepnote
  4. Version: 0.6.2
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Editors
  7. License: GPLv2+
  8. URL: http://rasm.ods.org/keepnote/
  9. Source0: %{name}/%{name}-%{version}.tar.gz
  10. Source1: ja_JP.UTF8.po
  11. Patch1: Makefile_gettetxt.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. BuildRequires: python-devel
  15. BuildRequires: python-setuptools
  16. BuildRequires: gtkspell-devel
  17. BuildRequires: desktop-file-utils
  18. # for Japanese language file build
  19. BuildRequires: gettext
  20. Requires: pygtk2
  21. Requires: gnome-python-extras
  22. %description
  23. KeepNote is a note taking application that works on Windows, Linux, and Mac OS X.
  24. With KeepNote, you can store your class notes, TODO lists, research notes,
  25. journal entries, paper outlines, etc in a simple notebook hierarchy with
  26. rich-text formatting, images, and more. Using full-text search, you can
  27. retrieve any note for later reference.
  28. %description -l ja
  29. KeepNote は Windows、Linux、Mac OS X で動作するノート作成アプリケーションです。
  30. KeepNote では、あなたの分類ノート、TODO リスト、研究ノート、
  31. 日記のエントリ、新聞の概略などを階層化したリッチテキストフォーマットや
  32. 画像付きなどのシンプルなノートとして保存することができます。
  33. フルテキスト検索を使い、後で参照するために取ったメモを検索できます。
  34. %prep
  35. %setup -q
  36. #%patch1 -p1
  37. %{__cp} -f %{SOURCE1} gettext/ja_JP.UTF8.po
  38. make -f Makefile.gettext make LANG=ja_JP.UTF8
  39. %build
  40. python setup.py build
  41. %install
  42. rm -rf %{buildroot}
  43. python setup.py install --skip-build --root %{buildroot}
  44. desktop-file-install --vendor="" \
  45. --add-category="X-Office" \
  46. --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*
  47. %clean
  48. rm -rf %{buildroot}
  49. %post
  50. touch --no-create %{_datadir}/icons/hicolor || :
  51. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  52. update-desktop-database > /dev/null 2>&1 || :
  53. %postun
  54. touch --no-create %{_datadir}/icons/hicolor || :
  55. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  56. update-desktop-database > /dev/null 2>&1 || :
  57. %files
  58. %defattr(-,root,root,-)
  59. %doc LICENSE README
  60. %{_bindir}/%{name}
  61. %{_datadir}/applications/%{name}.desktop
  62. %{_datadir}/icons/hicolor/48x48/apps/keepnote.png
  63. %{_libdir}/python2.*/*
  64. %changelog
  65. * Tue Feb 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.2-1
  66. - new upstream release
  67. - updated Source1 and Patch1
  68. * Sat Feb 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-2
  69. - updated Source1
  70. * Sun Feb 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-1
  71. - new upstream release
  72. * Sat Nov 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6-2
  73. - added BuildRequires: gtkspell-devel
  74. - updated Source1
  75. * Sat Nov 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6-1
  76. - initial build for VineSeed
  77. * Fri Jul 31 2009 Texstar <texstar@gmail.com> 0.5.3-1pclos2009
  78. - create