|
|
33e8ffc |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
33e8ffc |
|
|
|
33e8ffc |
Name: APLpy
|
|
|
733b07e |
Version: 0.9.8
|
|
|
a129aed |
Release: 2%{?dist}
|
|
|
33e8ffc |
Summary: The Astronomical Plotting Library in Python
|
|
|
33e8ffc |
|
|
|
33e8ffc |
Group: Development/Languages
|
|
|
33e8ffc |
License: MIT
|
|
|
33e8ffc |
URL: http://aplpy.github.com
|
|
|
33e8ffc |
Source0: https://github.com/downloads/%{name}/%{name}/%{name}-%{version}.tar.gz
|
|
|
33e8ffc |
|
|
|
33e8ffc |
BuildArch: noarch
|
|
|
097ecbf |
BuildRequires: python-devel numpy python-matplotlib pyfits pywcs
|
|
|
33e8ffc |
Requires: numpy python-matplotlib pyfits pywcs
|
|
|
33e8ffc |
|
|
|
33e8ffc |
%description
|
|
|
33e8ffc |
APLpy (the Astronomical Plotting Library in Python) is a Python module aimed at
|
|
|
33e8ffc |
producing publication-quality plots of astronomical imaging data in FITS format.
|
|
|
33e8ffc |
The module uses Matplotlib, a powerful and interactive plotting package. It is
|
|
|
33e8ffc |
capable of creating output files in several graphical formats, including EPS,
|
|
|
33e8ffc |
PDF, PS, PNG, and SVG.
|
|
|
33e8ffc |
|
|
|
33e8ffc |
Main features:
|
|
|
33e8ffc |
|
|
|
33e8ffc |
o Make plots interactively or using scripts
|
|
|
33e8ffc |
o Show grayscale, colorscale, and 3-color RGB images of FITS files
|
|
|
33e8ffc |
o Generate co-aligned FITS cubes to make 3-color RGB images
|
|
|
33e8ffc |
o Overlay any number of contour sets
|
|
|
33e8ffc |
o Overlay markers with fully customizable symbols
|
|
|
33e8ffc |
o Plot customizable shapes like circles, ellipses, and rectangles
|
|
|
33e8ffc |
o Overlay ds9 region files
|
|
|
33e8ffc |
o Overlay coordinate grids
|
|
|
33e8ffc |
o Show colorbars, scalebars, and beams
|
|
|
33e8ffc |
o Customize the appearance of labels and ticks
|
|
|
33e8ffc |
o Hide, show, and remove different contour and marker layers
|
|
|
33e8ffc |
o Pan, zoom, and save any view as a full publication-quality plot
|
|
|
33e8ffc |
o Save plots as EPS, PDF, PS, PNG, and SVG
|
|
|
33e8ffc |
|
|
|
33e8ffc |
%prep
|
|
|
33e8ffc |
%setup -q -n %{name}-%{version}
|
|
|
33e8ffc |
|
|
|
33e8ffc |
%build
|
|
|
33e8ffc |
%{__python} setup.py build
|
|
|
33e8ffc |
|
|
|
733b07e |
%check
|
|
|
733b07e |
%{__python} setup.py test
|
|
|
733b07e |
|
|
|
33e8ffc |
%install
|
|
|
33e8ffc |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
33e8ffc |
|
|
|
33e8ffc |
%files
|
|
|
733b07e |
%doc CHANGES LICENSE README runtests.py tests/
|
|
|
33e8ffc |
%{python_sitelib}/%{name}-%{version}-py2.7.egg-info
|
|
|
33e8ffc |
%{python_sitelib}/aplpy/
|
|
|
33e8ffc |
|
|
|
33e8ffc |
%changelog
|
|
|
a129aed |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2
|
|
|
a129aed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a129aed |
|
|
|
733b07e |
* Tue May 03 2012 Germán A. Racca <skytux@fedoraproject.org> - 0.9.8-1
|
|
|
733b07e |
- Updated to new version
|
|
|
097ecbf |
- Included tests in %%check and corresponding BRs
|
|
|
733b07e |
- Packaged tests in %%doc section
|
|
|
733b07e |
|
|
|
733b07e |
* Mon Feb 06 2012 Germán A. Racca <skytux@fedoraproject.org> 0.9.6-3
|
|
|
33e8ffc |
- Minor changes to spec file after approval
|
|
|
33e8ffc |
- Removed INSTALL file
|
|
|
33e8ffc |
|
|
|
33e8ffc |
* Mon Jan 30 2012 Germán A. Racca <skytux@fedoraproject.org> 0.9.6-2
|
|
|
33e8ffc |
- Changed name of spec file to match the project name
|
|
|
33e8ffc |
|
|
|
33e8ffc |
* Mon Jan 23 2012 Germán A. Racca <skytux@fedoraproject.org> 0.9.6-1
|
|
|
33e8ffc |
- Initial release of RPM package
|
|
|
33e8ffc |
|