cherrytree-vl.spec 7.4 KB

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