Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
infoserver
python-dash_hash
python-dash_hash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-dash_hash.spec of Package python-dash_hash
%if 0%{?rhel} > 7 || 0%{?fedora} >= 22 %bcond_without python3 %else %bcond_with python3 %endif %define unmangled_name dash_hash %define unmangled_version 1.3.1 %define commit 70c8bd4517c5b38f52bf4073b10350b897f8ca5e Summary: Binding for Dash X11 proof of work hashing Name: python-%{unmangled_name} Version: %{unmangled_version} Release: 1%{?dist} Source0: https://github.com/dashpay/%{unmangled_name}/archive/%{commit}/%{unmangled_name}-%{commit}.tar.gz License: MIT Group: Development/Libraries Url: https://github.com/dashpay/dash_hash Prefix: %{_prefix} BuildRequires: python2-devel BuildRequires: python-setuptools %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-setuptools %endif %description Python module for Dash's X11 hashing. %package -n python2-%{unmangled_name} Summary: Binding for Dash X11 proof of work hashing. Group: Development/Libraries %{?python_provide:%python_provide python2-%{unmangled_name}} %description -n python2-%{unmangled_name} Python module for Dash's X11 hashing. This package contains the python2 version of this module. %if %{with python3} %package -n python3-%{unmangled_name} Summary: Binding for Dash X11 proof of work hashing. Group: Development/Libraries %{?python_provide:%python_provide python3-%{unmangled_name}} %description -n python3-%{unmangled_name} Python module for Dash's X11 hashing. This package contains the python3 version of this module. %endif %prep %setup -n %{unmangled_name}-%{commit} %build %py2_build %if %{with python3} %py3_build %endif %install %if %{with python3} %py3_install %endif %py2_install %files -n python2-%{unmangled_name} %defattr(-,root,root) %license LICENSE %doc README.md %{python2_sitearch}/%{unmangled_name}*.so %{python2_sitearch}/%{unmangled_name}-%{version}-py?.?.egg-info %if %{with python3} %files -n python3-%{unmangled_name} %defattr(-,root,root) %license LICENSE %doc README.md %{python3_sitearch}/%{unmangled_name}*.so %{python3_sitearch}/%{unmangled_name}-%{version}-py?.?.egg-info %endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor