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