Problems fixed
This commit is contained in:
@@ -1,30 +1,22 @@
|
|||||||
Name: phyghtmap
|
Name: phyghtmap
|
||||||
Version: 2.21
|
Version: 2.21
|
||||||
Release: 99%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Generate OSM contour lines from NASA SRTM data
|
Summary: Generate OSM contour lines from NASA SRTM data
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://katze.tfiu.de/projects/phyghtmap/
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
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-numpy
|
||||||
Requires: python3-beautifulsoup4
|
Requires: python3-beautifulsoup4
|
||||||
Requires: python3-matplotlib
|
Requires: python3-matplotlib
|
||||||
%{?python_provide:%python_provide python3-phyghtmap}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
%{name} is a little program which lets you easily generate OSM contour
|
||||||
|
lines from NASA SRTM data.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
@@ -36,15 +28,15 @@ Requires: python3-matplotlib
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_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
|
%files
|
||||||
%doc README LICENSE_GPL-2 COPYRIGHT Changelog
|
%doc README LICENSE_GPL-2 COPYRIGHT Changelog
|
||||||
%{_bindir}/%{modname}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/%{modname}.1*
|
%{_mandir}/man1/%{name}.1*
|
||||||
%{python3_sitelib}/%{modname}/
|
%{python3_sitelib}/%{name}/
|
||||||
%{python3_sitelib}/%{modname}-%{version}-py*.egg-info/
|
%{python3_sitelib}/%{name}-%{version}-py*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Jan 11 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
* Sat Jan 11 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||||
|
|||||||
Reference in New Issue
Block a user