mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 18:43:45 +00:00
Update radare2.spec (still not working)
This commit is contained in:
parent
fefe2e6cdf
commit
0ebfd4c642
31
radare2.spec
31
radare2.spec
@ -5,7 +5,7 @@ Summary: radare2 reverse engineering framework
|
||||
Group: Applications/Engineering
|
||||
License: GPLv3+
|
||||
URL: http://www.radare.org/
|
||||
Source0: https://github.com/radare/radare2/archive/%{version}.tar.gz
|
||||
Source0: https://github.com/radare/radare2/archive/%{name}-%{version}.tar.gz
|
||||
BuildRequires: file-devel
|
||||
|
||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||
@ -17,6 +17,12 @@ editor, wrapped I/O, filesystem support, debugger support, diffing
|
||||
between two functions or binaries, and code analysis at opcode,
|
||||
basic block, and function levels.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the radare2 package
|
||||
|
||||
%description devel
|
||||
Development files for the radare2 package. See radare2 package for more information
|
||||
|
||||
%prep
|
||||
%setup -q -n radare2-%{version}
|
||||
|
||||
@ -25,16 +31,31 @@ basic block, and function levels.
|
||||
%configure --with-sysmagic
|
||||
|
||||
#The make fails if _smp_mflags passed on command line
|
||||
make CFLAGS="%{optflags} -fPIC -I../include"
|
||||
CFLAGS="%{optflags} -fPIC -I. -Iinclude -I../include" make
|
||||
|
||||
%check
|
||||
make tests
|
||||
# Do not run the testsuite yet
|
||||
# %check
|
||||
# make tests
|
||||
|
||||
%install
|
||||
make install DESTDIR="%{buildroot}"
|
||||
|
||||
%files
|
||||
%doc %{_datadir}/doc/%{name}
|
||||
%doc COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/r*2
|
||||
%{_mandir}/man1/r*.1.*
|
||||
%{_libdir}/%{name}/%{version}/
|
||||
%{_libdir}/libr*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libr/
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user