File knetload.spec of Package knetload
#
# spec file for package knetload (Version 1.99)
#
# Copyright 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
#
# 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: knetload
BuildRequires: kdelibs3-devel fdupes
License: GPL-2.0
Group: System/Monitoring
Summary: Kicker Applet to Show Net Usage
Version: 1.99
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%version.tar.bz2
Patch0: %name-deprecate-update-desktop-files.patch
%description
This is a small program for Kicker (the KDE panel). It will show the net
usage in the form of two configurable diagrams.
Authors:
--------
Markus Gustavsson <mighty@fragzone.se>
Ben Burton <bab@debian.org>
%prep
%setup -q
. /etc/opt/kde3/common_options
update_admin --no-unsermake
%patch -P 0 -p1
%build
. /etc/opt/kde3/common_options
./configure $configkde
make %{?jobs:-j %jobs}
%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
# move to the right place
mkdir -p %{buildroot}/opt/kde3/share/applications/kde
mv %{buildroot}/opt/kde3/share/applnk/System/knetload.desktop %{buildroot}/opt/kde3/share/applications/kde/knetload.desktop
kde_post_install
%fdupes %{buildroot}/opt/kde3/share/apps/knetload/icons/hicolor
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING AUTHORS README
/opt/kde3/bin/knetload
/opt/kde3/share/applications/kde/knetload.desktop
%dir /opt/kde3/share/apps/knetload
%dir /opt/kde3/share/apps/knetload/icons
%dir /opt/kde3/share/apps/knetload/icons/hicolor
%dir /opt/kde3/share/apps/knetload/icons/hicolor/16x16
/opt/kde3/share/apps/knetload/icons/hicolor/16x16/actions
%doc %lang(en) /opt/kde3/share/doc/HTML/en/knetload
/opt/kde3/share/icons/*/*/apps/knetload.png
%changelog -n knetload
* Sat Mar 14 2009 Buschmann <buschmann23@opensuse.org> 1.99
- removed dprecated use of run_ldconfig
- finding duplicated files, added fdupes to teh BuildRequires
- added debug_package macro for building outside the Build Service
- fixed files list, not listed as documentation
* Mon Dec 04 2006 - stbinner@suse.de 1.99
- initial package of version 1.99