automatic version update by autodist [release 1.3.0-1mamba;Tue Dec 18 2012]
This commit is contained in:
parent
a1b8de1a44
commit
c13dff36b1
@ -1,2 +1,6 @@
|
|||||||
# xplanet
|
# xplanet
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
19
xplanet-1.2.1-g++44.patch
Normal file
19
xplanet-1.2.1-g++44.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff -ru xplanet-1.2.1/src/Satellite.cpp xplanet-1.2.1-g++44/src/Satellite.cpp
|
||||||
|
--- xplanet-1.2.1/src/Satellite.cpp 2006-03-26 01:34:21.000000000 +0100
|
||||||
|
+++ xplanet-1.2.1-g++44/src/Satellite.cpp 2009-11-13 20:03:52.000000000 +0100
|
||||||
|
@@ -1,4 +1,5 @@
|
||||||
|
#include <clocale>
|
||||||
|
+#include <cstdio>
|
||||||
|
#include <cstring>
|
||||||
|
#include <iostream>
|
||||||
|
using namespace std;
|
||||||
|
diff -ru xplanet-1.2.1/src/Separation.cpp xplanet-1.2.1-g++44/src/Separation.cpp
|
||||||
|
--- xplanet-1.2.1/src/Separation.cpp 2008-11-14 01:19:05.000000000 +0100
|
||||||
|
+++ xplanet-1.2.1-g++44/src/Separation.cpp 2009-11-13 20:04:18.000000000 +0100
|
||||||
|
@@ -1,5 +1,6 @@
|
||||||
|
#include <cmath>
|
||||||
|
#include <iostream>
|
||||||
|
+#include <cstdio>
|
||||||
|
|
||||||
|
#include "Separation.h"
|
||||||
|
#include "View.h"
|
69
xplanet.spec
Normal file
69
xplanet.spec
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user