hotot-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. Name: hotot
  2. Version: 0.9.8.13
  3. Release: 1.git20130311%{?_dist_release}
  4. Summary: Hotot lightweight & open source microblogging client using Python language and designed for Linux.
  5. Summary(ja): Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。
  6. Group: Applications/Internet
  7. License: LGPLv3+
  8. URL: http://code.google.com/p/hotot
  9. Source0: hotot-%{version}-git20130311.tar.xz
  10. #Patch0: fix_messages_ja.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: cmake
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: gettext
  15. BuildRequires: intltool
  16. BuildRequires: kdelibs-devel
  17. BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
  18. BuildRequires: python-devel
  19. BuildRequires: python-distutils-extra
  20. BuildRequires: qt4-devel
  21. %description
  22. Hotot, is a lightweight & open source Microblogging Client,
  23. coding using Python language and designed for Linux.
  24. It depends less but supports more.
  25. It's been developed actively and still in Alpha stage.
  26. %description -l ja
  27. Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
  28. マイクロブログクライアントです。
  29. 依存はより少なく、より多くのサポートを。
  30. 活発に開発していますが、まだアルファの段階です。
  31. %package common
  32. Summary: common files for Hotot
  33. Summary(ja): Hotot の共通ファイル
  34. Group: Applications/Internet
  35. BuildArch: noarch
  36. %description common
  37. Hotot, is a lightweight & open source Microblogging Client,
  38. coding using Python language and designed for Linux.
  39. This package contains Hotot common files.
  40. %description common -l ja
  41. Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
  42. マイクロブログクライアントです。
  43. このパッケージは Hotot の共通ファイルを含んでいます。
  44. %package gtk
  45. Summary: Hotot GTK+ client
  46. Summary(ja): Hotot GTK+ クライアント
  47. Group: Applications/Internet
  48. Requires: %{name}-common = %{version}
  49. Requires: notify-python
  50. Requires: pygtk2
  51. Requires: pygobject
  52. Requires: python-keybinder
  53. Requires: pywebkitgtk >= 1.1.8
  54. %description gtk
  55. Hotot, is a lightweight & open source Microblogging Client,
  56. coding using Python language and designed for Linux.
  57. It depends less but supports more.
  58. It's been developed actively and still in Alpha stage.
  59. This package contains Hotot GTK+ client.
  60. %description gtk -l ja
  61. Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
  62. マイクロブログクライアントです。
  63. 依存はより少なく、より多くのサポートを。
  64. 活発に開発していますが、まだアルファの段階です。
  65. このパッケージは Hotot の GTK+ クライアントを含んでいます。
  66. %package qt
  67. Summary: Hotot qt client
  68. Summary(ja): Hotot qt クライアント
  69. Group: Applications/Internet
  70. Requires: %{name}-common = %{version}
  71. %description qt
  72. Hotot, is a lightweight & open source Microblogging Client,
  73. coding using Python language and designed for Linux.
  74. It depends less but supports more.
  75. It's been developed actively and still in Alpha stage.
  76. This package contains Hotot Qt client.
  77. %description qt -l ja
  78. Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
  79. マイクロブログクライアントです。
  80. 依存はより少なく、より多くのサポートを。
  81. 活発に開発していますが、まだアルファの段階です。
  82. このパッケージは Hotot の Qt クライアントを含んでいます。
  83. %prep
  84. %setup -q -n %{name}
  85. #%patch0 -p1
  86. sed -i 's/0.9.8.11/0.9.8.13/' data/js/conf.js
  87. %build
  88. cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GIR=OFF ./
  89. make %{?_smp_mflags}
  90. %install
  91. rm -rf %{buildroot}
  92. make install DESTDIR=%{buildroot}
  93. %find_lang %{name}
  94. %check
  95. desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
  96. desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt.desktop
  97. %clean
  98. rm -rf %{buildroot}
  99. %post common
  100. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  101. %postun common
  102. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  103. %files common -f %{name}.lang
  104. %defattr(-,root,root,-)
  105. %doc ChangeLog LGPL-license.txt README.md
  106. %{_datadir}/%{name}/
  107. %{_datadir}/icons/*
  108. %files gtk
  109. %defattr(-,root,root,-)
  110. %{python_sitearch}/%{name}
  111. %{_bindir}/%{name}
  112. %{_datadir}/applications/%{name}.desktop
  113. %files qt
  114. %defattr(-,root,root,-)
  115. %{_bindir}/%{name}-qt
  116. %{_datadir}/applications/%{name}-qt.desktop
  117. %{_datadir}/kde4/apps/desktoptheme/default/icons/hotot_qt.svg
  118. %changelog
  119. * Thu May 02 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.13-1.git20130311
  120. - new upstream snapshot
  121. - fixed version in data/js/conf.js
  122. * Sat Jul 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.7-1.git20120728
  123. - new upstream snapshot
  124. - splitted packages to hotot-common, hotot-gtk, hotot-qt
  125. * Wed Feb 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.45-1.git20120310
  126. - new upstream release
  127. - deleted BuildArch: noarch
  128. - added BuildRequires: cmake
  129. * Mon Feb 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205
  130. - new upstream release
  131. * Wed Jan 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.34-1.git20120118
  132. - new upstream release
  133. - added BuildRequires: desktop-file-utils, python-devel
  134. - added patch0 to fix Japanese messages
  135. * Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018
  136. - new upstream release
  137. - changed License: LGPLv2+ to LGPLv3+
  138. - changed Requires: keybinder to python-keybinder
  139. - run desktop-file-validate
  140. * Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889
  141. - initial build for Vine Linux
  142. * Sat Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25
  143. - Initial RPM release