File OctoPrint.spec of Package OctoPrint

#
# spec file for package oce
#
# Copyright (c) 2015 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:           OctoPrint
Version:        0.1
Release:        0
Summary:        OctoPrint

Group:          Productivity/Graphics/CAD
License:        LGPL-2.1 WITH OCCT-exception-1.0
Source0:        %name-%{version}.tar.xz
BuildRequires:  python-setuptools
BuildRequires:  python-devel
 
%description


%prep
%setup -q

%build
PATH="/usr/bin:$PATH" CFLAGS="%{optflags}" python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}



%files
%defattr(-,root,root,-)
%doc AUTHORS.md CHANGELOG.md LICENSE THIRDPARTYLICENSES.md README.md
/usr/bin/octoprint
%{python_sitelib}/*

openSUSE Build Service is sponsored by