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