[521] | 1 | Summary: CherryTree - note taking application |
---|
| 2 | Summary(ja): CherryTree - ノート作成アプリケーション |
---|
| 3 | Name: cherrytree |
---|
[1405] | 4 | Version: 0.12 |
---|
[521] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2+ |
---|
| 7 | Group: Applications/Productivity |
---|
[1283] | 8 | URL: http://www.giuspen.com/cherrytree/ |
---|
[938] | 9 | Source0: %{name}-%{version}.tar.gz |
---|
[1283] | 10 | Patch0: setup.patch |
---|
| 11 | |
---|
[521] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildArch: noarch |
---|
| 14 | |
---|
[1157] | 15 | BuildRequires: gettext |
---|
[1283] | 16 | BuildRequires: python |
---|
| 17 | BuildRequires: python-devel |
---|
[1157] | 18 | Requires: cairo |
---|
| 19 | Requires: pango |
---|
[521] | 20 | Requires: python |
---|
| 21 | Requires: pygtk2 |
---|
| 22 | Requires: gtksourceview2 |
---|
| 23 | Requires: pygtksourceview |
---|
| 24 | |
---|
| 25 | #Obsoletes: %name < %version |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | A hierarchical note taking application, featuring rich text and syntax highlighting. |
---|
| 29 | Features: |
---|
| 30 | - rich text (foreground color, background color and bold) |
---|
| 31 | - syntax highlighting (only when the rich text is disabled in the current node) |
---|
| 32 | - find a node, find in current node, find in all nodes |
---|
| 33 | - replace in node names, replace in current node, replace in all nodes |
---|
| 34 | - iteration of the latest find, iteration of the latest replace |
---|
| 35 | |
---|
| 36 | %description -l ja |
---|
| 37 | 階層型ノートの作成アプリケーションで、リッチテキストや構文の強調表示を備えています。 |
---|
| 38 | 特長: |
---|
| 39 | - リッチテキスト(前景色、背景色、太字) |
---|
| 40 | - 構文の強調表示(現在のノードではリッチテキストの場合だけ無効) |
---|
| 41 | - ノードの検出、現在のノードからの検索、すべてのノードからの検索 |
---|
| 42 | - ノードの名前の置換、現在のノードで置換、すべてのノードで置換 |
---|
| 43 | - 最新の検索・置換の繰り返し |
---|
| 44 | |
---|
| 45 | %prep |
---|
[938] | 46 | %setup -q |
---|
[1283] | 47 | %patch0 -p1 |
---|
[1405] | 48 | #chmod +x setup.py |
---|
[521] | 49 | |
---|
[1283] | 50 | sed -i 's|Comment=Hierarchical Note Taking|Comment=Hierarchical Note Taking\nComment[ja]=階層型ノートの作成|g' \ |
---|
| 51 | linux/cherrytree.desktop |
---|
| 52 | |
---|
[521] | 53 | %build |
---|
| 54 | |
---|
| 55 | %install |
---|
[1283] | 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | %{__python} setup.py install --prefix $RPM_BUILD_ROOT%{_prefix} |
---|
[521] | 58 | |
---|
[1283] | 59 | desktop-file-install --vendor="" \ |
---|
| 60 | --add-category="Utility" \ |
---|
| 61 | --dir %{buildroot}%_datadir/applications \ |
---|
| 62 | %{buildroot}%_datadir/applications/%{name}.desktop |
---|
[521] | 63 | |
---|
[1283] | 64 | %find_lang %{name} |
---|
[521] | 65 | |
---|
| 66 | %clean |
---|
| 67 | rm -rf %{buildroot} |
---|
| 68 | |
---|
| 69 | %post |
---|
| 70 | update-desktop-database %{_datadir}/applications |
---|
| 71 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 72 | |
---|
| 73 | %postun |
---|
| 74 | update-desktop-database %{_datadir}/applications |
---|
| 75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 76 | |
---|
| 77 | |
---|
[1283] | 78 | %files -f %{name}.lang |
---|
[521] | 79 | %defattr(-,root,root) |
---|
[1283] | 80 | %doc license |
---|
[521] | 81 | %{_bindir}/%{name} |
---|
[1283] | 82 | %{_datadir}/application-registry/ |
---|
| 83 | %{_datadir}/applications/ |
---|
[521] | 84 | %{_datadir}/%{name} |
---|
[1283] | 85 | %{_datadir}/icons/ |
---|
| 86 | %{_datadir}/mime/packages/ |
---|
| 87 | %{_datadir}/mime-info/ |
---|
| 88 | %{_libdir}/python2.?/site-packages/ |
---|
[521] | 89 | |
---|
| 90 | |
---|
| 91 | %changelog |
---|
[1405] | 92 | * Tue Jul 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12-1 |
---|
| 93 | - new upstream release |
---|
| 94 | - updated patch0 |
---|
| 95 | |
---|
[1283] | 96 | * Tue Jul 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.11-1 |
---|
| 97 | - new upstream release |
---|
| 98 | - changed URL |
---|
| 99 | - added patch0 to work around install error |
---|
| 100 | - dropt BuildRequires: ImageMagick |
---|
| 101 | - added BuildRequires: python, python-devel |
---|
| 102 | - modified install process |
---|
| 103 | - use setup.py in source |
---|
| 104 | - modified %%files |
---|
| 105 | - changed category to 'Utility' |
---|
| 106 | |
---|
[1157] | 107 | * Sun Jun 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-1 |
---|
| 108 | - new upstream release |
---|
| 109 | - added Requires: cairo, pango |
---|
| 110 | |
---|
[938] | 111 | * Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.6-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[617] | 114 | * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.3-1 |
---|
| 115 | - new upstream release |
---|
[1157] | 116 | - applied new naming policy to spec |
---|
[617] | 117 | |
---|
[521] | 118 | * Sun Mar 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.2-1 |
---|
| 119 | - new upstream release |
---|
| 120 | - added BuildRequires: ImageMagick |
---|
| 121 | |
---|
| 122 | * Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-1 |
---|
| 123 | - new upstream release |
---|
| 124 | |
---|
| 125 | * Mon Feb 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
| 128 | * Sat Feb 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-2 |
---|
| 129 | - rebuilt with python-2.6.4 |
---|
| 130 | |
---|
| 131 | * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.3-1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
| 134 | * Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
| 137 | * Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
| 140 | * Fri Dec 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-1 |
---|
| 141 | - initial build for Vine Linux |
---|
| 142 | |
---|
| 143 | * Sun Dec 13 2009 slick50 <lxgator@gmail.com> 0.7.1-1pclos2010 |
---|
| 144 | - 0.7.1 |
---|
| 145 | |
---|
| 146 | * Sat Dec 12 2009 slick50 <lxgator@gmail.com> 0.7-1pclos2010 |
---|
| 147 | - 0.7 |
---|
| 148 | |
---|
| 149 | * Tue Dec 08 2009 slick50 <lxgator@gmail.com> 0.6.3-1pclos2010 |
---|
| 150 | - 0.6.3 |
---|
| 151 | |
---|
| 152 | * Fri Dec 05 2009 slick50 <lxgator@gmail.com> 0.6.2-1pclos2010 |
---|
| 153 | - 0.6.2 |
---|
| 154 | |
---|
| 155 | * Thu Nov 26 2009 slick50 <lxgator@gmail.com> 0.6-1pclos2010 |
---|
| 156 | - 0.6 |
---|
| 157 | |
---|
| 158 | * Fri Nov 20 2009 slick50 <lxgator@gmail.com> 0.5.1-1pclos2010 |
---|
| 159 | - 0.5.1 |
---|
| 160 | |
---|
| 161 | * Thu Nov 19 2009 slick50 <lxgator@gmail.com> 0.5-1pclos2010 |
---|
| 162 | - 0.5 |
---|
| 163 | |
---|
| 164 | * Thu Nov 12 2009 slick50 <lxgator@gmail.com> 0.4-1pclos2010 |
---|
| 165 | - 0.4 |
---|
| 166 | |
---|
| 167 | * Thu Nov 05 2009 slick50 <lxgator@gmail.com> 0.3-1pclos2010 |
---|
| 168 | - 0.3 |
---|
| 169 | |
---|
| 170 | * Fri Oct 30 2009 slick50 <lxgator@gmail.com> 0.2-1pclos2010 |
---|
| 171 | - 0.2 |
---|
| 172 | |
---|
| 173 | * Fri Oct 16 2009 Texstar <texstar at gmail.com> 0.1-2pclos2010 |
---|
| 174 | - add missing dependency gnome-python-gtksourceview |
---|
| 175 | |
---|
| 176 | * Wed Oct 14 2009 slick50 <lxgator@gmail.com> 0.1-1pclos2010 |
---|
| 177 | - initial pkg |
---|
| 178 | |
---|