File python-eficompressor.spec of Package python-eficompressor

# Created by pyp2rpm-3.2.3
%global pypi_name EfiCompressor

Name:           python-eficompressor
Version:        0.4
Release:        1%{?dist}
Summary:        Compress and decompress files using the EFI compression format

License:        BSD
URL:            https://github.com/linearregression/python-eficompressor
Source0:        https://files.pythonhosted.org/packages/source/E/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
 
BuildRequires:  python2-devel
BuildRequires:  python2-setuptools

%description
Compress and decompress files using the EFI compression format.

%package -n     python2-eficompressor
Summary:        %{summary}
%{?python_provide:%python_provide python2-%{pypi_name}}

%description -n python2-eficompressor
Compress and decompress files using the EFI compression format.

%prep
%autosetup -n %{pypi_name}-%{version}

%build
%py2_build

%install
%py2_install

%files -n python2-eficompressor
%{python2_sitearch}/BitArray.py*
%{python2_sitearch}/EfiDecompressor.py*
%{python2_sitearch}/EfiCompressor.so
%{python2_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info

%changelog
* Mon Mar 19 2018 root - 0.4-1
- Initial package.
openSUSE Build Service is sponsored by