Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:geewass
unicorn
unicorn.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unicorn.spec of Package unicorn
# # spec file for package unicorn.spec # # Copyright (c) 2016 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 http://bugs.opensuse.org/ # %define apiver 2 Name: unicorn Version: 2.0.1 Release: 0 Summary: A lightweight, multi-platform, multi-architecture CPU emulator framework License: LGPL-2.0-only # FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" Group: Development/Tools Url: http://www.unicorn-engine.org # .post1 is a re-release not really a new version so remove that in next update Source: %{name}-%{version}.post1.tar.gz # Patch: BuildRequires: pkgconfig BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: python-devel BuildRequires: libffi-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator framework based on QEMU. Unicorn offers some unparalleled features: Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32, 64-bit) Clean/simple/lightweight/intuitive architecture-neutral API Implemented in pure C language, with bindings for Crystal, Clojure, Visual Basic, Perl, Rust, Ruby, Python, Java, .NET, Go, Delphi/Free Pascal and Haskell. Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris confirmed) High performance via Just-In-Time compilation Support for fine-grained instrumentation at various levels Thread-safety by design Distributed under free software license LGPLv2 Further information is available at http://www.unicorn-engine.org %package -n lib%{name}%{apiver} Summary: A lightweight, multi-platform, multi-architecture CPU emulator framework # FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" Group: Development/Tools %description -n lib%{name}%{apiver} Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator framework based on QEMU. Unicorn offers some unparalleled features: Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32, 64-bit) Clean/simple/lightweight/intuitive architecture-neutral API Implemented in pure C language, with bindings for Crystal, Clojure, Visual Basic, Perl, Rust, Ruby, Python, Java, .NET, Go, Delphi/Free Pascal and Haskell. Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris confirmed) High performance via Just-In-Time compilation Support for fine-grained instrumentation at various levels Thread-safety by design Distributed under free software license LGPLv2 Further information is available at http://www.unicorn-engine.org %package -n lib%{name}%{apiver}-devel Summary: Development files to build upon lib%{name}%{apiver} # FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" Group: Development/Tools Requires: lib%{name}%{apiver} = %{version} %description -n lib%{name}%{apiver}-devel Development files to build upon lib%{name}. %prep # FIXME: when update to next version, remove the post1 %setup -q -n %{name}-%{version}.post1 %build %cmake \ -DFIND_LIBRARY_USE_LIB64_PATHS=true \ -DCMAKE_BUILD_TYPE="RelWithDebugInfo" \ -DUNICORN_BUILD_TESTS=off %cmake_build %install %cmake_install # TODO: is there a better way to stop static lib build? rm %{buildroot}/%{_libdir}/lib%{name}.a* %post -n libunicorn%{apiver} -p /sbin/ldconfig %postun -n libunicorn%{apiver} -p /sbin/ldconfig %files -n libunicorn%{apiver} %defattr(-,root,root) %doc ChangeLog README.md AUTHORS.TXT COPYING COPYING_GLIB COPYING.LGPL2 CREDITS.TXT TODO SECURITY.md %{_libdir}/lib%{name}.so.* %files -n libunicorn%{apiver}-devel %defattr(-,root,root) %{_includedir}/%{name} %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %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