5 %define src_dir
%{name}-%{version}
7 %define builddir $RPM_BUILD_DIR
/%{name}-%{version}
9 Summary: KDbg
- KDE Debugging GUI around gdb
14 Group: X11
/KDE
/Development
16 Distribution: RedHat
7.0
17 Vendor: Johannes Sixt
<j6t@kdbg.org
>
18 Packager: Ullrich von Bassewitz
<uz@musoftware.de
>
19 Source: %{name}-%{version}.tar.gz
20 URL: http
://www.kdbg.org
/
21 Requires: kdelibs
>= 2.0
22 BuildRoot: /tmp
/build
-%{name}-%{version}
25 KDbg is a graphical user interface to gdb
, the GNU debugger. It provides
26 an intuitive interface
for setting breakpoints
, inspecting variables
, and
27 stepping through code.
30 rm -rf $RPM_BUILD_ROOT
34 touch `find .
-type f`
39 cmake .
-DCMAKE_INSTALL_PREFIX
=/usr
45 if [ -z "$KDEDIR"
]; then
46 export KDEDIR
=%{prefix}
48 rm -rf $RPM_BUILD_ROOT
49 make DESTDIR
=$RPM_BUILD_ROOT
install
52 find .
-type f | sed
-e 's
,^\.
,\
%attr(-\
,root\
,root
) ,' \
53 -e '
/\
/config\
//s|^|
%config|'
> \
54 $RPM_BUILD_DIR
/file.list.
%{name}
55 find .
-type l | sed 's
,^\.
,\
%attr(-\
,root\
,root
) ,'
>> \
56 $RPM_BUILD_DIR
/file.list.
%{name}
57 echo "
%docdir $KDEDIR
/share
/doc
/HTML"
>> $RPM_BUILD_DIR
/file.list.
%{name}
61 rm -rf $RPM_BUILD_ROOT
63 rm -f $RPM_BUILD_DIR
/file.list.
%{name}
65 %files -f ..
/file.list.
%{name}