stellarium-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. %define pkg_name stellarium
  2. %define pkg_version 0.18.2
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: A free open source planetarium
  5. Summary(ja): オープンソースのプラネタリウム
  6. Name: %{pkg_name}
  7. Version: %{pkg_version}
  8. Release: %{pkg_release}
  9. License: GPLv2
  10. Group: Applications/Edutainment
  11. URL: http://www.stellarium.org/
  12. Source0: %{name}-%{version}.tar.gz
  13. Source1: stellarium.desktop
  14. Buildroot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: cmake
  16. BuildRequires: freetype2-devel
  17. BuildRequires: zlib-devel
  18. BuildRequires: qt5-qtbase-devel
  19. BuildRequires: qt5-qtlocation-devel
  20. BuildRequires: qt5-qtmultimedia-devel
  21. BuildRequires: qt5-qtserialport-devel
  22. BuildRequires: qt5-qtscript-devel
  23. BuildRequires: qt5-qttools-devel
  24. Requires: freetype2
  25. Requires: qt5-qtbase
  26. Requires: qt5-qtlocation
  27. Requires: qt5-qtmultimedia
  28. Requires: qt5-qtserialport
  29. Requires: qt5-qtscript
  30. Requires: qt5-qttools
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. Packager: ara_t
  34. %description
  35. Stellarium is a free open source planetarium for your computer.
  36. It shows a realistic sky in 3D, just like what you see with the naked eye,
  37. binoculars or a telescope.
  38. It is being used in planetarium projectors.
  39. Just set your coordinates and go.
  40. %description -l ja
  41. Stellariumは、無料のオープンソースプラネタリウムです。
  42. また、裸眼や双眼鏡で見える星空と同等の、リアルな3Dの星空を表示します。
  43. Stellariumは、プラネタリウムのプロジェクタでも使われています。
  44. あなたの現在位置を設定して、プラネタリウムを楽しみましょう。
  45. %prep
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %setup -q
  48. %build
  49. %{__cmake} -DCMAKE_INSTALL_PREFIX=%{_prefix}
  50. %{__make} %{?_smp_mflags}
  51. %install
  52. %{make_install}
  53. # menu / icon
  54. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_datadir}/applications/
  55. %{__cp} %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/applications/
  56. %clean
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. %files
  59. %doc ChangeLog COPYING CREDITS.md README.md
  60. %defattr(-,root,root)
  61. %{_bindir}/
  62. %{_datadir}/applications/
  63. %{_datadir}/icons/
  64. %{_datadir}/metainfo/
  65. %{_datadir}/pixmaps/
  66. %{_datadir}/stellarium/
  67. %{_mandir}/man1/
  68. %changelog
  69. * Sun Aug 19 2018 Toshiaki Ara <ara_t@384.jp> 0.18.2-1
  70. - update to 0.18.2
  71. - add BuildRequires: qt5-qtlocation-devel
  72. * Sat Nov 05 2016 Toshiaki Ara <ara_t@384.jp> 0.15.0-1vl7
  73. - update to 0.15.0
  74. - add BuildRequires: qt5-qtmultimedia-devel
  75. - add Requires: qt5-qtmultimedia
  76. * Tue Jul 19 2016 Toshiaki Ara <ara_t@384.jp> 0.14.3-1vl7
  77. - update to 0.14.3 for VineSeed
  78. - change to BuildRequires: qt5-qtbase-devel qt5-qtserialport-devel
  79. - change to BuildRequires: qt5-qtserialport-devel qt5-qttools-devel
  80. - change to Requires: qt5-qtbase qt5-qtserialport qt5-qtserialpor qt5-qttools
  81. * Fri Jul 08 2016 Toshiaki Ara <ara_t@384.jp> 0.12.6-2vl7
  82. - rebuild with gcc-5.4.0
  83. * Mon Apr 25 2016 Toshiaki Ara <ara_t@384.jp> 0.12.6-1vl7
  84. - update to 0.12.6 for VineSeed
  85. * Mon Apr 25 2016 Toshiaki Ara <ara_t@384.jp> 0.10.6-1
  86. - new package