File python3-pyparted.spec of Package python3-pyparted

Name:           python3-pyparted
Version:        0
Release:        0
Summary:        Python Bindings For Parted
License:        GPL-3.0
Group:          System/Filesystems
Url:            https://github.com/rhinstaller/pyparted
Source0:        pyparted-%{version}.tar.xz
BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  parted-devel

%description
python bindings for parted

%prep
%setup -q -n pyparted-%version

%build
export CFLAGS="$RPM_OPT_FLAGS"
python3 setup.py build

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

%files
%defattr(-,root,root)
%doc COPYING README.md
/usr/lib/python3.4/site-packages/*
openSUSE Build Service is sponsored by