Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37731232
en ru br
ALT Linux repos
S:1.1-alt2
5.0: 1.1-alt1.1
4.1: 1.1-ipl11mdk
4.0: 1.1-ipl11mdk
3.0: 1.1-ipl10mdk

Group :: Toys
RPM: xearth

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: xearth
Version: 1.1
Release: alt2
Epoch: 1

Summary: An X display of the Earth from space
License: MIT
Group: Toys

Url: http://hewgill.com/xearth/original/
Source0: ftp://cag.lcs.mit.edu/pub/tuna/xearth-1.1.tar.bz2
Source1: xearth_locations.txt
Source3: xearth16.xpm
Source4: xearth32.xpm
Source5: xearth48.xpm
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Sat Mar 04 2006

BuildRequires: imake libICE-devel libSM-devel libX11-devel libXext-devel libXt-devel xorg-cf-files xorg-proto-devel

Summary(fr): affiche en 3D la terre vue du soleil en fonds d'écran

%description
Xearth is an X Window System based graphic that shows a globe of the
Earth, including markers for major cities and MandrakeSoft.  The
Earth is correctly shaded for the current position of the sun, and the
displayed image is updated every five minutes.

%description -l fr
Xearth est un programme pour le système X Window qui affiche le globe terrestre
en 3D, tel qui l'est vu du soleil (avec ombrage).  Les continents sont
parsemées par des points indiquant les grandes villes ainsi que le siège de
MandrakeSoft.
L'écran est mis à jour toutes les 5mn.

%prep
%setup

%build
xmkmf
%make CDEBUGFLAGS="%optflags"

%install
make DESTDIR=%buildroot install install.man
mkdir -p %buildroot%_datadir/xearth
cp %SOURCE1 %buildroot%_datadir/xearth/xearth_locations.txt

#install icons

mkdir -p %buildroot%_miconsdir
mkdir -p %buildroot%_niconsdir
mkdir -p %buildroot%_liconsdir

cp %SOURCE3 %buildroot%_miconsdir/xearth.xpm
cp %SOURCE4 %buildroot%_niconsdir/xearth.xpm
cp %SOURCE5 %buildroot%_liconsdir/xearth.xpm

install -m755 -d %buildroot%_desktopdir/
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=Xearth
Comment=Display the Earth on your desktop
Exec=%name -bigstars 20 -label -labelpos -5-150 -markerfile /usr/share/xearth/xearth_locations.txt
Icon=%name
Terminal=false
Categories=Game;Amusement;
EOF

%files
%_x11bindir/*
%_x11mandir/man1/*
%_datadir/%name/
%_desktopdir/%name.desktop
%_miconsdir/*.xpm
%_niconsdir/*.xpm
%_liconsdir/*.xpm

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin