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