SPECS: radare.spec - up to 0.9.9 - standard LDFLAGS break linking process. ...

emes emes at pld-linux.org
Thu Jul 31 20:18:26 CEST 2008


Author: emes                         Date: Thu Jul 31 18:18:26 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.9.9
- standard LDFLAGS break linking process. switching to plain ./configure
- some paths patching

---- Files affected:
SPECS:
   radare.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/radare.spec
diff -u SPECS/radare.spec:1.1 SPECS/radare.spec:1.2
--- SPECS/radare.spec:1.1	Fri Jul 18 10:56:44 2008
+++ SPECS/radare.spec	Thu Jul 31 20:18:20 2008
@@ -1,16 +1,17 @@
 # $Revision$, $Date$
-Summary:	Advanced commandline hexadecimal editor
+Summary:		Advanced commandline hexadecimal editor
 Summary(pl.UTF-8):	Zaawansowany edytor szesnastkowy obsługiwany z linii poleceń
-Name:		radare
-Version:	0.9.7
-Release:	0.1
-License:	GPL
-Group:		Applications
-Source0:	http://radare.nopcode.org/get/%{name}-%{version}.tar.gz
-# Source0-md5:	f346d90cc0fec433b16f646b6c2af091
-Patch0:		%{name}-paths.patch
-URL:		http://radare.nopcode.org/
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Name:			radare
+Version:		0.9.9
+Release:		0.1
+License:		GPL
+Group:			Applications
+Source0:		http://radare.nopcode.org/get/%{name}-%{version}.tar.gz
+# Source0-md5:	d818eaa0509355b969231683bccfdf99
+Patch0:			%{name}-paths.patch
+URL:			http://radare.nopcode.org/
+BuildRequires:	readline-devel
+BuildRoot:		%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The project aims to create a complete free *nix-like toolchain for working with binary files.
@@ -28,14 +29,14 @@
 pozwala na łatwe tworzenie skryptów w językach takich jak Lua, Lisp, Perl, Vala.
 
 %prep
+#%setup -q -n %{name}-%{release_date}
 %setup -q
-%patch0
+%patch0 -p0
 
 %build
-%configure
-
-%{__make} \
-	LDFLAGS="-ldl"
+# Won't link with --as-needed flag, so we run plain ./configure here
+./configure --prefix=/usr --exec-prefix=/usr
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -47,6 +48,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 mv $RPM_BUILD_ROOT%{_docdir}/%{name} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+mv $RPM_BUILD_ROOT/usr/man $RPM_BUILD_ROOT%{_mandir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,6 +58,7 @@
 %doc %{_docdir}/%{name}-%{version}
 %attr(755,root,root) %{_bindir}/*
 %{_libdir}/libfdsniff.so
+%{_libdir}/libusbsniff.so
 %{_libdir}/%{name}
 %{_datadir}/%{name}
 %{_mandir}/man1/*
@@ -66,6 +69,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/07/31 18:18:20  emes
+- up to 0.9.9
+- standard LDFLAGS break linking process. switching to plain ./configure
+- some paths patching
+
 Revision 1.1  2008/07/18 08:56:44  emes
 - first release
 - Makefiles heavily patched to install properly
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/radare.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list