File kdbg.spec of Package kdbg

#
# spec file for package kdbg (Version 2.2.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           kdbg
BuildRequires:  kdelibs3-devel
License:        GPLv2+
Group:          Development/Tools/Debuggers
Summary:        Graphical User Interface for GDB
Requires:       gdb
Version:        2.2.2
Release:        1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://www.kdbg.org/
Source0:        %name-%{version}.tar.bz2

%description
KDbg is a graphical user interface for GDB, the GNU debugger. It
provides an intuitive interface for setting breakpoints, inspecting
variables, and stepping through code.



Authors:
--------
    Johannes Sixt <Johannes.Sixt@telecom.at>

%prep
%setup -q
. /etc/opt/kde3/common_options
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
make %{?_smp_mflags}

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%suse_update_desktop_file kdbg Development Debugger
%find_lang %name

%clean 
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc COPYING BUGS ChangeLog-pre-2.2.0 TODO README ReleaseNotes-2.2.0 ReleaseNotes-2.2.1
/opt/kde3/bin/*
/opt/kde3/share/applications/kde/*.desktop
/opt/kde3/share/apps/kdbg
/opt/kde3/share/icons/*
/opt/kde3/share/config/kdbgrc

%changelog