diff --git a/README.md b/README.md index 786b4d0..26b2bec 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # 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. + diff --git a/xplanet-1.2.1-g++44.patch b/xplanet-1.2.1-g++44.patch new file mode 100644 index 0000000..83cbfb9 --- /dev/null +++ b/xplanet-1.2.1-g++44.patch @@ -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 ++#include + #include + #include + 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 + #include ++#include + + #include "Separation.h" + #include "View.h" diff --git a/xplanet.spec b/xplanet.spec new file mode 100644 index 0000000..acf21a3 --- /dev/null +++ b/xplanet.spec @@ -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 +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 1.3.0-1mamba +- automatic version update by autodist + +* Sun Mar 27 2011 Automatic Build System 1.2.2-1mamba +- automatic update by autodist + +* Fri Nov 13 2009 Davide Madrisan 1.2.1-1mamba +- package created by autospec