ochusha-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. Summary: 2ch browser using Gtk+2
  2. Summary(ja): GTK+2 を用いた2ちゃんねるブラウザ
  3. Name: ochusha
  4. Version: 0.6
  5. Release: 2%{?_dist_release}
  6. URL: http://ochusha.sourceforge.jp/
  7. Source: %{name}-%{version}.tar.bz2
  8. Source1: %{name}.desktop
  9. #Patch0: ochusha-0.5.8.2-glib-2.10.patch
  10. #Patch1: ochusha-0.5.8.2-hana-mogera.patch
  11. #Patch2: ochusha-0.5.8.2-default-browser.patch
  12. Patch3: ochusha-0.6-bbs_jbbs_utils.patch
  13. Patch4: ochusha-0.6-bbs_2ch_utils.patch
  14. Patch5: ochusha-0.6-hashtable.patch
  15. Patch6: ochusha-0.6-html_utils.patch
  16. License: BSD License
  17. Group: Applications/Internet
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. PreReq: ldconfig
  20. Requires: gtk2 >= 2.6.0, glib2 >= 2.6.0, libxml2 >= 2.6.0
  21. Requires: openssl zlib sqlite3 oniguruma
  22. BuildRequires: gtk2-devel >= 2.6.0 glib2-devel >= 2.6.0 libxml2-devel >= 2.6.0 oniguruma-devel
  23. BuildRequires: libICE-devel libSM-devel
  24. BuildRequires: openssl-devel sqlite3-devel zlib-devel
  25. %description
  26. The ochusha is browser using Gtk+2 for 2ch. It relieves access to 2ch.
  27. %description -l ja
  28. おちゅ〜しゃは GTK+2 を用いてつくられた、2ちゃんねる用ブラウザです。
  29. %prep
  30. %setup -q
  31. #%patch0 -p1 -b .glib2.10
  32. #%patch1 -p1 -b .hana
  33. #%patch2 -p1 -b .default-browser
  34. %patch3 -p1 -b .bbs_jbbs_utils
  35. %patch4 -p1 -b .bbs_2ch_utils
  36. %patch5 -p1 -b .hashtable
  37. %patch6 -p1 -b .html_utils
  38. %build
  39. %configure --with-external-oniguruma
  40. %{__make} %{?_smp_flags}
  41. %install
  42. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  43. %makeinstall
  44. #%find_lang %{name}
  45. %__mkdir_p %{buildroot}%{_datadir}/applications
  46. %__install -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications
  47. # remove unneeded files
  48. %__rm -f %{buildroot}%{_libdir}/lib*.{a,la}
  49. %clean
  50. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  51. %post
  52. /sbin/ldconfig
  53. %postun
  54. /sbin/ldconfig
  55. %files
  56. %defattr(-,root,root)
  57. %doc ACKNOWLEDGEMENT AUTHORS BUGS COPYING ChangeLog INSTALL* NEWS README TODO
  58. %doc ochusha/ochusha-gtkrc.*
  59. %{_bindir}/ochusha
  60. %{_libdir}/*.so*
  61. %{_datadir}/ochusha
  62. %{_datadir}/locale/*
  63. %{_datadir}/applications/%{name}.desktop
  64. %{_mandir}/man*/*
  65. %changelog
  66. * Sat Apr 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.6-2vl5
  67. - added Requires: oniguruma
  68. - fixed Requires: sqlite3
  69. - added BuildRequires: oniguruma-devel, libICE-devel, libSM-devel
  70. - added Patch3,4,5,6
  71. - to fix post and read messages for Machi-BBS (Patch3, but unstable..)
  72. - Patch4,5,6: for recently change merge
  73. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.6-1vl5
  74. - upstream release
  75. - built with oniguruma-5.9.1 (used configure option "--with-external-oniguruma")
  76. - fixed many build problems
  77. -updated Requires, BuildRequires
  78. - dropped Patch0,1,2
  79. - applied new versioning policy
  80. * Sun Jun 03 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.8.2-0vl4
  81. - rebuilt with new toolchain
  82. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.8.2-0vl3
  83. - add default-browser.patch (patch2)
  84. to use 'firefox -new-window "%s"' as default browser
  85. * Tue May 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.8.2-0vl2
  86. - add ad-hoc patches:
  87. - patch0 to build with glib-2.10
  88. - patch1 to post message with 'hana=mogera'
  89. - remove unneeded files at %%install
  90. * Wed Sep 21 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.8.2-0vl1
  91. - upstream release
  92. * Mon Aug 02 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.8.1-0vl1
  93. - upstream release
  94. * Sat Jun 11 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.8-0vl1
  95. - upstream release
  96. * Sun Feb 20 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.7.2-0vl2
  97. - rebuild
  98. * Sun Feb 20 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.7.2-0vl1.1
  99. - update ochusha.desktop
  100. - drop (Build)Requires: libghttp(-devel)
  101. - update (Build)Requires: libxml2(-devel)
  102. - add PreReq: ldconfig
  103. * Fri Dec 31 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.7.2-0vl1
  104. - upstream release
  105. * Thu Dec 30 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.7.1-0vl1
  106. - upstream release
  107. * Mon Nov 29 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.7-0vl1
  108. - upstream release
  109. * Mon Jul 12 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.5-1vl2
  110. - use more macros
  111. - add Summary(ja)
  112. - add (Build)Requires: openssl(-devel), zlib(-devel)
  113. - add ochusha.desktop
  114. - fix typo
  115. * Sat Jul 10 2004 <ryo1@bc.wakwak.com> 0.5.5-1vl1
  116. - rebuild for Vine Linux
  117. * Sat Jul 03 2004 <yuhei@users.sourceforge.jp> 0.5.5-1
  118. - Version up.
  119. * Sun Jun 20 2004 <yuhei@users.sourceforge.jp> 0.5.4.10-1
  120. - Version up.
  121. * Wed Jun 16 2004 <yuhei@users.sourceforge.jp> 0.5.4.9-1
  122. - Version up.
  123. * Tue Jun 15 2004 <yuhei@users.sourceforge.jp> 0.5.4.8-1
  124. - Version up.
  125. * Mon Jun 14 2004 <yuhei@users.sourceforge.jp> 0.5.4.7-1
  126. - Version up.
  127. * Sun Jun 13 2004 <yuhei@users.sourceforge.jp> 0.5.4.5-1
  128. - Version up.
  129. * Sat Jun 12 2004 <yuhei@users.sourceforge.jp> 0.5.4.4-1
  130. - Version up.
  131. * Sun Jun 06 2004 <yuhei@users.sourceforge.jp> 0.5.4.3-1
  132. - Version up.
  133. * Mon May 24 2004 <yuhei@users.sourceforge.jp> 0.5.4.2-1
  134. - Version up.
  135. * Mon May 17 2004 <yuhei@users.sourceforge.jp> 0.5.4.1-1
  136. - Version up.
  137. * Sun May 02 2004 <yuhei@users.sourceforge.jp> 0.5.2-1
  138. - Version up.
  139. * Sat Apr 10 2004 <yuhei@users.sourceforge.jp> 0.5.1-1
  140. - Version up.
  141. - Added manfile to filelist.
  142. - Added mandir option to configure script.
  143. * Mon Mar 01 2004 <yuhei@users.sourceforge.jp> 0.5-1
  144. - Version up.
  145. - Changed filelist.
  146. * Wed Jan 28 2004 <yuhei@users.sourceforge.jp> 0.4.10.3-1
  147. - Version up.
  148. * Fri Jan 23 2004 <yuhei@users.sourceforge.jp> 0.4.10.1-1
  149. - Version up.
  150. * Wed Jan 21 2004 <yuhei@users.sourceforge.jp> 0.4.10-1
  151. - Version up.
  152. * Sun Jan 18 2004 <yuhei@users.sourceforge.jp> 0.4.9.7-1
  153. - Version up.
  154. * Sat Jan 17 2004 <yuhei@users.sourceforge.jp> 0.4.9.6-1
  155. - Version up.
  156. * Fri Jan 16 2004 <yuhei@users.sourceforge.jp> 0.4.9.5-1
  157. - Version up.
  158. * Wed Jan 14 2004 <yuhei@users.sourceforge.jp> 0.4.9.4-1
  159. - Version up.
  160. * Wed Jan 14 2004 <yuhei@users.sourceforge.jp> 0.4.9.3-1
  161. - Version up.
  162. * Tue Jan 13 2004 <yuhei@users.sourceforge.jp> 0.4.9.2-1
  163. - Version up.
  164. * Mon Jan 12 2004 <yuhei@users.sourceforge.jp> 0.4.9.1-1
  165. - Version up.
  166. * Tue Jan 01 2004 <yuhei@users.sourceforge.jp> 0.4.8.2-1
  167. - Version up.
  168. * Wed Dec 31 2003 <yuhei@users.sourceforge.jp> 0.4.8.1-1
  169. - Version up.
  170. * Tue Dec 30 2003 <yuhei@users.sourceforge.jp> 0.4.8-1
  171. - Version up.
  172. - Added files about libtsengine.
  173. - Added ochusha-init.scm file.
  174. - Added to run ldconfig when (un)installing.
  175. * Mon Dec 29 2003 <yuhei@users.sourceforge.jp> 0.4.7.1-1
  176. - Version up.
  177. * Wed Dec 24 2003 <yuhei@users.sourceforge.jp> 0.4.7-1
  178. - Version up.
  179. * Mon Dec 22 2003 <yuhei@users.sourceforge.jp> 0.4.6-1
  180. - Version up.
  181. * Sun Dec 21 2003 <yuhei@users.sourceforge.jp> 0.4.5.10-1
  182. - Version up.
  183. * Fri Dec 19 2003 <yuhei@users.sourceforge.jp> 0.4.5.7-1
  184. - Version up.
  185. * Tue Dec 16 2003 <yuhei@users.sourceforge.jp> 0.4.5.6-1
  186. - Version up.
  187. * Tue Dec 16 2003 <yuhei@users.sourceforge.jp> 0.4.5.5-1
  188. - Version up.
  189. * Sun Dec 14 2003 <yuhei@users.sourceforge.jp> 0.4.5.4-1
  190. - Version up.
  191. * Sat Dec 13 2003 <yuhei@users.sourceforge.jp> 0.4.5.3-1
  192. - Version up.
  193. * Mon Dec 09 2003 <yuhei@users.sourceforge.jp> 0.4.5.1-1
  194. - Version up.
  195. * Sat Dec 06 2003 <yuhei@users.sourceforge.jp> 0.4.5-1
  196. - Version up.
  197. - Added png icon file.
  198. - Added gtkrc file.
  199. * Thu Nov 27 2003 <yuhei@users.sourceforge.jp> 0.4.4.8-1
  200. - Added xpm icon file.
  201. - Version up.
  202. * Fri Nov 21 2003 <yuhei@users.sourceforge.jp> 0.4.4.3-1
  203. - Version up.
  204. * Fri Nov 14 2003 <yuhei@users.sourceforge.jp> 0.4.4.2-1
  205. - Version up.
  206. - Added some libraries.
  207. * Mon Jun 23 2003 <yuhei@users.sourceforge.jp> 0.4.3.6-1
  208. - Version up.
  209. * Wed Jun 11 2003 <yuhei@users.sourceforge.jp> 0.4.3.4-1
  210. - Version up.
  211. - changed prefix enviromental valuable.
  212. - changed URL.
  213. * Mon May 19 2003 <yuhei@users.sourceforge.jp> 0.4.3.3-1
  214. - Version up.
  215. * Mon May 12 2003 <yuhei@users.sourceforge.jp> 0.4.3.2-1
  216. - Version up.
  217. - Fixed Group.
  218. * Mon May 12 2003 <yuhei@users.sourceforge.jp> 0.4.2.1-1
  219. - Initial build.