rpms/pyfits/devel pyfits.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Sergio Pascual (sergiopr)
fedora-extras-commits at redhat.com
Tue Apr 8 18:38:58 UTC 2008
Author: sergiopr
Update of /cvs/pkgs/rpms/pyfits/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9690/devel
Modified Files:
.cvsignore sources
Added Files:
pyfits.spec
Log Message:
Import pyfits
--- NEW FILE pyfits.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: pyfits
Version: 1.3
Release: 2
Summary: Python interface to FITS
Group: Development/Languages
License: BSD
URL: http://www.stsci.edu/resources/software_hardware/pyfits
Source0: http://www.stsci.edu/resources/software_hardware/pyfits/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: python-devel python-setuptools
Requires: numpy
%description
PyFITS provides an interface to FITS formatted files under the Python
scripting language. It is useful both for interactive data analysis and for
writing analysis scripts in Python using FITS files as either input or output.
%prep
%setup -q
%{__sed} -i -e "1d" lib/NP_pyfits.py lib/NA_pyfits.py
%build
%{__python} setup.py build
%install
%{__rm} -fr %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
%clean
%{__rm} -fr %{buildroot}
%files
%defattr(-,root,root,-)
%doc lib/LICENSE.txt docs/Users_Manual.pdf
%{python_sitelib}/*
%changelog
* Sun Apr 06 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 1.3-2
- Fixing setup not quiet
- Shebang removed from non-script python files
* Wed Mar 26 2008 Sergio Pascual <sergio.pasra at gmail.com> - 1.3-1
- Initial specfile
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyfits/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Apr 2008 18:04:07 -0000 1.1
+++ .cvsignore 8 Apr 2008 18:38:18 -0000 1.2
@@ -0,0 +1 @@
+pyfits-1.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyfits/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Apr 2008 18:04:07 -0000 1.1
+++ sources 8 Apr 2008 18:38:18 -0000 1.2
@@ -0,0 +1 @@
+59c3c8c714336eab7760b7d320e124c3 pyfits-1.3.tar.gz
More information about the fedora-extras-commits
mailing list