xplanet/xplanet.spec

77 lines
2.2 KiB
RPMSpec

Name: xplanet
Version: 1.3.1
Release: 1mamba
Summary: Render a planetary image into an X window
Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://xplanet.sourceforge.net/
Source: https://downloads.sourceforge.net/project/xplanet/xplanet/%{version}/xplanet-%{version}.tar.gz
Patch0: xplanet-1.2.1-g++44.patch
Patch1: xplanet-1.3.1-libgif-5.2.1.patch
Patch2: xplanet-1.3.1-gcc-11.1.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libXext-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgif-devel
BuildRequires: libglib-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjpeg-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%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.
%debug_package
%prep
%setup -q
%patch1 -p1
%patch2 -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
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1mamba
- update to 1.3.1
* 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