Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sergiopasra
pywcs
pywcs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pywcs.spec of Package pywcs
# sitelib for noarch packages, sitearch for others (remove the unneeded one) %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define upversion 1.9-4.4.4 Name: pywcs Version: 1.9 Release: 1%{?dist} Summary: Python World Coordinate System routines License: BSD Group: Development/Languages URL: https://trac6.assembla.com/astrolib Source0: http://stsdas.stsci.edu/astrolib/%{name}-%{upversion}.tar.gz Patch0: pywcs-unbundle.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: python-devel numpy wcslib-devel Requires: numpy pyfits # Required by opensuse builder BuildRequires: atlas-devel %description pywcs is a set of routines for handling the FITS World Coordinate System (WCS) standard. It is a thin wrapper around the high- and mid-level interfaces of Dr. Mark Calabretta's WCSLIB. %prep %setup -q -n %{name}-%{upversion} %patch0 -p1 %build %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install --skip-build --root %{buildroot} chmod 755 %{buildroot}/%{python_sitearch}/pywcs/_pywcs.so %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE README %{python_sitearch}/pywcs/ %{python_sitearch}/*.egg-info %changelog * Tue Nov 09 2010 Sergio Pascual <sergiopr at fedoraproject.com> - 1.9-1 Initial spec file
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor