From 79f7564b2c86a1eeb49b5d25679bd6753ac6fd16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volker=20Fr=C3=B6hlich?= Date: Wed, 2 Jul 2014 14:57:19 +0200 Subject: [PATCH] Check-in --- .gitignore | 1 + python-OWSLib.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 python-OWSLib.spec diff --git a/.gitignore b/.gitignore index e69de29..3bdcdac 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/OWSLib-0.8.7.tar.gz diff --git a/python-OWSLib.spec b/python-OWSLib.spec new file mode 100644 index 0000000..a616e6f --- /dev/null +++ b/python-OWSLib.spec @@ -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 - 0.8.7-3 +- Changed package summary + +* Tue Jul 1 2014 Volker Fröhlich - 0.8.7-2 +- Correct BR python-setuptools-devel to python-setuptools + +* Mon Jun 30 2014 Volker Fröhlich - 0.8.7-1 +- Initial package for Fedora diff --git a/sources b/sources index e69de29..23c8a41 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a86f087e07529b58b918a05af883ef60 OWSLib-0.8.7.tar.gz