File xplanet.spec of Package xplanet

#
# spec file for package xplanet
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           xplanet
Version:        1.2.2
Release:        1
License:        GPLv2+
Summary:        Planets as Background Pictures or Interactive Animations
Url:            http://xplanet.sourceforge.net/
Group:          Productivity/Scientific/Astronomy
# https://downloads.sourceforge.net/project/xplanet/xplanet/1.2.2/xplanet-1.2.2.tar.gz
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  freetype2-devel
BuildRequires:  gcc-c++
BuildRequires:  giflib-devel
BuildRequires:  libjpeg-devel
BuildRequires:  libnetpbm-devel
BuildRequires:  libpng-devel
BuildRequires:  libtiff-devel
BuildRequires:  pango-devel
BuildRequires:  xorg-x11-devel

%description
Xplanet can display the earth or other planets in the background of
your display, similar to xearth or xglobe.  Additionally, it can run in
interactive mode allowing you to rotate or zoom the planet.  Also, with
an included script, it is very easy to combine map files with current
satellite cloud images. See
/usr/share/doc/packages/xplanet/README.SuSE.  For screenshots and more
interesting information, have a look at the Xplanet home page:
http://xplanet.sourceforge.net/

%prep
%setup -q

%build
# Set our preferred architecture-specific flags for the compiler and linker:
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
%configure
make %{?_smp_mflags}

%install
%make_install

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/%{name}
%doc %{_mandir}/man1/%{name}.1%{ext_man}
%{_datadir}/%{name}

%changelog
openSUSE Build Service is sponsored by