Name: ontv Version: 3.0.0 Release: %mkrel 7 Summary: TV listings for the GNOME panel License: GPLv2+ Group: Graphical desktop/GNOME URL: ftp://ftp.gnome.org/pub/GNOME/sources/ontv Source0: ftp://ftp.gnome.org/pub/GNOME/sources/ontv/3.0/%{name}-%{version}.tar.gz Patch0: ontv-3.0.0-assistant.patch BuildRequires: GConf2 BuildRequires: perl-XML-Parser BuildRequires: pygtk2.0-devel %if %mdkversion>=200810 BuildRequires: gnome-python-devel %else BuildRequires: gnome-python %endif BuildRequires: gnome-python-extras BuildRequires: python-notify BuildRequires: python-vte BuildRequires: libgnome-window-settings-devel BuildRoot: %{_tmppath}/%{name}-%{version} Requires: xmltv Requires: xmltv-grabbers Requires: GConf2 Requires: gnome-python-applet Requires: gnome-python-gnomevfs Requires: dbus-python Requires: python-notify Requires: python-vte %description OnTV is a GNOME Applet which uses XMLTV files to monitor current and upcoming TV programs. %prep %setup -q %patch0 -p1 #fix x86_64 build: perl -pi -e "s|sysconfig.get_python_lib\(0|sysconfig.get_python_lib\(1|" configure %if %mdkversion >= 200910 perl -pi -e "s|python2.5|python2.6|" scripts/ontv.in %endif %build #schemas install is not needed and produces garbage output while building %configure2_5x --disable-schemas-install %make %install rm -rf %{buildroot} %makeinstall_std rm -rf %{buildroot}%{py_platsitedir}/%{name}/keybinder/_keybinder.a %find_lang %{name} %define schemas %{name} %post %post_install_gconf_schemas %{schemas} %update_icon_cache hicolor %preun %preun_uninstall_gconf_schemas %{schemas} %postun %update_icon_cache hicolor %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS FAQ README NEWS THANKS TODO %{_sysconfdir}/gconf/schemas/* %{_libdir}/%{name} %{_libdir}/bonobo/servers/* %{py_platsitedir}/%{name} %{_datadir}/%{name} %{_datadir}/gnome-2.0/ui/*.xml %{_datadir}/gnome-control-center/keybindings/90-%{name}.xml %{_iconsdir}/hicolor/* %changelog * Mon Sep 14 2009 Thierry Vignaud <tvignaud@mandriva.com> 3.0.0-7mdv2010.1 + Revision: 440368 - rebuild * Mon Jan 12 2009 Guillaume Bedot <littletux@mandriva.org> 3.0.0-6mdv2009.1 + Revision: 328526 - Fix license - Fix requires - Fix python interpreter for 2009 Spring * Tue Jan 06 2009 Funda Wang <fwang@mandriva.org> 3.0.0-5mdv2009.1 + Revision: 325782 - rebuild * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 3.0.0-4mdv2009.0 + Revision: 268348 - rebuild early 2009.0 package (before pixel changes) * Wed Apr 23 2008 Guillaume Bedot <littletux@mandriva.org> 3.0.0-3mdv2009.0 + Revision: 197036 - enable keybindings * Wed Apr 23 2008 Guillaume Bedot <littletux@mandriva.org> 3.0.0-2mdv2009.0 + Revision: 196959 - fixes bug #40203 * Tue Mar 04 2008 Guillaume Bedot <littletux@mandriva.org> 3.0.0-1mdv2008.1 + Revision: 178825 - 3.0.0 + some spec cleanup + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed Dec 12 2007 Guillaume Bedot <littletux@mandriva.org> 2.8.0-4mdv2008.1 + Revision: 117781 - fix buildreq again * Wed Dec 12 2007 Guillaume Bedot <littletux@mandriva.org> 2.8.0-3mdv2008.1 + Revision: 117692 - fix buildreqs, reqs and update hicolor icon cache * Wed Sep 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.8.0-2mdv2008.0 + Revision: 90014 - rebuild * Sat Aug 18 2007 Funda Wang <fwang@mandriva.org> 2.8.0-1mdv2008.0 + Revision: 65458 - new version 2.8.0 (none)