cherrytree-vl.spec 5.3 KB

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