Репозитории ALT
S: | 1.1-alt2 |
5.1: | 1.1-alt1.1 |
4.1: | 1.1-ipl11mdk |
4.0: | 1.1-ipl11mdk |
3.0: | 1.1-ipl10mdk |
Группа :: Развлечения
Пакет: xearth
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь