xplanet/xplanet.spec

70 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: xplanet
Version: 1.3.0
Release: 1mamba
Summary: Render a planetary image into an X window
Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://xplanet.sourceforge.net/
Source: http://prdownloads.sourceforge.net/xplanet/xplanet-%{version}.tar.gz
Patch: %{name}-1.2.1-g++44.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libjpeg-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libungif-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Xplanet was inspired by Xearth, which renders an image of the earth into the X root window.
All of the major planets and most satellites can be drawn, similar to the Solar System Simulator.
A number of different map projections are also supported, including azimuthal, Lambert, Mercator, Mollweide, orthographic, and rectangular.
%prep
%setup -q
#%patch -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/xplanet
%dir %{_datadir}/xplanet
%{_datadir}/xplanet/*
%{_mandir}/man1/xplanet.*
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%changelog
* Tue Dec 18 2012 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Sun Mar 27 2011 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic update by autodist
* Fri Nov 13 2009 Davide Madrisan <davide.madrisan@gmail.com> 1.2.1-1mamba
- package created by autospec