2024-01-05 18:07:15 +01:00
|
|
|
%define buildver %(echo %version | sed "s|[a-z]||")
|
|
|
|
Name: stellarium
|
2024-01-05 18:07:15 +01:00
|
|
|
Version: 0.13.1
|
2024-01-05 18:07:15 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Stellarium is a free open source planetarium
|
|
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
|
|
URL: http://www.stellarium.org
|
|
|
|
Source: http://downloads.sourceforge.net/project/stellarium/Stellarium-sources/%{version}/stellarium-%{version}.tar.gz
|
|
|
|
Source1: stellarium.desktop
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libqt4-devel
|
|
|
|
BuildRequires: libSDL_mixer-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Stellarium is a free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope. It is being used in planetarium projectors. Just set your coordinates nd go
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{buildver}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
|
|
|
-DQT_PHONON_INCLUDE_DIR:PATH=%{_includedir}
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
#mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
#mkdir -p %{buildroot}%{_datadir}/icons
|
|
|
|
#cp %SOURCE1 %{buildroot}%{_datadir}/applications/
|
|
|
|
#cp %{buildroot}%{_datadir}/stellarium/data/stellarium.ico %{buildroot}%{_datadir}/icons/
|
|
|
|
|
2024-01-05 18:07:15 +01:00
|
|
|
#%find_lang %{name}
|
|
|
|
#%find_lang %{name}-skycultures
|
|
|
|
#cat %{name}-skycultures.lang >> %{name}.lang
|
2024-01-05 18:07:15 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 18:07:15 +01:00
|
|
|
%files
|
|
|
|
#-f %{name}.lang
|
2024-01-05 18:07:15 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/stellarium
|
|
|
|
%{_datadir}/applications/stellarium.desktop
|
2024-01-05 18:07:15 +01:00
|
|
|
%{_datadir}/appdata/stellarium.appdata.xml
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/stellarium.png
|
2024-01-05 18:07:15 +01:00
|
|
|
#%{_datadir}/icons/stellarium.ico
|
|
|
|
%{_datadir}/pixmaps/stellarium.xpm
|
|
|
|
%dir %{_datadir}/stellarium
|
|
|
|
%{_datadir}/stellarium/data/*
|
|
|
|
%dir %{_datadir}/stellarium/landscapes
|
|
|
|
%{_datadir}/stellarium/landscapes/*
|
|
|
|
%dir %{_datadir}/stellarium/nebulae
|
|
|
|
%{_datadir}/stellarium/nebulae/*
|
|
|
|
%dir %{_datadir}/stellarium/scripts
|
|
|
|
%{_datadir}/stellarium/scripts/*.ssc
|
|
|
|
%{_datadir}/stellarium/scripts/common_objects.inc
|
|
|
|
%dir %{_datadir}/stellarium/skycultures
|
|
|
|
%{_datadir}/stellarium/skycultures/*
|
|
|
|
%dir %{_datadir}/stellarium/stars
|
|
|
|
%{_datadir}/stellarium/stars/*
|
|
|
|
%dir %{_datadir}/stellarium/textures
|
|
|
|
%{_datadir}/stellarium/textures/*.png
|
|
|
|
#%{_datadir}/stellarium/textures/earth-clouds.jpg
|
2024-01-05 18:07:15 +01:00
|
|
|
%dir %{_datadir}/stellarium/translations
|
|
|
|
%dir %{_datadir}/stellarium/translations/stellarium-skycultures
|
|
|
|
%{_datadir}/stellarium/translations/stellarium-skycultures/*.qm
|
|
|
|
%dir %{_datadir}/stellarium/translations/stellarium
|
|
|
|
%{_datadir}/stellarium/translations/stellarium/*.qm
|
2024-01-05 18:07:15 +01:00
|
|
|
%{_mandir}/man1/stellarium.*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:07:15 +01:00
|
|
|
* Fri Nov 07 2014 Automatic Build System <autodist@mambasoft.it> 0.13.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:07:15 +01:00
|
|
|
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:07:15 +01:00
|
|
|
* Thu Oct 17 2013 Automatic Build System <autodist@mambasoft.it> 0.12.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Sep 18 2013 Automatic Build System <autodist@mambasoft.it> 0.12.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 05 2013 Automatic Build System <autodist@mambasoft.it> 0.12.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 18 2013 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 21 2013 Automatic Build System <autodist@mambasoft.it> 0.11.4a-1mamba
|
|
|
|
- update to 0.11.4a
|
|
|
|
|
|
|
|
* Sat Aug 25 2012 Automatic Build System <autodist@mambasoft.it> 0.11.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 06 2012 Automatic Build System <autodist@mambasoft.it> 0.11.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 20 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.10-6-2mamba
|
|
|
|
- added stellarium.desktop and icon files
|
|
|
|
|
|
|
|
* Fri Mar 18 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.10.6-1mamba
|
|
|
|
- update to 0.10.6
|
|
|
|
|
|
|
|
* Sun Jun 27 2010 Automatic Build System <autodist@mambasoft.it> 0.10.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu May 13 2010 Automatic Build System <autodist@mambasoft.it> 0.10.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 16 2009 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Dec 30 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.0-1mamba
|
|
|
|
- update to 0.10.0
|
|
|
|
|
|
|
|
* Thu Jun 12 2008 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9.1-1mamba
|
|
|
|
- package created by autospec
|