rednotebook-vl.spec 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: rednotebook
  3. Version: 1.10.1
  4. Release: 1%{?_dist_release}
  5. Summary: A desktop journal
  6. Summary(ja): デスクトップダイアリー
  7. Group: Applications/Productivity
  8. License: GPLv2+
  9. URL: http://rednotebook.sourceforge.net/
  10. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  11. #Patch0: fix_install_data.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. BuildRequires: python-devel
  15. BuildRequires: python-setuptools
  16. BuildRequires: desktop-file-utils
  17. Requires: PyYAML
  18. Requires: pygtk2
  19. Requires: gnome-python-extras
  20. Requires: hicolor-icon-theme
  21. Requires: pywebkitgtk
  22. Requires: python-chardet
  23. %description
  24. RedNotebook is a desktop journal that makes it very easy for you
  25. to keep track of the stuff you do and the thoughts you have. This
  26. journal software helps you to write whole passages or just facts,
  27. and does so in style.
  28. %description-l ja
  29. RedNotebook はあなたの行動、及び考えているアイデアの推移の
  30. 追跡を非常に簡単にするデスクトップ・ジャーナルです。
  31. このジャーナル・ソフトウェアは、あなたが全体の推移、
  32. あるいは事実の記載をスタイリッシュに行えるよう手助けします。
  33. %prep
  34. %setup -q
  35. #%patch0 -p1
  36. %build
  37. python setup.py build
  38. %install
  39. rm -rf %{buildroot}
  40. python setup.py install --skip-build --root %{buildroot}
  41. %find_lang %{name}
  42. %clean
  43. rm -rf %{buildroot}
  44. %post
  45. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  46. %postun
  47. if [ $1 -eq 0 ] ; then
  48. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  49. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  50. fi
  51. %posttrans
  52. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  53. %files -f %{name}.lang
  54. %defattr(-,root,root,-)
  55. %doc AUTHORS CHANGELOG LICENSE README
  56. %{_bindir}/%{name}
  57. %{_datadir}/applications/%{name}.desktop
  58. %{_datadir}/icons/hicolor/*/*/%{name}.*
  59. %{python_sitelib}/%{name}/
  60. %{python_sitelib}/%{name}*.egg-info
  61. %changelog
  62. * Wed Apr 29 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10.1-1
  63. - new upstream release
  64. * Sat Sep 06 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.1-1
  65. - new upstream release
  66. * Mon Dec 23 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.0-1
  67. - new upstream release
  68. * Sun Jul 14 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.2-1
  69. - new upstream release
  70. * Sat Mar 02 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.1-1
  71. - new upstream release
  72. * Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.6-1
  73. - new upstream release
  74. * Sat Dec 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.5-1
  75. - new upstream release
  76. * Sat Dec 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.3-1
  77. - new upstream release
  78. * Fri Nov 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.2-1
  79. - new upstream release
  80. * Tue Nov 13 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.1-1
  81. - new upstream release
  82. * Thu Nov 01 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.0-1
  83. - new upstream release
  84. * Sat Jul 21 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-2
  85. - replaced source
  86. - fixed install data (merged patch)
  87. * Fri Jul 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
  88. - new upstream release
  89. - added Patch0 to fix install data
  90. * Tue Jun 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1
  91. - new upstream release
  92. * Sat Jan 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1
  93. - new upstream release
  94. * Sat Oct 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
  95. - new upstream release
  96. * Sat Aug 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.8-1
  97. - new upstream release
  98. - changed URL
  99. * Thu Jul 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.7-1
  100. - new upstream release
  101. * Fri May 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.6-1
  102. - new upstream release
  103. * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.5-1
  104. - new upstream release
  105. * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.4-1
  106. - new upstream release
  107. * Tue Dec 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.2-1
  108. - new upstream release
  109. * Mon Aug 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.1-1
  110. - new upstream release
  111. * Wed Aug 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.0-1
  112. - new upstream release
  113. * Wed Jun 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.0-1
  114. - new upstream release
  115. * Wed May 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.5-1
  116. - new upstream release
  117. - added Requires: pywebkitgtk, python-chardet
  118. * Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.4-1
  119. - new upstream release
  120. * Wed Feb 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.3-1
  121. - new upstream release
  122. * Sun Feb 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-2
  123. - rebuilt with python-2.6.4-3
  124. * Fri Jan 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-1
  125. - initial build for VineSeed
  126. * Thu Sep 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6.1-1
  127. - Update to 0.8.6.1, fixes #523880
  128. * Thu Sep 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6-2
  129. - Fix libglade error with GTK 2.16.6 (#523880)
  130. * Fri Sep 04 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6-1
  131. - Updated to new upstream version 0.8.6
  132. * Fri Aug 14 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.5-1
  133. - Updated to new upstream version 0.8.5 (fixes #518778)
  134. * Fri Aug 14 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4-1
  135. - Updated to new upstream version 0.8.4
  136. * Fri Aug 07 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3-1
  137. - Updated to new upstream version 0.8.3
  138. * Wed Jul 29 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-1
  139. - Updated to new upstream version 0.8.2
  140. * Sat Jul 25 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1-1
  141. - Updated to new upstream version 0.8.1
  142. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  143. * Wed Jul 22 2009 Fabian Affolter <fabian@bernewireless.net> - 0.8.0-1
  144. - Updated BR python
  145. - Icon cache update added
  146. - Updated to new upstream version 0.8.0
  147. * Wed Jul 15 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.6-1
  148. - Updated to new upstream version 0.7.6
  149. * Mon Jul 06 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.5-1
  150. - Removed the shebang stuff, upstream changed this
  151. - Updated to new upstream version 0.7.5
  152. * Mon Jun 29 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.4-1
  153. - Moved the removing of the shebang to prep section
  154. - Updated to new upstream version 0.7.4
  155. * Tue May 26 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.2-1
  156. - Updated to new upstream version 0.7.2
  157. * Wed May 06 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.1-1
  158. - Updated to new upstream version 0.7.1
  159. * Wed May 06 2009 Fabian Affolter <fabian@bernewireless.net> - 0.6.9-1
  160. - Updated to new upstream version 0.6.9
  161. * Sun May 03 2009 Fabian Affolter <fabian@bernewireless.net> - 0.6.8-1
  162. - Updated to new upstream version 0.6.8
  163. * Tue Apr 21 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.7-1
  164. - Updated to new upstream version 0.6.7
  165. * Tue Apr 07 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.6-1
  166. - Updated to new upstream version 0.6.6
  167. * Fri Apr 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.5-1
  168. - Updated to new upstream version 0.6.5
  169. * Wed Mar 18 2009 Fabian Affolter <fabian@bernewireless.net> - 0.6.2-1
  170. - Added hicolor-icon-theme as a requirement
  171. - Added icons directory
  172. - Updated to new upstream version 0.6.2
  173. * Sat Mar 07 2009 Fabian Affolter <fabian@bernewireless.net> - 0.6.1-1
  174. - Updated to new upstream version 0.6.1
  175. - Renamed docs, added License file
  176. * Thu Feb 12 2009 Fabian Affolter <fabian@bernewireless.net> - 0.5.5-1
  177. - Updated to new upstream version 0.5.5
  178. * Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 0.5.2-1
  179. - Updated to new upstream version 0.5.2
  180. * Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 0.5.1-1
  181. - Initial package for Fedora