Project not found: devel:openQA:GitHub:os-autoinst:openQA:PR-6865

File progress.spec of Package progress

%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}

%define src_name progress
%define name python-progress
%define version 1.1
%define release 1

Summary: Easy to use progress bars
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://pypi.python.org/packages/source/p/%{src_name}/%{src_name}-%{version}.tar.gz
License: ISC
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch


Url: http://github.com/verigak/progress/

Requires: python >= 2.6
Requires: python-setuptools

BuildRequires: python-setuptools

%description
Easy progress reporting for Python

%prep
%setup -n %{src_name}-%{version} -n %{src_name}-%{version}

%build
python setup.py build

%install
python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README.rst LICENSE
%{python_sitelib}/*
openSUSE Build Service is sponsored by