phyghtmap renamed, gdal package simplified

This commit is contained in:
2020-01-12 08:53:28 +01:00
parent 8990de711f
commit 85ebe2d4e7
2 changed files with 126 additions and 27 deletions

View File

@@ -0,0 +1,52 @@
Name: phyghtmap
Version: 2.21
Release: 99%{?dist}
Summary: Generate OSM contour lines from NASA SRTM data
License: GPLv2+
URL: http://katze.tfiu.de/projects/phyghtmap/
Source0: http://katze.tfiu.de/projects/%{modname}/%{modname}_%{version}.orig.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%global _description\
%{modname} is a little program which lets you easily generate OSM contour\
lines from NASA SRTM data.\
%description %_description
%package
Summary: %summary
Requires: python3-numpy
Requires: python3-beautifulsoup4
Requires: python3-matplotlib
%{?python_provide:%python_provide python3-phyghtmap}
%description
%prep
%setup -q -n %{name}-%{version}
%build
%py3_build
%install
%py3_install
install -Dpm 644 docs/%{modname}.1 %{buildroot}%{_mandir}/man1/%{modname}.1
%files
%doc README LICENSE_GPL-2 COPYRIGHT Changelog
%{_bindir}/%{modname}
%{_mandir}/man1/%{modname}.1*
%{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-%{version}-py*.egg-info/
%changelog
* Sat Jan 11 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
- Initial build