File trayer-srg.spec of Package trayer-srg
#
# spec file for package trayer-srg
#
# Copyright (c) 2015 SUSE LINUX 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: trayer-srg
Version: 1.1.6
Release: 0
Summary: Trayer-srg is a lightweight GTK2-based systray
License: MIT and GPL-2.0
Group: System/X11/Utilities
Url: https://github.com/sargon/trayer-srg
Source: https://github.com/sargon/trayer-srg/archive/trayer-%{version}.tar.gz
Patch0: add-destdir.patch
BuildRequires: gtk2-devel
BuildRequires: libXmu-devel
Conflicts: trayer
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
trayer-srg was forked from trayer in january 2010 to add some
fancy features and clean up code.
trayer is small program designed to provide systray functionality
present in GNOME/KDE desktop enviroments for window managers which
doesn't support that function. It's similar to other applications such
as 'peksystray' and 'docker'.
%prep
%setup -q -n trayer-srg-trayer-%{version}
%patch0 -p1
%build
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
%make_install
%files
%defattr(-,root,root)
%doc CHANGELOG README COPYING CREDITS
%{_bindir}/trayer
%changelog