File stalonetray.spec of Package stalonetray

#
# spec file for package stalonetray (Version 0.8.3)
#
# 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:           stalonetray
Version:        0.8.3
Release:        2
#
License:        GPL-2.0
Group:          System/GUI/Other
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
BuildRequires: freetype2-devel gcc-c++ pkgconfig xorg-x11-devel
%endif
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: freetype-devel gcc-c++ pkgconfig xorg-x11-server-devel libX11-devel
%endif
#
Url:            http://stalonetray.sourceforge.net/
Source:         http://downloads.sourceforge.net/stalonetray/stalonetray-%{version}.tar.bz2
Patch0:		stalonetray-fix-compile-error.diff
#
Summary:        Stand-alone freedesktop.org system tray
%description
Stalonetray is a stand-alone freedesktop.org and KDE system tray (notification
area) for X Window System/X11 (e.g. X.Org or XFree 86). It has full XEMBED
support and minimal dependencies: an X11 lib only. Stalonetray works with
virtually any EWMH-compliant window manager.




Authors:
--------
     Roman Dubtsov <busa_ru@users.sourceforge.net>

%prep
%setup
%patch0 -p1

%build
%configure
%__make %{?_smp_flags}

%install
%__make DESTDIR="%{buildroot}" install

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files
%defattr(-,root,root)
%doc README
%{_bindir}/stalonetray
%if 0%{?suse_version}
%{_datadir}/man/man1/stalonetray.1%{ext_man}
%endif
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
%{_datadir}/man/man1/stalonetray.1.gz
%endif

openSUSE Build Service is sponsored by