Blob Blame History Raw
%global srcname SnipeIT-PythonAPI
%global modname snipeit   

Name:           python-%{modname}
# changelog has versions in README
Version:        1.2 
Release:        1%{?dist}
Summary:        Python Interface to the SnipeIT API

# MIT license mentioned in
License:        MIT
URL:  {srcname}
Source0:        %{url}/raw/master/dist/%{modname}-%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  python3-requests
BuildRequires:  python3-simplejson

%global _description\
Use this package to interface with the SnipeIT\
( API directly from Python.


%package -n python3-%{modname}
Summary:        %{summary}
Requires:       python3-requests
Requires:       python3-simplejson

%description -n python3-%{modname}

%autosetup -n%{modname}-%{version}


%files -n python3-%{modname}
%doc README.rst
%doc doc/snipeit/*.html

* Sun Nov 08 2020 Raphael Groner <> - 1.2-1
- initial