2014-06-27 00:19:00 +02:00
|
|
|
Name: radare2
|
|
|
|
Version: 0.9.8rc3
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: radare2 reverse engineering framework
|
|
|
|
Group: Applications/Engineering
|
|
|
|
License: GPLv3+
|
|
|
|
URL: http://www.radare.org/
|
2014-06-28 02:06:15 +02:00
|
|
|
Source0: https://github.com/radare/radare2/archive/%{name}-%{version}.tar.gz
|
2014-06-27 00:19:00 +02:00
|
|
|
BuildRequires: file-devel
|
|
|
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Radare2 is a reverse-engineering framework that is multi-architecture,
|
|
|
|
multi-platform, and highly scriptable. Radare2 provides a hexadecmial
|
|
|
|
editor, wrapped I/O, filesystem support, debugger support, diffing
|
|
|
|
between two functions or binaries, and code analysis at opcode,
|
|
|
|
basic block, and function levels.
|
|
|
|
|
2014-06-28 02:06:15 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for the radare2 package
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development files for the radare2 package. See radare2 package for more information
|
|
|
|
|
2014-06-27 00:19:00 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n radare2-%{version}
|
|
|
|
|
|
|
|
# Use system libmagic rather than bundled
|
|
|
|
%build
|
|
|
|
%configure --with-sysmagic
|
|
|
|
|
|
|
|
#The make fails if _smp_mflags passed on command line
|
2014-06-28 02:06:15 +02:00
|
|
|
CFLAGS="%{optflags} -fPIC -I. -Iinclude -I../include" make
|
2014-06-27 00:19:00 +02:00
|
|
|
|
2014-06-28 02:06:15 +02:00
|
|
|
# Do not run the testsuite yet
|
|
|
|
# %check
|
|
|
|
# make tests
|
2014-06-27 00:19:00 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR="%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
2014-06-28 02:06:15 +02:00
|
|
|
%doc %{_datadir}/doc/%{name}
|
2014-06-27 00:19:00 +02:00
|
|
|
%doc COPYING
|
2014-06-28 02:06:15 +02:00
|
|
|
%{_bindir}/r*2
|
|
|
|
%{_mandir}/man1/r*.1.*
|
|
|
|
%{_libdir}/%{name}/%{version}/
|
|
|
|
%{_libdir}/libr*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/libr/
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2014-06-27 00:19:00 +02:00
|
|
|
|
|
|
|
%changelog
|
2014-06-28 02:06:15 +02:00
|
|
|
* Fri Jun 27 2014 pancake <pancake@nopcode.org> 0.12.8rc3-1
|
|
|
|
-
|
|
|
|
|
|
|
|
* Fri Jun 27 2014 pancake <pancake@nopcode.org> 0.11.8rc3-1
|
|
|
|
- new package built with tito
|
|
|
|
|