marble-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. Name: marble
  2. Summary: A World Atlas
  3. Summary(ja): デスクトップ地球儀
  4. Version: 4.9.2
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+
  7. Group: Applications/Edutainment
  8. URL: http://edu.kde.org/marble/
  9. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. ## upstream patches
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gpsd-devel
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: kdelibs4-devel >= %{version}
  15. BuildRequires: soprano-devel
  16. BuildRequires: libXpm-devel
  17. # split pkgs, (temporary?) upgrade path -- Rex
  18. #Requires: %{name}-kstars = %{version}-%{release}
  19. #Requires: %{name}-marble = %{version}-%{release}
  20. #Requires: %{name}-math = %{version}-%{release}
  21. Requires: %{name}-libs = %{version}-%{release}
  22. Obsoletes: kdeedu4-marble < %{version}-%{release}
  23. Provides: kdeedu4-marble = %{version}-%{release}
  24. %description
  25. Marble is a generic geographical map widget and framework for
  26. KDE applications. The Marble widget shows the earth as a sphere
  27. but does not require hardware acceleration. A minimal set of
  28. geographical data is included, so it can be used without an
  29. internet connection.
  30. This package is part of the KDE education module.
  31. %package libs
  32. Summary: Runtime libraries for %{name}
  33. Summary(ja): %{name} のランタイムライブラリ
  34. Group: System Environment/Libraries
  35. Obsoletes: kdeedu4-marble-libs < %{version}-%{release}
  36. Provides: kdeedu4-marble-libs = %{version}-%{release}
  37. %description libs
  38. %{summary}.
  39. %package devel
  40. Summary: Development files for %{name}
  41. Summary(ja): %{name} の開発用ファイル
  42. Group: Development/Libraries
  43. Requires: %{name}-libs = %{version}-%{release}
  44. Requires: kdelibs4-devel
  45. Conflicts: kdeedu4-devel < 4.6.50
  46. %description devel
  47. Header files for developing applications using %{name}.
  48. %prep
  49. %setup -q
  50. %build
  51. mkdir -p %{_target_platform}
  52. pushd %{_target_platform}
  53. %cmake \
  54. -DCMAKE_BUILD_TYPE=release \
  55. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  56. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  57. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  58. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  59. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  60. ..
  61. popd
  62. make %{?_smp_mflags} -C %{_target_platform}
  63. %install
  64. rm -rf $RPM_BUILD_ROOT
  65. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  66. %clean
  67. rm -rf $RPM_BUILD_ROOT
  68. %check
  69. for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
  70. desktop-file-validate $f
  71. done
  72. %post
  73. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  74. %posttrans
  75. update-desktop-database -q &> /dev/null ||:
  76. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  77. %postun
  78. if [ $1 -eq 0 ] ; then
  79. update-desktop-database -q &> /dev/null ||:
  80. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  81. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  82. fi
  83. %post libs
  84. /sbin/ldconfig
  85. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  86. %posttrans libs
  87. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  88. %postun libs
  89. /sbin/ldconfig
  90. if [ $1 -eq 0 ] ; then
  91. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  92. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  93. fi
  94. %files
  95. %defattr(-,root,root)
  96. %doc COPYING
  97. %{_bindir}/marble
  98. %{_bindir}/marble-touch
  99. %{_bindir}/routing-instructions
  100. %{_bindir}/tilecreator
  101. %{_libdir}/kde4/plasma_applet_worldclock.so
  102. %{_libdir}/kde4/plasma_runner_marble.so
  103. %{_libdir}/qt4/imports/org/kde/edu/marble
  104. %{_datadir}/applications/kde4/marble.desktop
  105. %{_datadir}/config.kcfg/marble.kcfg
  106. %{_datadir}/icons/hicolor/*/*/marble.*
  107. %{_datadir}/kde4/apps/marble
  108. %{_datadir}/kde4/services/marble_part.desktop
  109. %{_datadir}/kde4/services/plasma-applet-kworldclock.desktop
  110. %{_datadir}/kde4/services/plasma-runner-marble.desktop
  111. %doc %{_docdir}/HTML/en/marble/
  112. %files libs
  113. %defattr(-,root,root)
  114. %{_libdir}/libmarblewidget.so.*
  115. %{_libdir}/kde4/libmarble_part.so
  116. %{_libdir}/kde4/plugins/marble/
  117. %files devel
  118. %defattr(-,root,root)
  119. %{_includedir}/marble/*
  120. %{_libdir}/libmarblewidget.so
  121. %{_datadir}/kde4/apps/cmake/modules/
  122. %changelog
  123. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  124. - new upstream release
  125. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  126. - new upstream release
  127. * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  128. - new upstream release
  129. * Sun Aug 7 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
  130. - split from kdeedu
  131. * Sun Jun 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1
  132. - new upstream release
  133. * Mon Mar 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  134. - new upstream release
  135. * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.0-2
  136. - added BR: gcc-gfortran, libXpm-devel, soprano-devel
  137. * Fri Feb 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.0-1
  138. - new upstream release
  139. - added kstars-libs, math-cantor-r subpackages
  140. * Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 4.5.1-2
  141. - rebuilt with libboost-1.45.0
  142. * Sat Sep 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-1
  143. - rebuilt with libqalcurate-0.9.7
  144. * Sat Aug 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.0-1
  145. - new upstream release
  146. - added BR: avogadro-devel
  147. * Wed Jul 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.5-1
  148. - new upstream release
  149. - added Conflicts: kdeedu3
  150. * Fri May 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1
  151. - new upstream release
  152. * Sat Mar 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.1-1
  153. - new upstream release
  154. - built with new toolchain
  155. * Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1
  156. - new upstream release
  157. * Tue Oct 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-2
  158. - just +1 release number (4.3.2-1vl5 was broken in putting)
  159. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-1
  160. - new upstream release
  161. * Sat Sep 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.1-1
  162. - new upstream release
  163. - used %cmake macro
  164. - added BR: eigen2-devel
  165. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.0-1
  166. - new upstream release
  167. - split libs, kstars, marble, marble-libs and math sub-packages
  168. * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
  169. - applied new versioning policy
  170. * Sat Nov 24 2007 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.8-0vl3
  171. - added --with-qt-libraries configure option
  172. * Thu Oct 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
  173. - rebuild for VineSeed
  174. * Thu Oct 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
  175. - new upstream release
  176. * Wed Jun 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
  177. - rebuild for VineSeed
  178. * Sat May 26 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
  179. - new upstream release
  180. * Mon Jan 22 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.6-0vl1
  181. - new upstream release
  182. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
  183. - rebuild for VineSeed
  184. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
  185. - new upstream release
  186. * Sat Sep 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.4-0vl3
  187. - changed Group to Applications/Edutainment
  188. * Tue Aug 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
  189. - rebuild for VineSeed
  190. * Tue Aug 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
  191. - new upstream release
  192. * Tue May 30 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
  193. - rebuild for VineSeed
  194. * Tue May 30 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
  195. - new upstream release
  196. * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
  197. - rebuild for VineSeed
  198. * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
  199. - new upstream release
  200. - update description
  201. * Tue Jan 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2
  202. - rebuild for VineSeed
  203. * Tue Jan 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1
  204. - new upstream release
  205. - add BuildPrereq: ocaml facile
  206. * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2
  207. - rebuild for VineSeed
  208. * Tue Nov 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1
  209. - new upstream release
  210. * Mon Nov 14 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1
  211. - new upstream release
  212. - delete Patch10
  213. * Fri Nov 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.92-0vl3
  214. - add Patch0
  215. * Wed Oct 19 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.4.92-0vl2
  216. - added Patch10 (some kstars/apogee files includes sys/io.h,
  217. but sys/io.h is NOT available on many archtectures but ix86)
  218. * Mon Oct 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.92-0vl1
  219. - new upstream release
  220. - delete all patches
  221. * Tue Sep 20 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.91-0vl1
  222. - new upstream release
  223. - delete Patch0
  224. - add Patch0 - Patch2
  225. * Thu Aug 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl2
  226. - rebuild for VineSeed
  227. * Thu Aug 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl1
  228. - new upstream release
  229. - add Patch0 (http://www.kde.org/info/security/advisory-20050815-1.txt)
  230. * Thu Jun 30 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl2
  231. - build for VineSeed
  232. - add --disable-rpath to configure option
  233. * Mon Jun 6 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl1
  234. - new upstream release
  235. - use %%{?_smp_mflags} for make option
  236. * Sat Mar 19 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl2
  237. - rebuild for VineSeed
  238. * Sat Mar 12 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl1
  239. - new upstream release
  240. * Fri Mar 4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl0.rc1
  241. - new upstream release (3.4.0-rc1)
  242. - remove patch0
  243. * Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl4
  244. - rebuild for VineSeed
  245. * Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl3
  246. - add Patch0 (CAN-2005-0011)
  247. * Sat Dec 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
  248. - rebuild for VineSeed
  249. * Sat Dec 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
  250. - source upgrade
  251. - build for Vine Linux 3.1
  252. * Thu Oct 14 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
  253. - source upgrade
  254. - update %%files
  255. * Wed Aug 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
  256. - rebuild with qt32
  257. * Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
  258. - source upgrade
  259. - remove lines about vine26
  260. * Sat Apr 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
  261. - source upgrade
  262. * Tue Mar 9 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
  263. - source upgrade
  264. * Sat Jan 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.5-0vl2
  265. - rebuild for VineSeedPlus
  266. * Sun Jan 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.5-0vl1
  267. - source upgrade
  268. - build for VinePlus/2.6
  269. - (VinePlus/2.6) BuildPrereq: autoconf258
  270. * Sun Dec 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0vl3
  271. - build for VineSeed with new toolchain and qt-3.2.3
  272. * Sun Nov 2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0.26vl2
  273. - rebuild with qt-3.2.1-0.26vl3
  274. * Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0vl2
  275. - rebuild with qt-3.2.1-0vl3
  276. * Thu Sep 18 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0vl1
  277. - build with gcc-3.2.3
  278. * Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0.26vl1
  279. - source upgrade
  280. - BuildPrereq: qt-devel >= 3.2.1 arts-devel >= 1:1.1.4
  281. * Sat Aug 2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.3-0.26vl1
  282. - rebuild for Vine2.6
  283. * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.3-0vl1
  284. - source upgrade
  285. - change spec to build with gcc295
  286. - change make option for SMP and add script
  287. * Sat May 10 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl1
  288. - source upgrade
  289. - add BuildPrereq: zlib-devel libjpeg-devel libpng-devel
  290. - built with libpng >= 1.2.5 when %{vine26} is set to 0 (ie VineSeedPlus)
  291. - add BuildPrereq: arts-devel >= 1:1.1.2 kdelibs-devel >= %{version}
  292. - delete BuildPrereq: kdebase-devel >= %{version}
  293. * Sun Apr 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl1
  294. - source upgrade
  295. - remove patch
  296. - change spec to make monolithic package only
  297. - change spec to build both VineSeed and Vine2.5/2.6
  298. - revised description and files section
  299. * Sat Oct 19 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.4-0vl2
  300. - objprelink2 support only ix86 (add %ifarch %{ix86} ... )
  301. * Mon Oct 14 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.4-0vl1
  302. - source upgrade
  303. - BuildPrereq: autoconf253 objprelink2
  304. - fix %files for .desktop files
  305. * Tue Jul 23 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.2-1vl1
  306. - add BuildPrereq: autoconf252 automake15
  307. - add %define monolithic 1
  308. - add objprelink option (i386 only)
  309. - delete BuildPrereq: desktop-file-utils
  310. * Wed Jul 10 2002 Than Ngo <than@redhat.com> 3.0.2-1
  311. - 3.0.2
  312. - use desktop-file-install
  313. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  314. - automated rebuild
  315. * Sat May 25 2002 Bernhard Rosenkraenzer <bero@redhat.com>
  316. - initial RPM