keepnote-vl.spec 3.6 KB

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