File ktray.spec of Package ktray

#
# spec file for package ktray (Version 0.2)
#
# 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:           ktray
BuildRequires:  kdelibs3-devel
Summary:        Independent System Tray Applet
Version:        0.2
Release:        90
License:        GPL v2 or later
Url:            http://ktray.homac.de
Group:          System/GUI/KDE
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
KTray is a system tray that holds dock icons of any application. It is
independent from the KDE Kicker so it can be used with any window
manager. It is based on the code from the original kicker system tray
panel applet.



Authors:
--------
    Holger Macht

%prep
%setup -q

%build
export CFLAGS="%optflags"
export CXXFLAGS="%optflags"
autoreconf -fiv
./configure --with-qtdir=/usr/lib/qt3 --prefix=/opt/kde3 --with-kdedir=/opt/kde3
make

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean

%files
%defattr(-,root,root)
/opt/kde3/bin/ktray
/opt/kde3/share/icons/ktray/

%changelog
* Wed May 07 2008 crrodriguez@suse.de
- use RPM_OPT_FLAGS
* Tue Feb 05 2008 hmacht@suse.de
- version 0.2: add addition cmd line options to specify the
  postition on the desktop, whether to use horizontal or vertical
  alignment and to draw ktray without decoration and focus
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Mar 22 2005 hmacht@suse.de
- kded is not started. It does not work if kded is not running.
  (no bugreport)
* Wed Mar 09 2005 hmacht@suse.de
- initial checkin