%define buildver %(echo %version | sed "s|[a-z]||") Name: stellarium Version: 0.16.1 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}/appdata/stellarium.appdata.xml %{_datadir}/icons/hicolor/*/apps/stellarium.png #%{_datadir}/icons/stellarium.ico %{_datadir}/pixmaps/stellarium.xpm %dir %{_datadir}/stellarium %{_datadir}/stellarium/* %{_mandir}/man1/stellarium.* %changelog * Mon Sep 25 2017 Automatic Build System 0.16.1-1mamba - automatic version update by autodist * Wed Aug 09 2017 Automatic Build System 0.16.0-1mamba - automatic version update by autodist * Fri Mar 31 2017 Automatic Build System 0.15.2-1mamba - automatic version update by autodist * Wed Dec 28 2016 Automatic Build System 0.15.1-1mamba - automatic version update by autodist * Mon Aug 08 2016 Automatic Build System 0.15.0-1mamba - automatic version update by autodist * Wed Mar 23 2016 Automatic Build System 0.14.3-1mamba - automatic version update by autodist * Sat Jan 09 2016 Automatic Build System 0.14.2-1mamba - automatic version update by autodist * Wed Dec 02 2015 Automatic Build System 0.14.1-1mamba - automatic version update by autodist * Sat Nov 14 2015 Automatic Build System 0.14.0-1mamba - automatic version update by autodist * Tue Jan 27 2015 Automatic Build System 0.13.2-1mamba - automatic version update by autodist * Fri Nov 07 2014 Automatic Build System 0.13.1-1mamba - automatic version update by autodist * Fri Aug 22 2014 Automatic Build System 0.13.0-1mamba - automatic version update by autodist * 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