diff --git a/fedora/SPECS/phyghtmap.spec b/fedora/SPECS/phyghtmap.spec index 85cd428..8633a91 100644 --- a/fedora/SPECS/phyghtmap.spec +++ b/fedora/SPECS/phyghtmap.spec @@ -1,30 +1,22 @@ Name: phyghtmap Version: 2.21 -Release: 99%{?dist} +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/%{modname}/%{modname}_%{version}.orig.tar.gz +Source0: http://katze.tfiu.de/projects/%{name}/%{name}_%{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 +%{name} is a little program which lets you easily generate OSM contour +lines from NASA SRTM data. %prep %setup -q -n %{name}-%{version} @@ -36,15 +28,15 @@ Requires: python3-matplotlib %install %py3_install -install -Dpm 644 docs/%{modname}.1 %{buildroot}%{_mandir}/man1/%{modname}.1 +install -Dpm 644 docs/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.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/ +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1* +%{python3_sitelib}/%{name}/ +%{python3_sitelib}/%{name}-%{version}-py*.egg-info/ %changelog * Sat Jan 11 2020 Daniel Steiner