stellarium/stellarium.spec

186 lines
6.6 KiB
RPMSpec

%define buildver %(echo %version | sed "s|[a-z]||")
Name: stellarium
Version: 0.21.0
Release: 1mamba
Summary: Stellarium is a free open source planetarium
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.stellarium.org
Source: https://github.com/Stellarium/stellarium/releases/download/v%{version}/stellarium-%{version}.tar.gz
#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: libgcc
BuildRequires: libgps-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libgps-devel >= 3.21-1mamba
BuildRequires: cmake
%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
%debug_package
%prep
%setup -q
%build
%cmake -d build
%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/org.stellarium.Stellarium.desktop
%{_datadir}/metainfo/org.stellarium.Stellarium.appdata.xml
%{_datadir}/icons/hicolor/*/apps/stellarium.png
%{_datadir}/mime/packages/stellarium.xml
%dir %{_datadir}/stellarium
%{_datadir}/stellarium/*
%{_mandir}/man1/stellarium.*
%changelog
* Fri Apr 02 2021 Automatic Build System <autodist@mambasoft.it> 0.21.0-1mamba
- automatic version update by autodist
* Fri Feb 26 2021 Automatic Build System <autodist@mambasoft.it> 0.20.4-1mamba
- automatic version update by autodist
* Tue Sep 29 2020 Automatic Build System <autodist@mambasoft.it> 0.20.3-1mamba
- automatic version update by autodist
* Thu Aug 20 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20.2-2mamba
- rebuilt by autoport with build requirements: libgps-devel>=3.21-1mamba
* Sat Jun 27 2020 Automatic Build System <autodist@mambasoft.it> 0.20.2-1mamba
- automatic version update by autodist
* Mon May 11 2020 Automatic Build System <autodist@mambasoft.it> 0.20.1-1mamba
- automatic version update by autodist
* Mon Mar 30 2020 Automatic Build System <autodist@mambasoft.it> 0.20.0-1mamba
- automatic version update by autodist
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 0.19.3-1mamba
- automatic version update by autodist
* Sun Oct 06 2019 Automatic Build System <autodist@mambasoft.it> 0.19.2-1mamba
- automatic version update by autodist
* Sat Jul 20 2019 Automatic Build System <autodist@mambasoft.it> 0.19.1-1mamba
- automatic version update by autodist
* Thu May 02 2019 Automatic Build System <autodist@mambasoft.it> 0.19.0-1mamba
- automatic version update by autodist
* Fri Sep 28 2018 Automatic Build System <autodist@mambasoft.it> 0.18.2-1mamba
- automatic version update by autodist
* Mon Sep 25 2017 Automatic Build System <autodist@mambasoft.it> 0.16.1-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
- automatic version update by autodist
* Fri Mar 31 2017 Automatic Build System <autodist@mambasoft.it> 0.15.2-1mamba
- automatic version update by autodist
* Wed Dec 28 2016 Automatic Build System <autodist@mambasoft.it> 0.15.1-1mamba
- automatic version update by autodist
* Mon Aug 08 2016 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
- automatic version update by autodist
* Wed Mar 23 2016 Automatic Build System <autodist@mambasoft.it> 0.14.3-1mamba
- automatic version update by autodist
* Sat Jan 09 2016 Automatic Build System <autodist@mambasoft.it> 0.14.2-1mamba
- automatic version update by autodist
* Wed Dec 02 2015 Automatic Build System <autodist@mambasoft.it> 0.14.1-1mamba
- automatic version update by autodist
* Sat Nov 14 2015 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
- automatic version update by autodist
* Tue Jan 27 2015 Automatic Build System <autodist@mambasoft.it> 0.13.2-1mamba
- automatic version update by autodist
* Fri Nov 07 2014 Automatic Build System <autodist@mambasoft.it> 0.13.1-1mamba
- automatic version update by autodist
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
- automatic version update by autodist
* 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