kita-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. %define version 0.177.5
  2. %define date 20050101
  3. %define is_release 1
  4. Summary: 2ch client for KDE
  5. Summary(ja): KDE 向けの 2ch クライアント
  6. Name: kita
  7. Version: %{version}
  8. Release: 1%{?_dist_release}
  9. %if %{is_release}
  10. Source0: kita-%{version}.tar.gz
  11. %else
  12. Source0: http://kita.sourceforge.jp/snapshot/kita-%{date}.tar.gz
  13. %endif
  14. License: GPL
  15. URL: http://sourceforge.jp/projects/kita/
  16. Group: Applications/Internet
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: qt-devel
  19. BuildRequires: arts-devel
  20. BuildRequires: kdelibs3-devel
  21. BuildRequires: libart_lgpl-devel
  22. BuildRequires: libpng-devel >= 1.2.5
  23. BuildRequires: pcre-devel
  24. Requires(post): desktop-file-utils
  25. Requires(postun): desktop-file-utils
  26. %description
  27. 2ch client for KDE
  28. %description -l ja
  29. KDE 向けの 2ch クライアントです.
  30. %prep
  31. %if %{is_release}
  32. %setup -q
  33. %else
  34. %setup -q -n %{name}-%{date}
  35. %endif
  36. sed -i.soname \
  37. -e 's|kita_la_|libkitamain_la_|' \
  38. -e 's| kita\.la| libkitamain.la|' \
  39. -e 's|-avoid-version||' \
  40. kita/src/Makefile.{in,am}
  41. sed -i.dsktop -e 's|Terminal=0|Terminal=false|' \
  42. kita/src/kita.desktop
  43. make dist -f Makefile.cvs
  44. %build
  45. unset QTDIR || : ; . /etc/profile.d/qt.sh
  46. export LDFLAGS="-Wl,--rpath,%{_libdir}/%{name}"
  47. suffix=""
  48. if [ "%{_lib}" == "lib64" ] ; then
  49. suffix="64"
  50. fi
  51. ./configure \
  52. --prefix=%{_prefix} \
  53. --enable-new-ldflags \
  54. --enable-final \
  55. --disable-rpath \
  56. --with-qt-libraries=$QTDIR/lib \
  57. --enable-libsuffix="$suffix" \
  58. --enable-xdg-menu
  59. make
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. %makeinstall
  63. %clean
  64. rm -rf $RPM_BUILD_ROOT
  65. %post
  66. /sbin/ldconfig
  67. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  68. %posttrans
  69. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  70. update-desktop-database -q &> /dev/null ||:
  71. %postun
  72. /sbin/ldconfig
  73. if [ $1 -eq 0 ] ; then
  74. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  75. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  76. update-desktop-database -q &> /dev/null ||:
  77. fi
  78. %files
  79. %defattr(-, root, root)
  80. %doc AUTHORS COPYING ChangeLog NEWS README README.2ch TODO
  81. %{_bindir}/*
  82. %{_libdir}/*
  83. %{_datadir}/applications/kde/*
  84. %{_datadir}/apps/*
  85. %{_datadir}/icons/*
  86. %{_datadir}/locale/ja/LC_MESSAGES/*
  87. %{_datadir}/doc/HTML/en/kita/*
  88. %changelog
  89. * Sun Sep 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.177.5-1
  90. - new upstream release
  91. - update BR: kdelibs3-devel (instead of kdelib-devel)
  92. * Sat May 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.177.3-1
  93. - applied new versioning policy
  94. - spec in UTF-8
  95. * Mon Nov 26 2007 NAKAMURA Kenta <kenta@vinelinux.org> 0.177.3-0vl6
  96. - added source /etc/profile.d/qt.sh
  97. * Wed Sep 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.177.3-0vl5
  98. - rebuilt with new toolchain and environment
  99. * Mon Oct 23 2006 NAKAMURA Kenta <kenta@vinelinux.org> 0.177.3-0vl4
  100. - added --with-qt-libraries and --enable-libsuffix option
  101. * Tue Aug 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.177.3-0vl3
  102. - changed Group to Applications/Internet
  103. - added Japanese summary
  104. * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.177.3-0vl2
  105. - rebuild for VineSeed
  106. * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.177.3-0vl1
  107. - new upstream release
  108. * Mon Apr 10 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.177.2-0vl3
  109. - rebuild
  110. * Wed Feb 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.177.2-0vl2
  111. - rebuild for VineSeed
  112. * Wed Feb 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.177.2-0vl1
  113. - new upstream release
  114. - update %%files
  115. * Fri Jan 14 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.174.0-0vl2
  116. - rebuild for VineSeed
  117. * Fri Jan 14 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.174.0-0vl1
  118. - new upstream release
  119. - remove patch0
  120. * Wed Dec 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.173.0-0vl1
  121. - source0 upgrade
  122. - add patch0 (www.geocities.co.jp/SiliconValley-Bay/7435/patch-1130.txt)
  123. * Wed Nov 24 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.172.0-0vl2
  124. - source0 upgrade (snapshot)
  125. * Wed Nov 10 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.172.0-0vl1
  126. - source0 upgrade (snapshot)
  127. - delete about use_xdg_menu
  128. * Tue Jun 22 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.150.0-0vl1
  129. - source0 upgrade
  130. - remove source1, patch1 and lines about vine26
  131. - add BuildPrereq: pcre-devel
  132. - remove BuildPrereq: kdebase-devel and Requires: kdebase
  133. - cleanup %%files
  134. * Mon Mar 29 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.103.0-0vl1
  135. - source0 and 1 upgrade
  136. - add patch0
  137. - arrange %%files
  138. * Mon Mar 8 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.102.1-0vl3
  139. - source1 upgrade
  140. * Thu Mar 4 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.102.1-0vl2
  141. - source1 upgrade
  142. * Mon Mar 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.102.1-0vl1
  143. - source upgrade
  144. * Wed Feb 25 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.102.0-0vl1
  145. - source upgrade
  146. - remove patch
  147. - add source1
  148. * Fri Jan 30 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.101.1-0vl1
  149. - source upgrade
  150. - add patch
  151. * Sat Jan 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.100.0-0vl1
  152. - source upgrade
  153. - remove patch
  154. * Sun Jan 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.90-0vl1
  155. - source upgrade
  156. - add patch
  157. * Sun Dec 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.72-0vl1
  158. - source upgrade
  159. - remove patch
  160. * Sat Dec 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.71-0vl1
  161. - source upgrade
  162. - add patch
  163. * Thu Dec 11 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.70-0vl1
  164. - build for VinePlus/2.6
  165. * Mon Oct 13 2003 Hideki Ikemoto<ikemo@users.sourceforge.jp>
  166. - add files
  167. * Wed Mar 03 2003 Hideki Ikemoto<ikemo@users.sourceforge.jp>
  168. - initial release.