update to 1.6.2.2 [release 1.6.2.2-1mamba;Fri Jan 15 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:09:56 +01:00
parent fe71aab071
commit 745de5c039

View File

@ -1,13 +1,14 @@
Name: celestia
Version: 1.6.1
Version: 1.6.2.2
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://www.shatters.net/celestia
Source0: http://puzzle.dl.sourceforge.net/sourceforge/celestia/celestia-%{version}.tar.gz
URL: https://celestia.space/
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
Patch2: %{name}-1.5.0-gcc44.patch
Patch3: %{name}-1.5.1-gcc44.patch
@ -17,41 +18,43 @@ Patch6: %{name}-1.6.0-gcc45.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: libart_lgpl-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXmu-devel
BuildRequires: libXt-devel
BuildRequires: libatk-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libidn-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtkglext-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms-devel
BuildRequires: liblua-devel
BuildRequires: libmng-devel
BuildRequires: libogg-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libqt-devel
BuildRequires: libreadline-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtheora-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libuuid-devel
BuildRequires: libxcb-devel
BuildRequires: libXcursor-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXft-devel
BuildRequires: libXi-devel
BuildRequires: libXinerama-devel
BuildRequires: libXmu-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -59,82 +62,51 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The free space simulation that lets you explore our universe in three dimensions.
%debug_package
%prep
%setup -q
#%patch2 -p1
%patch3 -p1
#%patch4 -p0
%patch5 -p0
#%patch6 -p0
%setup -q -n Celestia-%{version}
autoupdate
autoreconf -f -i || true
%build
export QTDIR=%{_qt3_prefix} KDEDIR=%{prefix} QTLIB=%{_qt3_libdir}
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \
# NOTE: 1.6.2.2: kde support is obsolete (KDE3), using GTK
%configure \
--with-kde \
--bindir=%{_bindir} \
--sbindir=%{_sbindir} \
--libdir=%{_libdir} \
--includedir=%{_includedir} \
--datadir=%{_datadir} \
--infodir=%{_infodir} \
--localedir=%{_localedir}/celestia \
--mandir=%{_mandir} \
--docdir=%{_docdir}/celestia \
--with-extra-includes=%{_kdeincludedir} \
--with-extra-libs=%{_libdir}/kde3 \
--with-extra-libs=%{_libdir}/kde3 \
--enable-cairo \
--with-x \
--with-xinerama
--with-gtk
%make
###### -j1
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
install -D %{S:1} \
%{buildroot}%{_datadir}/applications/%{name}.desktop
##rm -r %{buildroot}/celestia.schemas
#%find_lang %{name}-f %{name}.lang
%find_lang %{name} --with-html --all-name
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/celestia
%{_localedir}/*/LC_MESSAGES/celestia_constellations.mo
%{_localedir}/*/LC_MESSAGES/celestia.mo
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applnk/Edutainment/Science/celestia.desktop
%{_datadir}/apps/celestia
%{_datadir}/config/celestiarc
%{_datadir}/icons/hicolor/*/apps/celestia.png
%{_datadir}/mimelnk/application/x-celestia-script.desktop
%{_datadir}/services/celestia.protocol
%{_datadir}/pixmaps/celestia.png
%dir %{_datadir}/celestia
%{_datadir}/celestia/COPYING
%{_datadir}/celestia/COPYING_*
%{_datadir}/celestia/bookmarks.xml
%{_datadir}/celestia/celestia.cfg
%{_datadir}/celestia/celestiaui.rc
%{_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/*.xyz
%{_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/favicons
%{_datadir}/celestia/favicons/*.png
%dir %{_datadir}/celestia/fonts
%{_datadir}/celestia/fonts/*.txf
%dir %{_datadir}/celestia/models
@ -160,14 +132,13 @@ install -D %{S:1} \
%dir %{_datadir}/celestia/textures/medres
%{_datadir}/celestia/textures/medres/*.jpg
%{_datadir}/celestia/textures/medres/*.png
%dir %{_docdir}/HTML/en/celestia
%doc %{_docdir}/HTML/en/celestia/common
%doc %{_docdir}/HTML/en/celestia/*.jpg
%doc %{_docdir}/HTML/en/celestia/index.cache.bz2
%doc %{_docdir}/HTML/en/celestia/index.docbook
%doc AUTHORS ChangeLog INSTALL README
%doc AUTHORS COPYING
#ChangeLog INSTALL README
%changelog
* 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