stellarium-vl.spec 2.1 KB

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