File xfce4-taskmanager.spec of Package xfce4-taskmanager

#
# spec file for package xfce4-taskmanager
#
# 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/
#



Name:           xfce4-taskmanager
Version:        1.0.0
Release:        9.<RELEASE3>
License:        GPLv2+
Summary:        Simple taskmanager for the Xfce desktop environment
Url:            http://goodies.xfce.org/projects/applications/xfce4-taskmanager/
Group:          System/Monitoring
Source:         http://archive.xfce.org/src/apps/xfce4-taskmanager/1.0/%{name}-%{version}.tar.bz2
BuildRequires:  intltool
BuildRequires:  libpng-devel
BuildRequires:  perl-XML-Parser
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(libwnck-1.0)
BuildRequires:  update-desktop-files
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
xfce4-taskmanager is a simple taskmanager for the Xfce desktop environment. It
can display window and icon names in a tree view, columns can be reordered, and
CPU and memory usage are displayed as a graph.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags} V=1

%install
%make_install
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK}
%find_lang %{name}
%suse_update_desktop_file -r %{name} GTK System Monitor

%clean
rm -rf %{buildroot}

%if 0%{?suse_version} >= 1140

%post
%desktop_database_post

%postun
%desktop_database_postun
%endif

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
%{_bindir}/xfce4-taskmanager
%{_datadir}/applications/xfce4-taskmanager.desktop

%changelog