cherrytree-vl.spec 5.0 KB

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