cherrytree-vl.spec 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Summary: CherryTree - note taking application
  3. Summary(ja): CherryTree - ノート作成アプリケーション
  4. Name: cherrytree
  5. Version: 0.36.9
  6. Release: 1%{?_dist_release}
  7. License: GPLv2+
  8. Group: Applications/Productivity
  9. URL: http://www.giuspen.com/cherrytree/
  10. Source0: %{name}-%{version}.tar.xz
  11. #Patch0: setup.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: gettext
  16. BuildRequires: python
  17. BuildRequires: python-devel
  18. BuildRequires: python-setuptools
  19. Requires: cairo
  20. Requires: pango
  21. Requires: python
  22. Requires: pygtk2
  23. Requires: gtksourceview2
  24. Requires: pygtksourceview
  25. Requires: python-enchant
  26. Requires: dbus-python
  27. #Obsoletes: %name < %version
  28. %description
  29. A hierarchical note taking application, featuring rich text and syntax highlighting.
  30. Features:
  31. - rich text (foreground color, background color and bold)
  32. - syntax highlighting (only when the rich text is disabled in the current node)
  33. - find a node, find in current node, find in all nodes
  34. - replace in node names, replace in current node, replace in all nodes
  35. - iteration of the latest find, iteration of the latest replace
  36. %description -l ja
  37. 階層型ノートの作成アプリケーションで、リッチテキストや構文の強調表示を備えています。
  38. 特長:
  39. - リッチテキスト(前景色、背景色、太字)
  40. - 構文の強調表示(現在のノードではリッチテキストの場合だけ無効)
  41. - ノードの検出、現在のノードからの検索、すべてのノードからの検索
  42. - ノードの名前の置換、現在のノードで置換、すべてのノードで置換
  43. - 最新の検索・置換の繰り返し
  44. %prep
  45. %setup -q
  46. #%patch0 -p1
  47. #chmod +x setup.py
  48. sed -i 's|Comment=Hierarchical Note Taking|Comment=Hierarchical Note Taking\nComment[ja]=階層型ノートの作成|g' \
  49. linux/cherrytree.desktop
  50. %build
  51. %install
  52. rm -rf $RPM_BUILD_ROOT
  53. %{__python} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
  54. desktop-file-install --vendor="" \
  55. --add-category="Utility" \
  56. --dir %{buildroot}%_datadir/applications \
  57. %{buildroot}%_datadir/applications/%{name}.desktop
  58. %find_lang %{name}
  59. %clean
  60. rm -rf %{buildroot}
  61. %post
  62. update-desktop-database %{_datadir}/applications
  63. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  64. %postun
  65. update-desktop-database %{_datadir}/applications
  66. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  67. %files -f %{name}.lang
  68. %defattr(-,root,root)
  69. %doc license.txt
  70. %{_bindir}/%{name}
  71. %{_datadir}/appdata/%{name}.appdata.xml
  72. %{_datadir}/application-registry/
  73. %{_datadir}/applications/
  74. %{_datadir}/%{name}
  75. %{_datadir}/icons/
  76. %{_datadir}/mime/packages/
  77. %{_datadir}/mime-info/
  78. %{_mandir}/man1/
  79. %{python_sitelib}/*
  80. %changelog
  81. * Tue Apr 26 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.36.9-1
  82. - new upstream release
  83. * Fri Aug 29 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.34.1-1
  84. - new upstream release
  85. - added Requires: dbus-python
  86. * Sun Jan 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.32.0-1
  87. - new upstream release
  88. * Fri Sep 06 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.30.5-1
  89. - new upstream release
  90. - added Requires: python-enchant
  91. * Sat Mar 30 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.29.4-1
  92. - new upstream release
  93. * Sat Mar 16 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.29.3-1
  94. - new upstream release
  95. * Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.29.2-1
  96. - new upstream release
  97. * Sat Jan 12 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.29-1
  98. - new upstream release
  99. * Fri Nov 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.28.5-1
  100. - new upstream release
  101. * Fri Nov 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.28.3-1
  102. - new upstream release
  103. * Tue Oct 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.27.1-1
  104. - new upstream release
  105. * Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.27-1
  106. - new upstream release
  107. - changed source archive type to xz
  108. * Mon Jul 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.26.3-1
  109. - new upstream release
  110. * Sat Jun 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.26.2-1
  111. - new upstream release
  112. * Fri Jun 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.26.1-1
  113. - new upstream release
  114. * Fri May 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.26-1
  115. - new upstream release
  116. - changed source archive type to bz2
  117. * Sun Feb 26 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.25.4-1
  118. - new upstream release
  119. * Sun Feb 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.25.3-1
  120. - new upstream release
  121. * Wed Jan 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.25.1-1
  122. - new upstream release
  123. * Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.24-1
  124. - new upstream release
  125. * Fri Sep 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.23.1-1
  126. - new upstream release
  127. * Wed Sep 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.23-1
  128. - new upstream release
  129. * Wed Jul 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22.2-1
  130. - new upstream release
  131. * Wed Jul 06 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22.1-1
  132. - new upstream release
  133. * Sun Jun 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22-1
  134. - new upstream release
  135. - added BuildRequires: desktop-file-utils, python-setuptools
  136. * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21.3-1
  137. - new upstream release
  138. * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21.1-1
  139. - new upstream release
  140. * Tue Jan 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.3-1
  141. - new upstream release
  142. * Fri Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.1-1
  143. - new upstream release
  144. * Sun Jan 2 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1
  145. - new upstream release
  146. - used python macro
  147. * Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17.1-1
  148. - new upstream release
  149. * Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16-1
  150. - new upstream release
  151. - dropt Patch0
  152. * Sat Oct 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-1
  153. - new upstream release
  154. - deleted unnecessary code in patch0
  155. * Mon Sep 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.2-1
  156. - new upstream release
  157. * Wed Sep 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.1-1
  158. - new upstream release
  159. - recreated patch0
  160. * Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1
  161. - new upstream release
  162. * Fri Aug 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13-1
  163. - new upstream release
  164. * Tue Jul 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12-1
  165. - new upstream release
  166. * Tue Jul 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.11-1
  167. - new upstream release
  168. - changed URL
  169. - added patch0 to work around install error
  170. - dropt BuildRequires: ImageMagick
  171. - added BuildRequires: python, python-devel
  172. - modified install process
  173. - use setup.py in source
  174. - modified %%files
  175. - changed category to 'Utility'
  176. * Sun Jun 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-1
  177. - new upstream release
  178. - added Requires: cairo, pango
  179. * Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.6-1
  180. - new upstream release
  181. * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.3-1
  182. - new upstream release
  183. - applied new naming policy to spec
  184. * Sun Mar 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.2-1
  185. - new upstream release
  186. - added BuildRequires: ImageMagick
  187. * Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-1
  188. - new upstream release
  189. * Mon Feb 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9-1
  190. - new upstream release
  191. * Sat Feb 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-2
  192. - rebuilt with python-2.6.4
  193. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.3-1
  194. - new upstream release
  195. * Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
  196. - new upstream release
  197. * Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
  198. - new upstream release
  199. * Fri Dec 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-1
  200. - initial build for Vine Linux
  201. * Sun Dec 13 2009 slick50 <lxgator@gmail.com> 0.7.1-1pclos2010
  202. - 0.7.1
  203. * Sat Dec 12 2009 slick50 <lxgator@gmail.com> 0.7-1pclos2010
  204. - 0.7
  205. * Tue Dec 08 2009 slick50 <lxgator@gmail.com> 0.6.3-1pclos2010
  206. - 0.6.3
  207. * Sat Dec 05 2009 slick50 <lxgator@gmail.com> 0.6.2-1pclos2010
  208. - 0.6.2
  209. * Thu Nov 26 2009 slick50 <lxgator@gmail.com> 0.6-1pclos2010
  210. - 0.6
  211. * Fri Nov 20 2009 slick50 <lxgator@gmail.com> 0.5.1-1pclos2010
  212. - 0.5.1
  213. * Thu Nov 19 2009 slick50 <lxgator@gmail.com> 0.5-1pclos2010
  214. - 0.5
  215. * Thu Nov 12 2009 slick50 <lxgator@gmail.com> 0.4-1pclos2010
  216. - 0.4
  217. * Thu Nov 05 2009 slick50 <lxgator@gmail.com> 0.3-1pclos2010
  218. - 0.3
  219. * Fri Oct 30 2009 slick50 <lxgator@gmail.com> 0.2-1pclos2010
  220. - 0.2
  221. * Fri Oct 16 2009 Texstar <texstar at gmail.com> 0.1-2pclos2010
  222. - add missing dependency gnome-python-gtksourceview
  223. * Wed Oct 14 2009 slick50 <lxgator@gmail.com> 0.1-1pclos2010
  224. - initial pkg