File kdbus.spec of Package kdbus
#
# spec file for package kdbus
#
# Copyright (c) 2011 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 unsermake
License: GPL-2.0+
Group: System/GUI/KDE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: D-BUS service browser for KDE
Version: 0.8.6_SVN_20070413
Release: 197
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