#
# Conditional build:
%bcond_without apidocs # do not build and package API docs
-#
+
Summary: Simple library for extracting the contents from OpenStreetMap files
Summary(pl.UTF-8): Prosta biblioteka do wyciągania danych z plików OpenStreetMap
Name: readosm
Version: 1.0.0e
-Release: 1
+Release: 2
License: MPL v1.1 or GPL v2+ or LGPL v2.1+
Group: Libraries
Source0: http://www.gaia-gis.it/gaia-sins/readosm-sources/%{name}-%{version}.tar.gz
Summary: ReadOSM API documentation
Summary(pl.UTF-8): Dokumentacja API biblioteki ReadOSM
Group: Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description apidocs
API and internal documentation for ReadOSM library.
%build
%configure
-
%{__make}
# libreadosm_la_LIBADD="-lm"
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT