%define oname SystemTray Name: rox-systray Version: 0.2 Release: 3mdk Summary: Tray for rox-desktop Group: Graphical desktop/Other License: GPL URL: http://home.comcast.net/~andyhanton/software Source0: http://home.comcast.net/~andyhanton/software/%oname-%version.tar.bz2 Patch: rox-systemtray-0.2-new-clib.patch.bz2 Requires: rox BuildRequires: libgtk+2-devel BuildRequires: librox-c-devel >= 1.1.2 Buildroot: %_tmppath/%name-%version %description Display status icons in a rox panel applet. This implements the freedesktop.org system tray protocol, so it's compatible with the system trays of GNOME2 and KDE3. %define _appsdir %{_libdir}/apps %prep %setup -q -n SystemTray %patch -p1 cp -f %_libdir/ROX-CLib/Linux-*/bin/rox_run . %build export CFLAGS="$RPM_OPT_FLAGS" ./AppRun --compile %install rm -rf %buildroot rm -rf ./src mkdir -p $RPM_BUILD_ROOT%{_appsdir} cp -a ./ $RPM_BUILD_ROOT%{_appsdir}/%{oname} %files %defattr(-,root,root) %doc %{_appsdir}/%oname/Help %dir %{_appsdir}/%oname/ %dir %{_appsdir}/%oname/Messages %{_appsdir}/%oname/Linux* %{_appsdir}/%oname/App* %{_appsdir}/%oname/rox_run %{_appsdir}/%oname/Messages %{_appsdir}/%oname/.DirIcon %lang(ru) %{_appsdir}/%oname/Messages/ru.gmo %clean rm -rf %buildroot %changelog * Thu Aug 26 2004 Götz Waschk <waschk@linux-mandrake.com> 0.2-3mdk - patch to fix header location * Thu Oct 9 2003 Götz Waschk <waschk@linux-mandrake.com> 0.2-2mdk - use lib64-clean rox_run * Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.2-1mdk - drop source 1 and 2 and the patch (merged) - new version * Mon Jul 14 2003 Götz Waschk <waschk@linux-mandrake.com> 0.1-1mdk - initial package based on a alt linux package * Sun Jul 13 2003 Lubimov Alexey <avl@altlinux.ru> 0.1-alt1 - add icon * Sun Jul 13 2003 Lubimov Alexey <avl@altlinux.ru> 0.1-alt - initial rpm for altlinux - add russian translation - add gliph for improved usability