kopete-vl.spec 5.7 KB

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