1 |
Name: xplanet |
2 |
Version: 1.2.1 |
3 |
Release: %mkrel 5 |
4 |
Summary: OpenGL based planet renderer |
5 |
Source0: http://freefr.dl.sourceforge.net/sourceforge/xplanet/%{name}-%{version}.tar.gz |
6 |
Patch0: xplanet-1.2.1-fix-gcc44.patch |
7 |
URL: http://xplanet.sourceforge.net/ |
8 |
License: GPLv2+ |
9 |
Group: Toys |
10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
11 |
BuildRequires: png-devel pango-devel jpeg-devel tiff-devel X11-devel |
12 |
|
13 |
%description |
14 |
Xplanet is similar to Xearth, where an image of the earth is rendered into |
15 |
an X window. Azimuthal, Mercator, Mollweide, orthographic, or rectangular |
16 |
projections can be displayed as well as a window with a globe the user can |
17 |
rotate interactively. The other planets and some satellites may also be |
18 |
displayed. The latest version, as well as maps for other planets can be |
19 |
found at http://xplanet.sourceforge.net. Xplanet can support separate |
20 |
night and day maps, as well as a separate cloud map. |
21 |
|
22 |
%prep |
23 |
%setup -q |
24 |
%patch0 -p0 |
25 |
|
26 |
%build |
27 |
# the macro break X output |
28 |
%configure2_5x --with-xscreensaver --with-x |
29 |
%make |
30 |
|
31 |
%install |
32 |
rm -rf $RPM_BUILD_ROOT |
33 |
%makeinstall |
34 |
|
35 |
#mkdir -p $RPM_BUILD_ROOT/%_prefix/man/man1 |
36 |
#mv $RPM_BUILD_ROOT/%_prefix/man/*.1 $RPM_BUILD_ROOT/%_prefix/man/man1/ |
37 |
#bzip2 $RPM_BUILD_ROOT/%_mandir/man1/* |
38 |
|
39 |
%clean |
40 |
rm -rf $RPM_BUILD_ROOT |
41 |
|
42 |
%files |
43 |
%defattr(-,root,root,-) |
44 |
%doc COPYING ChangeLog INSTALL |
45 |
%{_mandir}/man1/%{name}.1.* |
46 |
%{_bindir}/* |
47 |
%{_datadir}/* |
48 |
|
49 |
|