79f7564
# Python3 support doesn't seem to be complete yet
79f7564
# https://github.com/geopython/OWSLib/issues/81
79f7564
79f7564
# Works with either ElementTree or python-lxml
79f7564
%global modname OWSLib
79f7564
79f7564
Name:           python-%{modname}
8ac890d
Version:        0.8.13
1d6b762
Release:        1%{?dist}
79f7564
Summary:        Client library for OGC web services
79f7564
License:        BSD
79f7564
URL:            http://geopython.github.io/OWSLib
79f7564
Source0:        http://pypi.python.org/packages/source/O/%{modname}/%{modname}-%{version}.tar.gz
79f7564
BuildArch:      noarch
79f7564
79f7564
BuildRequires:  python2-devel
79f7564
BuildRequires:  python-setuptools
79f7564
Requires:       python-dateutil
79f7564
Requires:       pytz
79f7564
79f7564
%description
79f7564
Package for client programming with Open Geospatial Consortium (OGC) web
79f7564
service (hence OWS) interface standards, and their related content models.
79f7564
79f7564
%prep
79f7564
%setup -q -n %{modname}-%{version}
79f7564
rm -rf %{modname}.egg-info
79f7564
79f7564
79f7564
%build
79f7564
%{__python2} setup.py build
79f7564
79f7564
79f7564
%install
79f7564
%{__python2} setup.py install --skip-build --root %{buildroot}
79f7564
79f7564
79f7564
%files
79f7564
%doc LICENSE.txt README.txt CHANGES.txt CREDITS.txt
79f7564
%{python_sitelib}/owslib
79f7564
%{python_sitelib}/%{modname}-%{version}-py*.egg-info
79f7564
79f7564
%changelog
8ac890d
* Sat Feb 14 2015 Volker Fröhlich <volker27@gmx.at> - 0.8.13-1
8ac890d
- New upstream release
8ac890d
0f5c505
* Tue Dec 23 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.12-1
0f5c505
- New upstream release
0f5c505
479ebe2
* Wed Dec 17 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.11-1
479ebe2
- New upstream release
479ebe2
9959ed1
* Mon Oct 13 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.10-1
9959ed1
- New upstream release
9959ed1
414ffdf
* Wed Sep 24 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.9-1
414ffdf
- New upstream release
414ffdf
1d6b762
* Mon Jul  7 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.8-1
1d6b762
- New upstream release
1d6b762
79f7564
* Wed Jul  2 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.7-3
79f7564
- Changed package summary
79f7564
79f7564
* Tue Jul  1 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.7-2
79f7564
- Correct BR python-setuptools-devel to python-setuptools
79f7564
79f7564
* Mon Jun 30 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.7-1
79f7564
- Initial package for Fedora