celestia/celestia.spec

148 lines
4.5 KiB
RPMSpec

Name: celestia
Version: 1.6.4
Release: 1mamba
Summary: the free space simulation that lets you explore our universe in three dimensions
Group: Graphical Desktop/Applications/Educational
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://ww25.celestia.space/?subid1=20240625-1009-091b-8cd8-13b1fd672112
Source0: https://github.com/CelestiaProject/Celestia.git/%{version}/Celestia-%{version}.tar.bz2
#Source0: http://downloads.sourceforge.net/sourceforge/celestia/celestia-%{version}.tar.gz
Source1: %{name}.desktop
Patch0: celestia-1.6.4-pr-m4.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libXmu-devel
BuildRequires: libXt-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglu-devel
BuildRequires: libglvnd-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtkglext-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjpeg-devel
BuildRequires: liblua-devel
BuildRequires: libogg-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libreadline-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtheora-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%description
The free space simulation that lets you explore our universe in three dimensions.
%debug_package
%prep
%setup -q -n Celestia-%{version}
%patch 0 -p1 -b .pr-m4
autoupdate
autoreconf -f -i || true
%build
# NOTE: 1.6.2.2: kde support is obsolete (KDE3), using GTK
%configure \
--with-gtk
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%find_lang %{name} --with-html --all-name
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/celestia
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/celestia.png
%dir %{_datadir}/celestia
%{_datadir}/celestia/COPYING
%{_datadir}/celestia/COPYING_*
%{_datadir}/celestia/celestia.cfg
%{_datadir}/celestia/celestia-logo.png
%{_datadir}/celestia/celestiaui.xml
%{_datadir}/celestia/*.cel
%{_datadir}/celestia/*.txt
%dir %{_datadir}/celestia/data
%{_datadir}/celestia/data/*.ssc
%{_datadir}/celestia/data/*.dat
%{_datadir}/celestia/data/*.dsc
%{_datadir}/celestia/data/*.stc
%dir %{_datadir}/celestia/extras-standard
%{_datadir}/celestia/extras-standard/*
%dir %{_datadir}/celestia/extras
%{_datadir}/celestia/extras/*.ssc
%dir %{_datadir}/celestia/fonts
%{_datadir}/celestia/fonts/*.txf
%dir %{_datadir}/celestia/models
%{_datadir}/celestia/models/*.png
%{_datadir}/celestia/models/*.3ds
%{_datadir}/celestia/models/*.cmod
%{_datadir}/celestia/models/*.cms
%dir %{_datadir}/celestia/scripts
%{_datadir}/celestia/scripts/*
%dir %{_datadir}/celestia/shaders
%{_datadir}/celestia/shaders/*.vp
%{_datadir}/celestia/shaders/*.fp
%dir %{_datadir}/celestia/splash
%{_datadir}/celestia/splash/splash.png
%dir %{_datadir}/celestia/textures
%{_datadir}/celestia/textures/flare.jpg
%{_datadir}/celestia/textures/logo.png
%dir %{_datadir}/celestia/textures/hires
%{_datadir}/celestia/textures/hires/*.jpg
%dir %{_datadir}/celestia/textures/lores
%{_datadir}/celestia/textures/lores/*.jpg
%{_datadir}/celestia/textures/lores/*.png
%dir %{_datadir}/celestia/textures/medres
%{_datadir}/celestia/textures/medres/*.jpg
%{_datadir}/celestia/textures/medres/*.png
%doc AUTHORS COPYING
#ChangeLog INSTALL README
%changelog
* Tue Jun 25 2024 Automatic Build System <autodist@openmamba.org> 1.6.4-1mamba
- automatic version update by autodist
* Fri Jan 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.2.2-1mamba
- update to 1.6.2.2
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic update by autodist
* Sat Mar 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-2mamba
- rebuilt with libjpeg 8
- added patches for libpng 1.4 and 1.5
* Tue Jul 14 2009 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic update by autodist
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 1.5.1-2mamba
- automatic rebuild by autodist
* Sun Jun 08 2008 gil <puntogil@libero.it> 1.5.1-1mamba
- update to 1.5.1
- removed patch
* Fri Jul 08 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.3.2-1qilnx
- package created by autospec