2024-01-06 11:11:38 +01:00
|
|
|
Name: python-geopy
|
2024-01-06 11:11:38 +01:00
|
|
|
Version: 2.2.0
|
2024-01-06 11:11:38 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 11:11:38 +01:00
|
|
|
Summary: Python Geocoding Toolbox
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/geopy/geopy
|
2024-01-06 11:11:38 +01:00
|
|
|
Source: https://pypi.debian.net/geopy/geopy-%{version}.tar.gz
|
2024-01-06 11:11:38 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:11:38 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libpython3-devel >= 3.7.4
|
2024-01-06 11:11:38 +01:00
|
|
|
Requires: python >= %python_version
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n geopy-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 11:11:38 +01:00
|
|
|
export LC_ALL=en_US.UTF-8
|
2024-01-06 11:11:38 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:11:38 +01:00
|
|
|
export LC_ALL=en_US.UTF-8
|
2024-01-06 11:11:38 +01:00
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-06 11:11:38 +01:00
|
|
|
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 11:11:38 +01:00
|
|
|
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:11:38 +01:00
|
|
|
* Mon Jul 12 2021 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:38 +01:00
|
|
|
* Sun Jan 10 2021 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:38 +01:00
|
|
|
* Sun Sep 06 2020 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:38 +01:00
|
|
|
* Tue May 12 2020 Automatic Build System <autodist@mambasoft.it> 1.22.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:38 +01:00
|
|
|
* Mon Feb 03 2020 Automatic Build System <autodist@mambasoft.it> 1.21.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:38 +01:00
|
|
|
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.0-2mamba
|
|
|
|
- rebuilt with python3 3.7.4
|
|
|
|
|
|
|
|
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.0-1mamba
|
|
|
|
- update to 1.20.0
|
|
|
|
|
2024-01-06 11:11:38 +01:00
|
|
|
* Tue Jul 28 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-1mamba
|
|
|
|
- package created using the webbuild interface
|