rednotebook-vl.spec 6.3 KB

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