kopete-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. Name: kopete
  2. Summary: Chat client for KDE
  3. Summary(ja): KDE 用チャットクライアント
  4. Version: 4.14.3
  5. Release: 2%{?_dist_release}
  6. License: GPLv2, LGPLv2
  7. Group: Applications/Internet
  8. URL: http://www.kde.org/
  9. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: kdelibs-devel >= %{version}
  13. BuildRequires: kdepimlibs-devel >= %{version}
  14. BuildRequires: qca2-devel
  15. BuildRequires: qimageblitz-devel
  16. BuildRequires: jasper-devel
  17. BuildRequires: sqlite3-devel
  18. BuildRequires: ortp-devel >= 0.13
  19. BuildRequires: libsrtp-devel
  20. BuildRequires: libidn-devel
  21. BuildRequires: libxml2-devel
  22. BuildRequires: libxslt-devel
  23. BuildRequires: libotr-devel >= 3.2.0
  24. BuildRequires: libmsn-devel >= 0.4.0
  25. BuildRequires: giflib-devel
  26. BuildRequires: meanwhile-devel
  27. BuildRequires: libgadu-devel >= 1.8.0
  28. BuildRequires: soprano-devel
  29. Requires(posttrans): desktop-file-utils
  30. Requires(postun): desktop-file-utils
  31. # kopete/yahoo
  32. Requires: jasper
  33. # kopete/jabber
  34. Requires: qca-ossl
  35. Requires: %{name}-libs = %{version}-%{release}
  36. Vendor: Project Vine
  37. Distribution: Vine Linux
  38. Packager: Takemikaduchi
  39. %description
  40. Kopete is an Instant Messaging client designed to be modular
  41. and plugin based.
  42. %package libs
  43. Summary: Runtime libraries for %{name}
  44. Group: System Environment/Libraries
  45. %description libs
  46. %{summary}.
  47. %package devel
  48. Summary: Development files for %{name}
  49. Group: Development/Libraries
  50. Requires: %{name}-libs = %{version}-%{release}
  51. Requires: kdelibs-devel
  52. %description devel
  53. Development files for %{name}.
  54. %prep
  55. %setup -q
  56. %build
  57. sed -i "s|macro_display_feature_log()||" CMakeLists.txt
  58. mkdir -p %{_target_platform}
  59. pushd %{_target_platform}
  60. %cmake \
  61. -DCMAKE_BUILD_TYPE=release \
  62. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  63. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  64. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  65. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  66. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  67. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  68. ..
  69. popd
  70. make %{?_smp_mflags} -C %{_target_platform}
  71. %install
  72. rm -rf $RPM_BUILD_ROOT
  73. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  74. %clean
  75. rm -rf $RPM_BUILD_ROOT
  76. %post
  77. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  78. touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||:
  79. %posttrans
  80. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  81. gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||:
  82. update-desktop-database -q &> /dev/null ||:
  83. %postun
  84. if [ $1 -eq 0 ] ; then
  85. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  86. touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||:
  87. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  88. gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||:
  89. update-desktop-database -q &> /dev/null ||:
  90. fi
  91. %post libs -p /sbin/ldconfig
  92. %postun libs -p /sbin/ldconfig
  93. %files
  94. %defattr(-,root,root,-)
  95. %doc AUTHORS COPYING COPYING.DOC COPYING.LIB README
  96. %{_bindir}/kopete
  97. %{_bindir}/kopete_latexconvert.sh
  98. %{_bindir}/winpopup-install
  99. %{_bindir}/winpopup-send
  100. %{_libdir}/libqgroupwise.so
  101. %{_libdir}/kde4/*.so
  102. %{_libdir}/kde4/plugins/accessible/chatwindowaccessiblewidgetfactory.so
  103. %{_libdir}/mozilla/plugins/skypebuttons.so
  104. %{_datadir}/applications/kde4/%{name}.desktop
  105. %{_datadir}/config/kopeterc
  106. %{_datadir}/config.kcfg/*
  107. %{_datadir}/dbus-1/interfaces/org.kde.Kopete.xml
  108. %{_datadir}/dbus-1/interfaces/org.kde.kopete.Client.xml
  109. %{_datadir}/dbus-1/interfaces/org.kde.kopete.Statistics.xml
  110. %{_datadir}/icons/hicolor/*/*/*
  111. %{_datadir}/icons/oxygen/*/*/*
  112. %{_datadir}/kde4/apps/kconf_update/
  113. %{_datadir}/kde4/apps/kopete/
  114. %{_datadir}/kde4/apps/kopete_contactnotes/
  115. %{_datadir}/kde4/apps/kopete_groupwise/
  116. %{_datadir}/kde4/apps/kopete_history/
  117. %{_datadir}/kde4/apps/kopete_history2/
  118. %{_datadir}/kde4/apps/kopete_jabber/
  119. %{_datadir}/kde4/apps/kopete_latex/
  120. %{_datadir}/kde4/apps/kopete_otr/
  121. %{_datadir}/kde4/apps/kopete_privacy/
  122. %{_datadir}/kde4/apps/kopete_skype/
  123. %{_datadir}/kde4/apps/kopete_statistics/
  124. %{_datadir}/kde4/apps/kopete_translator/
  125. %{_datadir}/kde4/apps/kopete_wlm/
  126. %{_datadir}/kde4/apps/kopete_yahoo/
  127. %{_datadir}/kde4/apps/kopeterichtexteditpart/
  128. %{_datadir}/kde4/services/*.desktop
  129. %{_datadir}/kde4/services/*.protocol
  130. %{_datadir}/kde4/services/kconfiguredialog/*.desktop
  131. %{_datadir}/kde4/servicetypes/*.desktop
  132. %{_datadir}/sounds/*
  133. %{_docdir}/HTML/en/*
  134. %files libs
  135. %defattr(-,root,root,-)
  136. %{_libdir}/libkopete.so.*
  137. %{_libdir}/libkopete_oscar.so.*
  138. %{_libdir}/libkopete_otr_shared.so.*
  139. %{_libdir}/libkopete_videodevice.so.*
  140. %{_libdir}/libkopeteaddaccountwizard.so.*
  141. %{_libdir}/libkopetechatwindow_shared.so.*
  142. %{_libdir}/libkopetecontactlist.so.*
  143. %{_libdir}/libkopeteidentity.so.*
  144. %{_libdir}/libkopeteprivacy.so.*
  145. %{_libdir}/libkopetestatusmenu.so.*
  146. %{_libdir}/libkyahoo.so.*
  147. %{_libdir}/liboscar.so.*
  148. %files devel
  149. %defattr(-,root,root,-)
  150. %{_includedir}/kde4/%{name}
  151. %{_libdir}/libkopete.so
  152. %{_libdir}/libkopete_oscar.so
  153. %{_libdir}/libkopete_otr_shared.so
  154. %{_libdir}/libkopete_videodevice.so
  155. %{_libdir}/libkopeteaddaccountwizard.so
  156. %{_libdir}/libkopetechatwindow_shared.so
  157. %{_libdir}/libkopetecontactlist.so
  158. %{_libdir}/libkopeteidentity.so
  159. %{_libdir}/libkopeteprivacy.so
  160. %{_libdir}/libkopetestatusmenu.so
  161. %{_libdir}/libkyahoo.so
  162. %{_libdir}/liboscar.so
  163. %changelog
  164. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 4.14.3-2
  165. - rebuild with gcc-5.4.0
  166. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  167. - new upstream release
  168. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  169. - new upstream release
  170. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  171. - new upstream release
  172. * Mon Dec 16 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  173. - new upstream release
  174. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  175. - initial build