File kdbus.spec of Package kdbus

#
# spec file for package kdbus (Version 0.8.6_SVN_20070413 )
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           kdbus
Url:            http://rohanpm.net/kdbus
BuildRequires:  dbus-1-devel kdelibs3-devel
License:        GPL v2 or later
Group:          System/GUI/KDE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        D-BUS service browser for KDE
Version:        0.8.6_SVN_20070413 
Release:        186
Requires:       dbus-1 >= 0.6
Source:         %{name}-%{version}.tar.bz2
Patch0:         kdbus-desktop_file.diff

%description
kdbus is a D-BUS service browser for KDE like kdcop for DCOP.



Authors:
--------
    Rohan McGovern <rohan.pm@gmail.com>

%prep
%setup -n %{name}-%{version} -q
%patch0
. /etc/opt/kde3/common_options
update_admin

%build
. /etc/opt/kde3/common_options
./configure 
make

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%suse_update_desktop_file kdbus System Monitor
%find_lang %name

%post
%{run_ldconfig} 

%postun
%{run_ldconfig} 

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc README AUTHORS ChangeLog COPYING INSTALL
%dir /opt/kde3/share/apps/kdbus
/opt/kde3/bin/*
/opt/kde3/share/icons/??color
/opt/kde3/share/applications/*
/opt/kde3/share/apps/kdbus/kdbusui.rc

%changelog
* Fri Apr 13 2007 dkukawka@suse.de
- updated to current SVN HEAD:
  - updated kdbus-desktop_file.diff
  - should fix b.n.c #264321
* Mon Jul 03 2006 dkukawka@suse.de
- updated to release v0.8.6
  adaption to specifics of various dbus versions
* Fri Feb 17 2006 stbinner@suse.de
- fix GenericName in .desktop file
* Wed Feb 15 2006 dkukawka@suse.de
- initial package (v0.8.5)