File ktray.spec of Package ktray

#
# spec file for package ktray (Version 0.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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:        36
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
* Thu May 08 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