Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:cryptocurrencies
ethash
ethash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ethash.spec of Package ethash
# # spec file for package ethash # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: ethash Version: 0.6.0 Release: 0 Summary: Ethereum Proof of Work algorithm License: Apache-2.0 Group: System/Libraries URL: https://github.com/chfast/ethash Source0: %{name}-%{version}.tar.xz Patch0: find-libs.patch Patch1: disable-benchmarks.patch BuildRequires: cmake >= 3.13.4 BuildRequires: gcc-c++ BuildRequires: gtest %description C/C++ implementation of Ethash – the Ethereum Proof of Work algorithm %package -n libethash Summary: Ethereum Proof of Work algorithm Group: System/Libraries %description -n libethash C/C++ implementation of Ethash – the Ethereum Proof of Work algorithm %package -n ethash-devel Summary: Development files for libethash Group: Development/Libraries/C and C++ Requires: libethash = %{version} %description -n ethash-devel The %{name}-devel package contains libraries and header files for developing applications that use libethash. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %cmake \ -DHUNTER_ENABLED=OFF %if %suse_version > 1500 %cmake_build %else %make_jobs %endif %install %cmake_install %check export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${PWD}/build/lib/ethash:${PWD}/build/lib/keccak" cd build/test ./ethash-test %post -n libethash -p /sbin/ldconfig %postun -n libethash -p /sbin/ldconfig %files -n libethash %{_libdir}/libethash.so %{_libdir}/libkeccak.so %files -n ethash-devel %{_includedir}/ethash/ %{_libdir}/cmake/ethash/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor