54 lines
1.3 KiB
RPMSpec
54 lines
1.3 KiB
RPMSpec
Name: phyghtmap
|
|
Version: 2.23
|
|
Release: 1%{?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/%{name}/%{name}_%{version}.orig.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
|
|
Requires: python3-numpy
|
|
Requires: python3-beautifulsoup4
|
|
Requires: python3-matplotlib
|
|
|
|
%description
|
|
%{name} is a little program which lets you easily generate OSM contour
|
|
lines from NASA SRTM data.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
|
|
%install
|
|
%py3_install
|
|
install -Dpm 644 docs/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|
|
|
|
|
%files
|
|
%doc README LICENSE_GPL-2 COPYRIGHT Changelog
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man1/%{name}.1*
|
|
%{python3_sitelib}/%{name}/
|
|
%{python3_sitelib}/%{name}-%{version}-py*.egg-info/
|
|
|
|
%changelog
|
|
* Tue Jan 4 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
|
- Update to latest (2.23).
|
|
|
|
* Fri May 21 2021 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
|
- First build on Fedora 34.
|
|
|
|
* Sat Jan 11 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
|
- First build on Fedora 33.
|
|
|
|
* Sat Jan 11 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
|
- Initial build
|
|
|