|
|
@@ -25,24 +25,24 @@
|
|
|
|
|
|
# package information
|
|
|
Name: xplanet
|
|
|
-Summary: Planetary image render program
|
|
|
+Summary: Planetary Image Render Program
|
|
|
URL: http://xplanet.sourceforge.net/
|
|
|
Vendor: Hari Nair
|
|
|
Packager: The OpenPKG Project
|
|
|
-Distribution: OpenPKG [JUNK]
|
|
|
+Distribution: OpenPKG [EVAL]
|
|
|
Group: XWindow
|
|
|
License: GPL
|
|
|
Version: 0.94
|
|
|
Release: 20021202
|
|
|
|
|
|
# list of sources
|
|
|
-Source0: http://switch.dl.sourceforge.net/sourceforge/xplanet/xplanet-nomap-%{version}.tar.gz
|
|
|
+Source0: http://osdn.dl.sourceforge.net/sourceforge/xplanet/xplanet-nomap-%{version}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206, X11, freetype, jpeg, png, tiff
|
|
|
-PreReq: OpenPKG, openpkg >= 20020206, X11
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20021020, X11, gcc, freetype, jpeg, png, tiff
|
|
|
+PreReq: OpenPKG, openpkg >= 20021020, X11
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -53,11 +53,9 @@ AutoReqProv: no
|
|
|
satellites may also be displayed.
|
|
|
|
|
|
One can retrieve suitable maps e.g. at ...
|
|
|
-
|
|
|
o http://www.radcyberzine.com/xglobe/
|
|
|
o http://www.vterrain.org/Imagery/whole_earth.html
|
|
|
o http://gw.marketingden.com/planets/planets.html
|
|
|
-
|
|
|
Take a look at the xplanet home page for more details.
|
|
|
|
|
|
%prep
|
|
|
@@ -65,9 +63,11 @@ AutoReqProv: no
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
+ CXX="%{l_cxx}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
- CPPFLAGS="-I%{l_prefix}/include -I%{l_prefix}/include/tiff" \
|
|
|
- LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
+ CXXFLAGS="%{l_cflags -O} -Wno-deprecated" \
|
|
|
+ CPPFLAGS="%{l_cppflags} -I%{l_prefix}/include/tiff" \
|
|
|
+ LDFLAGS="%{l_ldflags}" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--with-x \
|
|
|
@@ -84,8 +84,9 @@ AutoReqProv: no
|
|
|
--without-gl \
|
|
|
--without-glut
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
- CPPFLAGS="-I%{l_prefix}/include -I%{l_prefix}/include/tiff" \
|
|
|
- LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
+ CXXFLAGS="%{l_cflags -O} -Wno-deprecated" \
|
|
|
+ CPPFLAGS="%{l_cppflags} -I%{l_prefix}/include/tiff" \
|
|
|
+ LDFLAGS="%{l_ldflags}" \
|
|
|
%{l_make} %{l_mflags -O}
|
|
|
|
|
|
%install
|