File python-pyproj.spec of Package python-pyproj

%define revision 285
%define ver 1.9.0
%define pyname pyproj

Name:           python-%{pyname}
Version:        %{ver}.dev%{revision}
Release:        0
Summary:        Python interface to PROJ.4 library
License:        Public domain and MIT/X11
Group:          Productivity/Scientific/Other
Source0:        %{pyname}-%{revision}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
#BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  fdupes
# python-distribute,
Requires:       python-numpy

Performs cartographic transformations and geodetic computations.
The Proj class can convert from geographic (longitude,latitude) to native map
projection (x,y) coordinates and vice versa, or from one map projection
coordinate system directly to another.

The Geod class can perform forward and inverse geodetic, or Great Circle,
computations. The forward computation involves determining latitude, longitude
and back azimuth of a terminus point given the latitude and longitude of an
initial point, plus azimuth and distance. The inverse computation involves
determining the forward and back azimuths and distance given the latitudes and
longitudes of an initial and terminus point.

Input coordinates can be given as python arrays, lists/tuples, scalars or
numpy/Numeric/numarray arrays. Optimized for objects that support the Python
buffer protocol (regular python and numpy array objects).

%setup -q -n %{pyname}

%{__python} build

rm -rf %{buildroot}

python install --prefix=%{_prefix} --root=%{buildroot} \

%fdupes -s %{buildroot}

rm -rf %{buildroot}

%doc README LICENSE_geographiclib LICENSE_proj4