This commit is contained in:
Volker Fröhlich 2014-07-02 14:57:19 +02:00
commit 79f7564b2c
3 changed files with 53 additions and 0 deletions

1
.gitignore vendored
View file

@ -0,0 +1 @@
/OWSLib-0.8.7.tar.gz

51
python-OWSLib.spec Normal file
View file

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

View file

@ -0,0 +1 @@
a86f087e07529b58b918a05af883ef60 OWSLib-0.8.7.tar.gz