kdepim-runtime-vl.spec 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. %define akonadi_version 1.8.0
  2. Name: kdepim-runtime
  3. Summary: KDE PIM Runtime Environment
  4. Summary(ja): KDE PIM ランタイム環境
  5. Version: 4.14.3
  6. Release: 1%{?_dist_release}
  7. License: GPLv2
  8. Group: Applications/Productivity
  9. URL: http://www.kde.org/
  10. Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: akonadi-devel >= %{akonadi_version}
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: kdepimlibs-devel >= %{version}
  15. BuildRequires: kdelibs-devel >= %{version}
  16. BuildRequires: libkgapi-devel
  17. BuildRequires: libboost-devel
  18. BuildRequires: libxml2-devel
  19. BuildRequires: libxslt-devel
  20. BuildRequires: openssl-devel
  21. BuildRequires: qjson-devel
  22. BuildRequires: shared-desktop-ontologies-devel >= 0.6.51
  23. BuildRequires: shared-mime-info >= 0.30
  24. BuildRequires: soprano-devel
  25. BuildRequires: strigi-devel
  26. BuildRequires: zlib-devel
  27. Requires: %{name}-libs = %{version}-%{release}
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. %description
  31. %{summary}
  32. %package libs
  33. Summary: %{name} runtime libraries
  34. Summary(ja): %{name} ランタイムライブラリ
  35. Group: System Environment/Libraries
  36. License: LGPLv2
  37. #Requires: %{name} = %{version}-%{release}
  38. Requires: akonadi >= %{akonadi_version}
  39. %description libs
  40. %{summary}.
  41. %package devel
  42. Summary: Development files for %{name}
  43. Summary(ja): %{name} の開発用ファイル
  44. Group: Development/Libraries
  45. License: LGPLv2
  46. Requires: %{name}-libs = %{version}-%{release}
  47. Requires: kdepimlibs-devel >= %{version}
  48. %description devel
  49. %{summary}.
  50. Install %{name}-devel if you want to write or compile %{name} plugins.
  51. %prep
  52. %setup -q
  53. %build
  54. mkdir -p %{_target_platform}
  55. pushd %{_target_platform}
  56. %cmake \
  57. -DCMAKE_BUILD_TYPE=release \
  58. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  59. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  60. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  61. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  62. ..
  63. popd
  64. make %{?_smp_mflags} -C %{_target_platform}
  65. %install
  66. rm -rf $RPM_BUILD_ROOT
  67. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  68. # make symlinks relative
  69. mkdir -p $RPM_BUILD_ROOT%{_docdir}/HTML/en/common
  70. pushd $RPM_BUILD_ROOT%{_docdir}/HTML/en
  71. for i in *; do
  72. if [ -d $i -a -L $i/common ]; then
  73. rm -f $i/common
  74. ln -nfs ../common $i
  75. fi
  76. done
  77. popd
  78. # dropt locale files
  79. rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
  80. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  81. %check
  82. for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
  83. desktop-file-validate $f
  84. done
  85. %post
  86. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  87. %posttrans
  88. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  89. update-mime-database %{_datadir}/mime >& /dev/null ||:
  90. update-desktop-database -q &> /dev/null ||:
  91. %postun
  92. if [ $1 -eq 0 ] ; then
  93. update-mime-database %{_datadir}/mime &> /dev/null ||:
  94. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  95. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  96. update-desktop-database -q &> /dev/null ||:
  97. fi
  98. %post libs -p /sbin/ldconfig
  99. %postun libs -p /sbin/ldconfig
  100. %clean
  101. rm -rf $RPM_BUILD_ROOT
  102. %files
  103. %defattr(-,root,root,-)
  104. %doc COPYING
  105. %{_bindir}/*
  106. %{_libdir}/kde4/*.so
  107. %{_libdir}/kde4/imports/org/kde/*
  108. %{_datadir}/autostart/*
  109. %{_datadir}/akonadi/agents/*
  110. %{_datadir}/applications/kde4/*
  111. %{_datadir}/config/*rc
  112. %{_datadir}/dbus-1/interfaces/*.xml
  113. %{_datadir}/kde4/services/*
  114. %{_datadir}/kde4/servicetypes/*
  115. %{_datadir}/mime/packages/*
  116. %{_datadir}/icons/hicolor/*/*/*
  117. %{_datadir}/kde4/apps/*
  118. %files libs
  119. %defattr(-,root,root,-)
  120. %doc COPYING.LIB
  121. %{_libdir}/libakonadi-filestore.so.*
  122. %{_libdir}/libfolderarchivesettings.so.*
  123. %{_libdir}/libkdepim-copy.so.*
  124. %{_libdir}/libkmindexreader.so.*
  125. %{_libdir}/libmaildir.so.*
  126. %files devel
  127. %defattr(-,root,root,-)
  128. %doc COPYING.LIB
  129. %{_libdir}/libakonadi-filestore.so
  130. %{_libdir}/libfolderarchivesettings.so
  131. %{_libdir}/libkdepim-copy.so
  132. %{_libdir}/libkmindexreader.so
  133. %{_libdir}/libmaildir.so
  134. %changelog
  135. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.14.3-1
  136. - new upstream release
  137. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.12.5-1
  138. - new upstream release
  139. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.12.2-1
  140. - new upstream release
  141. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.11.4-1
  142. - new upstream release
  143. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.11.1-1
  144. - new upstream release
  145. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.5-1
  146. - new upstream release
  147. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.5-1
  148. - new upstream release
  149. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.3-1
  150. - new upstream release
  151. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.2-1
  152. - new upstream release
  153. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.1-1
  154. - new upstream release
  155. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.0-1
  156. - new upstream release
  157. - add BuildRequires: libkgapi-devel
  158. * Fri Aug 5 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.7.0-1
  159. - new upstream release
  160. * Sat Jul 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.0-2
  161. - dropt locale files
  162. * Mon Jun 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.0-1
  163. - new upstream release
  164. * Sun May 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.11.1-1
  165. - new upstream release
  166. - included COPYING[.LIB]
  167. * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.10-1
  168. - new upstream release
  169. * Fri Sep 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.6-1
  170. - new upstream release
  171. * Mon Sep 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.5-2
  172. - rebuilt for VineSeed
  173. - fixed changelog
  174. * Sun Jul 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.5-1
  175. - new upstream release
  176. * Sat Jun 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.4-1
  177. - new upstream release
  178. * Fri May 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-1
  179. - new upstream release
  180. * Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.2-1
  181. - new upstream release
  182. * Sun Mar 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.1-1
  183. - new upstream release
  184. * Tue Mar 2 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.0-1
  185. - new upstream release
  186. - built with new toolchain
  187. * Mon Nov 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.3-1
  188. - new upstream release
  189. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.2-1
  190. - new upstream release
  191. * Sat Sep 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.1-1
  192. - new upstream release
  193. - used %%cmake macro
  194. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.0-2
  195. - Initial build for Vine Linux
  196. * Thu Jul 30 2009 Than Ngo <than@redhat.com> - 4.3.0-1
  197. - 4.3.0
  198. * Wed Jul 22 2009 Than Ngo <than@redhat.com> - 4.2.98-1
  199. - 4.3rc3
  200. * Sat Jul 11 2009 Than Ngo <than@redhat.com> - 4.2.96-1
  201. - 4.3rc2
  202. * Thu Jul 02 2009 Rex Dieter <rdieter@fedoraproject.org> 4.2.95-3
  203. - -devel: Requires: kdepimlibs-devel
  204. - Req: akonadi >= 1.1.95
  205. * Mon Jun 29 2009 Than Ngo <than@redhat.com> - 4.2.95-2
  206. - cleanup
  207. * Fri Jun 26 2009 Than Ngo <than@redhat.com> - 4.2.95-1
  208. - first try