%define name xmltv-druid %define version 0.4.0 %define release %mkrel 4 Name: %{name} Summary: Xmltv-druid - A Gnome wizard to configure xmltv grabber jobs Version: %{version} Release: %{release} Source: http://downloads.sourceforge.net/gshowtv/%{name}-%{version}.tar.gz URL: http://gshowtv.sourceforge.net/xmltv-druid.html License: GPL Group: Graphical desktop/GNOME BuildRoot: %{_tmppath}/%{name}-buildroot BuildArch: noarch #BuildRequires: perl-Gnome2 #BuildRequires: perl-XML-Simple BuildRequires: desktop-file-utils Requires: xmltv-grabbers %description Xmltv-druid is a very simple Gnome druid for selecting, configuring and scheduling a tv_grab task for XMLTV. A tv_grab command is responsible of grabbing the tv listings from a web site. When starting to use any XMLTV based application the most complex task is the configuration and setting up the cron job for the tv_grab command. This program is designed to ease this. %prep %setup -q %build %make %install rm -rf %{buildroot} %makeinstall PREFIX=%{buildroot}%{_prefix} desktop-file-install --vendor="" \ --remove-category="Application" \ --remove-key="Encoding" \ --add-category="X-MandrivaLinux-System-Configuration-GNOME;" \ --dir %{buildroot}%{_datadir}/applications/ \ %{buildroot}%{_datadir}/applications/* %if %mdkversion < 200900 %post %{update_menus} %endif %if %mdkversion < 200900 %postun %{clean_menus} %endif %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS copyright README %{_bindir}/%{name} #%{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_mandir}/man1/%{name}* %changelog * Sun Aug 03 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.4.0-4mdv2009.0 + Revision: 262466 - rebuild * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.4.0-3mdv2009.0 + Revision: 257199 - rebuild - kill re-definition of %%buildroot on Pixel's request + Pixel <pixel@mandriva.com> - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Tue Dec 11 2007 Guillaume Bedot <littletux@mandriva.org> 0.4.0-1mdv2008.1 + Revision: 117288 - import xmltv-druid * Tue Dec 11 2007 Guillaume Bedot <littletux@mandriva.org> 0.4.0-1mdv2008.1 - First package of xmltv-druid for Mandriva Linux