stellarium-vl.spec 2.8 KB

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