%define srcname rmap
%define version 9.0
%define release 18
Summary: rete monitoraggio ambientale partecipativo
Name: python3-%{srcname}
Version: %{version}
Release: %{release}
Source0: %{srcname}-%{version}.tar.gz
License: GNU GPL v2
Group: Development/Libraries
BuildArch: noarch
Vendor: Paolo Patruno
Url: https://github.com/r-map/rmap
BuildRequires: python3-devel python3-django python3-configobj
BuildRequires: python3-django-imagekit python3-django-geojson
BuildRequires: python3-django-tagging gettext python3-django-appconf
Requires: python3-configobj
Requires: python3-django-imagekit python3-django-geojson
Requires: python3-django-tagging python3-django-hosts
Requires: python3-django-cookie-law python3-django-extensions python3-dballe python3-gdal
Requires: gettext python3-django-appconf
#Requires:corsheaders
%description
RMAP: participative environmental monitoring net.
%prep
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
#%check
#%{__python3} setup.py test
%files -n %{name}
#%license LICENSE
%doc README.rst
%{python3_sitelib}/*
%config(noreplace) %{_sysconfdir}/rmap/*
%{_bindir}/*
%{_datadir}/rmap/
%{_mandir}/man1/*