Search
SailfishOS Open Build Service
>
Projects
>
home:MartinK
:
sailfish
:
geo
>
phyghtmap
> phyghtmap.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File phyghtmap.spec of Package phyghtmap
# # spec file for package osc # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: phyghtmap Version: 1.21 Release: 1 Group: Development/Tools/Other License: GPLv2+ Source: http://katze.tfiu.de/projects/phyghtmap/phyghtmap_1.21.orig.tar.gz Patch: init-minEle.diff Patch1: api06.diff Patch2: corrxy.diff Summary: Hight lines map generation tool for Garmin Requires: python-matplotlib Requires: python-beautifulsoup Requires: python-distribute BuildRequires: python-matplotlib BuildRequires: python-distribute BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build # %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description phyghtmap is a simple python program to create contour lines from NASA SRTM data and output them as OSM data. %prep %setup -q %patch -p0 %patch1 -p0 %patch2 -p0 %build CFLAGS="%{optflags}" \ %{__python} setup.py build %install %{__python} setup.py install --prefix=%{_prefix} --root %{buildroot} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/phyghtmap %{python_sitelib}/phyghtmap %{python_sitelib}/phyghtmap-%{version}-py?.?.egg-info %doc README #%doc %_mandir/man1/osc.* %changelog