kdepim-runtime-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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.12.5
  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. %{_datadir}/ontology/kde/aneo.*
  119. %files libs
  120. %defattr(-,root,root,-)
  121. %doc COPYING.LIB
  122. %{_libdir}/libakonadi-filestore.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}/libkdepim-copy.so
  131. %{_libdir}/libkmindexreader.so
  132. %{_libdir}/libmaildir.so
  133. %changelog
  134. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.12.5-1
  135. - new upstream release
  136. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.12.2-1
  137. - new upstream release
  138. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.11.4-1
  139. - new upstream release
  140. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.11.1-1
  141. - new upstream release
  142. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.5-1
  143. - new upstream release
  144. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.5-1
  145. - new upstream release
  146. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.3-1
  147. - new upstream release
  148. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.2-1
  149. - new upstream release
  150. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.1-1
  151. - new upstream release
  152. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.0-1
  153. - new upstream release
  154. - add BuildRequires: libkgapi-devel
  155. * Fri Aug 5 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.7.0-1
  156. - new upstream release
  157. * Sat Jul 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.0-2
  158. - dropt locale files
  159. * Mon Jun 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.0-1
  160. - new upstream release
  161. * Sun May 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.11.1-1
  162. - new upstream release
  163. - included COPYING[.LIB]
  164. * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.10-1
  165. - new upstream release
  166. * Fri Sep 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.6-1
  167. - new upstream release
  168. * Mon Sep 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.5-2
  169. - rebuilt for VineSeed
  170. - fixed changelog
  171. * Sun Jul 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.5-1
  172. - new upstream release
  173. * Sat Jun 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.4-1
  174. - new upstream release
  175. * Fri May 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-1
  176. - new upstream release
  177. * Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.2-1
  178. - new upstream release
  179. * Sun Mar 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.1-1
  180. - new upstream release
  181. * Tue Mar 2 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.0-1
  182. - new upstream release
  183. - built with new toolchain
  184. * Mon Nov 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.3-1
  185. - new upstream release
  186. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.2-1
  187. - new upstream release
  188. * Sat Sep 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.1-1
  189. - new upstream release
  190. - used %%cmake macro
  191. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.0-2
  192. - Initial build for Vine Linux
  193. * Thu Jul 30 2009 Than Ngo <than@redhat.com> - 4.3.0-1
  194. - 4.3.0
  195. * Wed Jul 22 2009 Than Ngo <than@redhat.com> - 4.2.98-1
  196. - 4.3rc3
  197. * Sat Jul 11 2009 Than Ngo <than@redhat.com> - 4.2.96-1
  198. - 4.3rc2
  199. * Thu Jul 02 2009 Rex Dieter <rdieter@fedoraproject.org> 4.2.95-3
  200. - -devel: Requires: kdepimlibs-devel
  201. - Req: akonadi >= 1.1.95
  202. * Mon Jun 29 2009 Than Ngo <than@redhat.com> - 4.2.95-2
  203. - cleanup
  204. * Fri Jun 26 2009 Than Ngo <than@redhat.com> - 4.2.95-1
  205. - first try