Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 71e9cdc105 | |||
| 043b7a8faf | |||
| a0c9018d90 | |||
| 190664b0f1 | |||
| 7f258ce2f9 | |||
| 5211d007f8 |
3
_service
Normal file
3
_service
Normal file
@@ -0,0 +1,3 @@
|
||||
<services>
|
||||
<service name="download_files" mode="manual" />
|
||||
</services>
|
||||
BIN
capstone-4.0.2.tar.gz
LFS
BIN
capstone-4.0.2.tar.gz
LFS
Binary file not shown.
3
capstone-5.0.6.tar.gz
Normal file
3
capstone-5.0.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:240ebc834c51aae41ca9215d3190cc372fd132b9c5c8aa2d5f19ca0c325e28f9
|
||||
size 7653660
|
||||
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 11 17:08:38 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Use %ldconfig_scriptlets
|
||||
|
||||
- Update to version 5.0.6:
|
||||
* Add little endian support for TMS320c64x
|
||||
* Full changelog at
|
||||
https://github.com/capstone-engine/capstone/compare/5.0.5...5.0.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 29 18:41:48 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Update to version 5.0.5:
|
||||
* Full changelog at
|
||||
https://github.com/capstone-engine/capstone/compare/4.0.2...5.0.5
|
||||
|
||||
- Use CMake for building
|
||||
* Include .cmake devel files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 10:13:22 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Build with distro %{optflags}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 15:28:46 UTC 2023 - Martin Wilck <mwilck@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package capstone
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,20 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
%define sover 4
|
||||
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
|
||||
|
||||
%define sover 5
|
||||
Name: capstone
|
||||
Version: 4.0.2
|
||||
Version: 5.0.6
|
||||
Release: 0
|
||||
Summary: A multi-platform, multi-architecture disassembly framework
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Tools/Building
|
||||
URL: https://www.capstone-engine.org
|
||||
Source: https://github.com/aquynh/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source: https://github.com/capstone-engine/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ninja
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: pkgconfig(python3)
|
||||
|
||||
%description
|
||||
Capstone is a disassembly framework.
|
||||
@@ -80,17 +85,22 @@ This package contains the Capstone bindings for Python.
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
CAPSTONE_ARCHS="arm aarch64 mips powerpc sparc systemz x86" CAPSTONE_STATIC="yes" \
|
||||
CFLAGS="%{optflags}" ./make.sh
|
||||
%define __builder ninja
|
||||
%cmake \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_STATIC_LIBS=ON \
|
||||
-DCAPSTONE_BUILD_CSTEST=OFF \
|
||||
-DCAPSTONE_BUILD_TESTS=OFF
|
||||
%cmake_build
|
||||
|
||||
pushd bindings/python/
|
||||
cd .. # back to the main source directory
|
||||
|
||||
pushd bindings/python/ || exit 1
|
||||
%python3_build
|
||||
popd
|
||||
popd || exit 1
|
||||
|
||||
%install
|
||||
CAPSTONE_ARCHS="arm aarch64 mips powerpc sparc systemz x86" \
|
||||
LIBDIRARCH="%{_lib}" INCDIR="%{_includedir}" \
|
||||
DESTDIR=%{buildroot} V=1 CAPSTONE_STATIC="yes" ./make.sh install
|
||||
%cmake_install
|
||||
|
||||
install -m 755 -d %{buildroot}%{_docdir}/%{name}-doc/docs
|
||||
install -m 644 -t %{buildroot}%{_docdir}/%{name}-doc/docs docs/README docs/*.pdf
|
||||
@@ -109,8 +119,7 @@ sed -e '/^archive/d' -e 's|^libdir=.*|libdir=%{_libdir}|' \
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%post -n libcapstone%{sover} -p /sbin/ldconfig
|
||||
%postun -n libcapstone%{sover} -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n libcapstone%{sover}
|
||||
|
||||
%files
|
||||
%license LICENSE*.TXT
|
||||
@@ -123,6 +132,7 @@ sed -e '/^archive/d' -e 's|^libdir=.*|libdir=%{_libdir}|' \
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/lib%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/cmake/capstone/
|
||||
|
||||
%files -n libcapstone-devel-static
|
||||
%{_libdir}/lib%{name}.a
|
||||
|
||||
Reference in New Issue
Block a user