cherrytree-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. Summary: CherryTree - note taking application
  2. Summary(ja): CherryTree - ノート作成アプリケーション
  3. Name: cherrytree
  4. Version: 0.13
  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} --exec-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. * Fri Aug 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13-1
  75. - new upstream release
  76. * Tue Jul 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12-1
  77. - new upstream release
  78. * Tue Jul 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.11-1
  79. - new upstream release
  80. - changed URL
  81. - added patch0 to work around install error
  82. - dropt BuildRequires: ImageMagick
  83. - added BuildRequires: python, python-devel
  84. - modified install process
  85. - use setup.py in source
  86. - modified %%files
  87. - changed category to 'Utility'
  88. * Sun Jun 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-1
  89. - new upstream release
  90. - added Requires: cairo, pango
  91. * Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.6-1
  92. - new upstream release
  93. * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.3-1
  94. - new upstream release
  95. - applied new naming policy to spec
  96. * Sun Mar 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.2-1
  97. - new upstream release
  98. - added BuildRequires: ImageMagick
  99. * Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-1
  100. - new upstream release
  101. * Mon Feb 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9-1
  102. - new upstream release
  103. * Sat Feb 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-2
  104. - rebuilt with python-2.6.4
  105. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.3-1
  106. - new upstream release
  107. * Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
  108. - new upstream release
  109. * Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
  110. - new upstream release
  111. * Fri Dec 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-1
  112. - initial build for Vine Linux
  113. * Sun Dec 13 2009 slick50 <lxgator@gmail.com> 0.7.1-1pclos2010
  114. - 0.7.1
  115. * Sat Dec 12 2009 slick50 <lxgator@gmail.com> 0.7-1pclos2010
  116. - 0.7
  117. * Tue Dec 08 2009 slick50 <lxgator@gmail.com> 0.6.3-1pclos2010
  118. - 0.6.3
  119. * Fri Dec 05 2009 slick50 <lxgator@gmail.com> 0.6.2-1pclos2010
  120. - 0.6.2
  121. * Thu Nov 26 2009 slick50 <lxgator@gmail.com> 0.6-1pclos2010
  122. - 0.6
  123. * Fri Nov 20 2009 slick50 <lxgator@gmail.com> 0.5.1-1pclos2010
  124. - 0.5.1
  125. * Thu Nov 19 2009 slick50 <lxgator@gmail.com> 0.5-1pclos2010
  126. - 0.5
  127. * Thu Nov 12 2009 slick50 <lxgator@gmail.com> 0.4-1pclos2010
  128. - 0.4
  129. * Thu Nov 05 2009 slick50 <lxgator@gmail.com> 0.3-1pclos2010
  130. - 0.3
  131. * Fri Oct 30 2009 slick50 <lxgator@gmail.com> 0.2-1pclos2010
  132. - 0.2
  133. * Fri Oct 16 2009 Texstar <texstar at gmail.com> 0.1-2pclos2010
  134. - add missing dependency gnome-python-gtksourceview
  135. * Wed Oct 14 2009 slick50 <lxgator@gmail.com> 0.1-1pclos2010
  136. - initial pkg