Sophie

Sophie

distrib > Mandriva > 2007.1 > i586 > by-pkgid > 134bf4c570d4febb507c02ede73c031e > files > 3

rox-systray-0.2-6mdv2007.0.src.rpm

%define oname SystemTray
Name:		rox-systray
Version:	0.2
Release: %mkrel 6
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 >= 2.1.6
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 -b .clib
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
* Mon Jul 31 2006 Götz Waschk <waschk@mandriva.org> 0.2-1mdv2007.0
- Rebuild

* Mon Jan  2 2006 Götz Waschk <waschk@mandriva.org> 0.2-5mdk
- update the patch for the new rox-clib
- use mkrel

* Tue Aug 30 2005 Götz Waschk <waschk@mandriva.org> 0.2-4mdk
- Rebuild

* 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