ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gdb.spec
(Generate patch)

Comparing COMP/CMSDIST/gdb.spec (file contents):
Revision 1.1 by elmer, Sat Oct 13 19:13:58 2007 UTC vs.
Revision 1.6 by elmer, Mon Oct 19 19:55:23 2009 UTC

# Line 1 | Line 1
1 < ### RPM external gdb 6.7-CMS3
1 > ### RPM external gdb 7.0
2 > ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
3 >
4   Source: http://ftp.gnu.org/gnu/%{n}/%{n}-%{realversion}.tar.bz2
5  
6   %prep
7   %setup -n %n-%{realversion}
8  
9   %build
10 < ./configure --prefix=%{i}
10 > ./configure --prefix=%{i} --with-expat=no
11   make %makeprocesses
12  
13 + %install
14 + make install
15 + mv %i/bin/gdb %i/bin/gdb-%{realversion}
16 +
17 + # To save space, clean up some things that we don't really need
18 + rm %i/lib/*
19 + rm %i/bin/gdbserver
20 + rm %i/bin/gdbtui
21 +
22 + # SCRAM ToolBox toolfile
23 + mkdir -p %i/etc/scram.d
24 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
25 + <Tool name=gdb version=%v>
26 + <Client>
27 + <Environment name=GDB_BASE default="%i"></Environment>
28 + </Client>
29 + <Runtime name=PATH value="$GDB_BASE/bin" type=path>
30 + </Tool>
31 + EOF_TOOLFILE
32 +
33 + %post
34 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines