Files
rpms/fedora/SPECS/phyghtmap.spec

53 lines
1.2 KiB
RPMSpec
Raw Normal View History

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