rednotebook-vl.spec 5.5 KB

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