Accepting request 722524 from home:jayvdb:branches:Application:Geo

Add license and tighten summary and description

OBS-URL: https://build.opensuse.org/request/show/722524
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geographiclib?expand=0&rev=3
This commit is contained in:
John Vandenberg 2019-08-12 05:18:14 +00:00 committed by Git OBS Bridge
parent 3be153fa0b
commit 588ea5a868
3 changed files with 37 additions and 8 deletions

24
LICENSE.txt Normal file
View File

@ -0,0 +1,24 @@
The MIT License (MIT); this license applies to GeographicLib,
versions 1.12 and later.
Copyright (c) 2008-2017, Charles Karney
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 12 05:16:04 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add %license and tighten summary and description
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 11 23:45:34 UTC 2019 - Todd R <toddrme2178@gmail.com> Sun Aug 11 23:45:34 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@ -20,10 +20,11 @@ Name: python-geographiclib
Version: 1.49 Version: 1.49
Release: 0 Release: 0
License: MIT License: MIT
Summary: The geodesic routines from GeographicLib Summary: Python geodesic routines
Url: https://geographiclib.sourceforge.io/ Url: https://geographiclib.sourceforge.io/
Group: Development/Languages/Python Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/g/geographiclib/geographiclib-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/g/geographiclib/geographiclib-%{version}.tar.gz
Source1: https://sourceforge.net/p/geographiclib/code/ci/master/tree/LICENSE.txt?format=raw#/LICENSE.txt
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: %{python_module base} BuildRequires: %{python_module base}
BuildRequires: fdupes BuildRequires: fdupes
@ -32,16 +33,14 @@ BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
This is a python implementation of the geodesic routines from GeographicLib. This is a Python implementation of the geodesic routines from GeographicLib.
This contains implementations of the classes:
- GeographicLib::Math This contains implementations of the classes Math, Accumulator, Geodesic,
- GeographicLib::Accumulator GeodesicLine and PolygonArea.
- GeographicLib::Geodesic
- GeographicLib::GeodesicLine
- GeographicLib::PolygonArea.
%prep %prep
%setup -q -n geographiclib-%{version} %setup -q -n geographiclib-%{version}
cp %{SOURCE1} .
%build %build
%python_build %python_build
@ -56,6 +55,7 @@ This contains implementations of the classes:
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE.txt
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog