Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:cryptocurrencies
solidity
solidity.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File solidity.spec of Package solidity
# # spec file for package solidity # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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: solidity Version: 0.7.5 Release: 0 Summary: Contract-Oriented Programming Language License: GPL-3.0-or-later Group: Development/Languages/Other URL: https://solidity.readthedocs.io/ Source: https://github.com/ethereum/solidity/releases/download/v%{version}/solidity_%{version}.tar.gz Patch0: find_jsoncpp.patch Patch1: fix_build.patch Patch2: dont_build_yul_phaser.patch BuildRequires: binutils-gold BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libboost_filesystem-devel BuildRequires: libboost_headers-devel BuildRequires: libboost_program_options-devel BuildRequires: libboost_regex-devel BuildRequires: libboost_system-devel BuildRequires: libboost_test-devel BuildRequires: pkgconfig(jsoncpp) %description Solidity is a statically typed, contract-oriented, high-level language for implementing smart contracts on the Ethereum platform. %prep %setup -q -n %{name}_%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %cmake \ -DUSE_CVC4=OFF \ -DUSE_Z3=OFF \ -DTESTS=OFF \ -DBoost_USE_STATIC_LIBS=OFF %if %suse_version > 1500 %cmake_build %else %make_jobs %endif %install cd build bins=( solc/solc tools/solidity-upgrade ) libs=( libevmasm liblangutil libsmtutil libsolc libsolidity libsolutil libyul ) for i in ${libs[@]}; do install -D -m 755 $i/$i.so %{buildroot}%{_libdir}/%{name}/$i.so done mkdir -p %{buildroot}%{_bindir} for i in ${bins[@]}; do bin="$(basename "$i")" install -D -m 755 "$i" %{buildroot}%{_libdir}/%{name}/$bin cat > %{buildroot}%{_bindir}/$bin <<EOF #!/bin/bash export LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}\${LD_LIBRARY_PATH:+:}%{_libdir}/%{name}" exec %{_libdir}/%{name}/$bin "\$@" EOF chmod +x %{buildroot}%{_bindir}/$bin done %files %doc Changelog.md README.md %license LICENSE.txt %{_bindir}/* %{_libdir}/%{name}/ %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