This repository has been archived by the owner on Jul 25, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
radare2.spec
81 lines (68 loc) · 2.41 KB
/
radare2.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Name: radare2
Version: 1.4.0
Release: 1%{?dist}
Summary: Radare is a portable reversing framework
License: LGPLv3
URL: https://radare.org
Source0: http://cloud.radare.org/get/1.4.0/radare2-%{version}.tar.gz
BuildRequires: openssl-devel
BuildRequires: capstone-devel
BuildRequires: libzip-devel
Requires: capstone
%description
Radare is a portable reversing framework that can
- Disassemble (and assemble for) many different architectures
- Debug with local native and remote debuggers (gdb, rap, webui, r2pipe, winedbg, windbg)
- Run on Linux, *BSD, Windows, OSX, Android, iOS, Solaris and Haiku
- Perform forensics on filesystems and data carving
- Be scripted in Python, Javascript, Go and more
- Support collaborative analysis using the embedded webserver
- Visualize data structures of several file types
- Patch programs to uncover new features or fix vulnerabilities
- Use powerful analysis capabilities to speed up reversing
- Aid in software exploitation
%package devel
Summary: Development files for the %{name} package
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Development files for the %{name} package. See %{name} package for more
information.
%prep
%autosetup
%build
%configure --with-openssl --with-ostype=auto --with-syscapstone --with-syszip --with-sysmagic #--without-gpl, currently doesnt build with this
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%make_install
%files
%license COPYING COPYING.LESSER
%doc AUTHORS.md CONTRIBUTING.md DEVELOPERS.md README.md
%{_bindir}/*
%{_libdir}/libr*
%{_docdir}/radare2/*
%{_datadir}/%{name}/last
%{_datadir}/%{name}/%{version}/cons
%{_datadir}/%{name}/%{version}/fcnsign
%{_datadir}/%{name}/%{version}/format
%{_datadir}/%{name}/%{version}/magic
%{_datadir}/%{name}/%{version}/opcodes
%{_datadir}/%{name}/%{version}/syscall
%{_datadir}/%{name}/%{version}/www
%{_datadir}/%{name}/%{version}/hud
%{_mandir}/man1/*
%{_mandir}/man7/*
%files devel
%license COPYING COPYING.LESSER
%doc AUTHORS.md CONTRIBUTING.md DEVELOPERS.md README.md
%{_includedir}/libr
%{_libdir}/*.so
%{_libdir}/radare2/last
%{_libdir}/radare2/%{version}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri May 13 2017 Siddharth Sharma <siddharth.kde@gmail.com> - 1.4.0-1
- Radare2 release 1.4.0
* Fri Jan 20 2017 Siddharth Sharma <siddharth.kde@gmail.com> - 1.1.0-1
- Init New Package Radare 2