%define name alltray %define version 0.69 %define release %mkrel 1 %define major 0 %define libname %mklibname %{name} %{major} %define develname %mklibname %{name} -d Summary: Docks any application into the system tray Name: %{name} Version: %{version} Release: %{release} Epoch: 0 Group: Graphical desktop/Other License: GPL Url: http://alltray.sourceforge.net/ Source0: %{name}-%{version}.tar.bz2 BuildRequires: gtk+2-devel BuildRequires: GConf2 libGConf2-devel Requires: %{libname} = %{epoch}:%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description With AllTray you can dock any application into the system tray/notification area. A highlight feature is that a click on the "close" button will minimize to system tray. %package -n %{libname} Summary: Shared library for alltray Group: System/Libraries Provides: %{_lib}%{name} = %{epoch}:%{version}-%{release} Conflicts: liballtray0-devel < 0:0.69 %description -n %{libname} Shared library for alltray. %package -n %{develname} Summary: Development libraries for alltray Group: Development/C Requires: %{libname} = %{epoch}:%{version} Provides: %{name}-devel = %{epoch}:%{version}-%{release} Provides: lib%{name}-devel = %{epoch}:%{version}-%{release} Provides: %{_lib}%{name}-devel = %{epoch}:%{version}-%{release} Conflicts: liballtray0 < 0:0.69 Obsoletes: liballtray0-devel %description -n %{develname} Development libraries for alltray. %prep %setup -q %build %configure2_5x %make %install rm -rf %{buildroot} %makeinstall %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_mandir}/man1/%{name}.1* %files -n %{libname} %defattr(-,root,root) %{_libdir}/lib*.so.* %files -n %{develname} %defattr(-,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %changelog * Wed Aug 15 2007 Pascal Terjan <pterjan@mandriva.org> 0.69-1mdv2008.0 + Revision: 63756 - BuildRequires libGConf2-devel - 0.69 - new devel policy - move .la to -devel (it is not versionned and should not be needed outside -devel) * Tue Jul 11 2006 Lenny Cartier <lenny@mandriva.com> 0:0.66-3mdv2007.0 - rebuild * Thu Apr 27 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.66-2mdk - Fix BuildRequires * Thu Apr 27 2006 David Walluck <walluck@mandriva.org> 0:0.66-1mdk - 0.66 * Sat Dec 10 2005 David Walluck <walluck@mandriva.org> 0.65-1mdk - 0.65 - use %%configure - provide %%{_lib}alltray{,-devel} * Thu Jul 14 2005 Per Ãyvind Karlsen <pkarlsen@mandriva.com> 0.60-1mdk - 0.60 - src.rpm got lost, redid the whole package! * Tue Apr 19 2005 David Walluck <walluck@mandriva.org> 0.50-1mdk - 0.50 * Thu Feb 24 2005 David Walluck <walluck@mandrake.org> 0.40-1mdk - release