%define buildver %(echo %version | sed "s|[a-z]||") Name: stellarium Version: 0.12.4 Release: 1mamba Summary: Stellarium is a free open source planetarium Group: Graphical Desktop/Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Ercole 'ercolinux' Carpanetto 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/ %find_lang %{name} %find_lang %{name}-skycultures cat %{name}-skycultures.lang >> %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/stellarium %{_datadir}/applications/stellarium.desktop #%{_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 %{_datadir}/icons/hicolor/*/apps/stellarium.png %{_mandir}/man1/stellarium.* %changelog * Thu Oct 17 2013 Automatic Build System 0.12.4-1mamba - automatic version update by autodist * Wed Sep 18 2013 Automatic Build System 0.12.3-1mamba - automatic update by autodist * Mon Aug 05 2013 Automatic Build System 0.12.2-1mamba - automatic update by autodist * Mon Apr 22 2013 Automatic Build System 0.12.1-1mamba - automatic version update by autodist * Mon Feb 18 2013 Automatic Build System 0.12.0-1mamba - automatic version update by autodist * Mon Jan 21 2013 Automatic Build System 0.11.4a-1mamba - update to 0.11.4a * Sat Aug 25 2012 Automatic Build System 0.11.4-1mamba - automatic version update by autodist * Mon Aug 06 2012 Automatic Build System 0.11.3-1mamba - automatic version update by autodist * Mon Jul 25 2011 Automatic Build System 0.11.0-1mamba - automatic version update by autodist * Sun Mar 20 2011 Ercole 'ercolinux' Carpanetto 0.10-6-2mamba - added stellarium.desktop and icon files * Fri Mar 18 2011 Ercole 'ercolinux' Carpanetto 0.10.6-1mamba - update to 0.10.6 * Sun Jun 27 2010 Automatic Build System 0.10.5-1mamba - automatic update by autodist * Thu May 13 2010 Automatic Build System 0.10.4-1mamba - automatic update by autodist * Thu Jul 16 2009 Automatic Build System 0.10.2-1mamba - automatic update by autodist * Tue Dec 30 2008 Silvan Calarco 0.10.0-1mamba - update to 0.10.0 * Thu Jun 12 2008 Ercole 'ercolinux' Carpanetto 0.9.1-1mamba - package created by autospec