%perl_module_wo_prefix xmltv 0.5.52 77 %bcond_without libxml %bcond_without text_bidi Summary: A set of utilities to manage your TV viewing Group: Applications/Multimedia License: GPLv2 URL: http://membled.com/work/apps/xmltv/ Source0: http://downloads.sourceforge.net/xmltv/%{pkgname}-%{version}.tar.bz2 Patch0: xmltv-0.5.35-noask.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{pkgname}-root BuildRequires: perl(LWP) >= 5.65, perl(XML::Parser) >= 2.34 BuildRequires: perl(XML::Twig) >= 3.28, perl-DateManip >= 5.42 BuildRequires: perl(XML::Writer) >= 0.600 BuildRequires: perl(Memoize), perl(Storable) >= 2.04 BuildRequires: perl(File::Slurp) # Recommended BuildRequires: perl(Lingua::EN::Numbers::Ordinate) BuildRequires: perl(Lingua::Preferred) >= 0.2.4 BuildRequires: perl(Term::ProgressBar) >= 2.03 BuildRequires: perl(Compress::Zlib) BuildRequires: perl(Unicode::String) ### BuildRequires: perl(HTML::TreeBuilder) BuildRequires: perl(HTML::Entities) >= 1.27 BuildRequires: perl(WWW::Mechanize) => 1.16 BuildRequires: perl(HTTP::Cookies) >= 1.39 BuildRequires: perl(HTML::Form) BuildRequires: perl(HTTP::Cache::Transparent) BuildRequires: perl(Unicode::UTF8simple), perl(LWP::Simple) BuildRequires: perl(IO::Scalar), perl(Archive::Zip) BuildRequires: perl(XML::Simple) BuildRequires: perl(SOAP::Lite) >= 0.67, perl(Term::ReadKey) %if %{with text_bidi} BuildRequires: perl(Text::Bidi) %endif BuildRequires: perl(Text::Kakasi) ### does not build for RH7.3 (needs perl(Encode) and this needs perl >= 5.7.3) %if %{with libxml} BuildRequires: perl(XML::LibXML) %endif BuildRequires: perl(Compress::Zlib) BuildRequires: perl(IO::Stringy) BuildRequires: perl(File::Temp) BuildRequires: perl(Tk), perl(Tk::TableMatrix) BuildRequires: perl(CGI) BuildRequires: perl(HTML::TokeParser), perl(Date::Parse), perl(Time::Local) BuildRequires: perl(HTML::TableExtract) >= 1.08 ###BuildRequires: perl(HTML::Parser) >= 3.34 Requires: perl-DateManip >= 5.42, perl(Term::ProgressBar) >= 2.03 Requires: perl(WWW::Mechanize) => 1.02, perl(Lingua::Preferred) >= 0.2.4 ###Requires: perl(HTML::Parser) >= 3.34 Requires: perl-XMLTV >= %{eversion}, xmltv-grabbers >= %{eversion}, xmltv-gui >= %{eversion} %description XMLTV is a set of utilities to manage your TV viewing. They work with TV listings stored in the XMLTV format, which is based on XML. The idea is to separate out the backend (getting the listings) from the frontend (displaying them for the user), and to implement useful operations like picking out your favourite programmes as filters that read and write XML documents. %package -n perl-XMLTV Summary: Perl modules for managing your TV viewing Group: System Environment/Libraries Requires: perl(XML::Twig) >= 3.09, perl-DateManip >= 5.41, %description -n perl-XMLTV XMLTV is a set of utilities to manage your TV viewing. They work with TV listings stored in the XMLTV format, which is based on XML. The idea is to separate out the backend (getting the listings) from the frontend (displaying them for the user), and to implement useful operations like picking out your favourite programmes as filters that read and write XML documents. This package contains the perl modules from xmltv. %package grabbers Summary: Backends for xmltv Group: Applications/Multimedia Requires: perl-DateManip >= 5.41, perl(LWP) >= 5.65, perl(HTML::TableExtract) >= 1.08, perl(Term::ProgressBar) >= 2.00 Requires: perl-XMLTV >= %{eversion} %description grabbers XMLTV is a set of utilities to manage your TV viewing. They work with TV listings stored in the XMLTV format, which is based on XML. The idea is to separate out the backend (getting the listings) from the frontend (displaying them for the user), and to implement useful operations like picking out your favourite programmes as filters that read and write XML documents. This package contains the backends (grabbers) for xmltv. %package gui Summary: Graphical frontends to xmltv Group: Applications/Multimedia Requires: perl-DateManip >= 5.41, perl(LWP) >= 5.65 Requires: perl-XMLTV >= %{eversion} %description gui XMLTV is a set of utilities to manage your TV viewing. They work with TV listings stored in the XMLTV format, which is based on XML. The idea is to separate out the backend (getting the listings) from the frontend (displaying them for the user), and to implement useful operations like picking out your favourite programmes as filters that read and write XML documents. This package contains graphical frontends to xmltv. %prep %setup -q %patch0 -p1 -b .noask %build %perl_configure make %perl_makecheck %install rm -rf %{buildroot} %perl_makeinstall ln -s tv_grab_de_tvtoday %{buildroot}%{_bindir}/tv_grab_de %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_docdir}/%{pkgname}-%{version} %dir %{_datadir}/xmltv %{perl_bin}/tv_cat %{perl_bin}/tv_extractinfo_en %{perl_bin}/tv_grep %{perl_bin}/tv_imdb %{perl_bin}/tv_remove_some_overlapping %{perl_bin}/tv_sort %{perl_bin}/tv_split %{perl_bin}/tv_to_latex %{perl_bin}/tv_to_text %{perl_bin}/tv_to_potatoe %{perl_bin}/tv_find_grabbers %{perl_bin}/tv_validate_file %{perl_bin}/tv_validate_grabber %{perl_man1dir}/tv_cat.1* %{perl_man1dir}/tv_extractinfo_en.1* %{perl_man1dir}/tv_grep.1* %{perl_man1dir}/tv_imdb.1* %{perl_man1dir}/tv_remove_some_overlapping.1* %{perl_man1dir}/tv_sort.1* %{perl_man1dir}/tv_split.1* %{perl_man1dir}/tv_to_latex.1* %{perl_man1dir}/tv_to_text.1* %{perl_man1dir}/tv_to_potatoe.1* %{perl_man1dir}/tv_find_grabbers.1* %{perl_man1dir}/tv_validate_file.1* %{perl_man1dir}/tv_validate_grabber.1* %files -n perl-XMLTV %defattr(-,root,root,-) %{perl_vendorlib}/XMLTV.pm %{perl_vendorlib}/XMLTV %{perl_man3dir}/* %dir %{_datadir}/xmltv %{_datadir}/xmltv/xmltv.dtd %files grabbers %defattr(-,root,root,-) %{perl_bin}/tv_grab_* %{perl_man1dir}/tv_grab_*.1* %dir %{_datadir}/xmltv %{_datadir}/xmltv/tv_grab_* %files gui %defattr(-,root,root,-) %{perl_bin}/tv_check %{perl_man1dir}/tv_check.1* %changelog * Sun Jul 20 2008 Axel Thimm - - Update to 0.5.52. * Mon Feb 18 2008 Axel Thimm - Update to 0.5.51. * Sat Oct 20 2007 Axel Thimm - Fix XML::Twig dependency (#1307 by Carl Brune ). * Thu Oct 11 2007 Paulo Roma 0.5.49-74 - Update to 0.5.49. * Tue Aug 21 2007 Axel Thimm 0.5.48-73 - Update to 0.5.48. * Fri Aug 10 2007 Axel Thimm - Update to 0.5.47. * Wed Jul 11 2007 Axel Thimm - Update to 0.5.46. * Sun Dec 3 2006 Axel Thimm - Update to 0.5.45. * Thu Jun 22 2006 Axel Thimm - Update to 0.5.44. * Sun May 21 2006 Axel Thimm - Upgrade to 0.5.43. * Sat Mar 25 2006 Axel Thimm - Fix tv_grab_uk_rt's getopt handling (bug #770). * Sun Jan 8 2006 Axel Thimm - Update to 0.5.42. * Mon Nov 14 2005 Axel Thimm - Update to 0.5.41. * Fri Aug 5 2005 Axel Thimm - Patch to adapt tv_grab_de_tvtoday to modified site layout. * Sun Jun 5 2005 Axel Thimm - Update to 0.5.40. * Mon Jan 24 2005 Axel Thimm - Update to 0.5.38. * Sun Dec 5 2004 Axel Thimm - Update to 0.5.37. * Mon Oct 25 2004 Axel Thimm - Update to 0.5.36. * Tue Sep 28 2004 Axel Thimm - Update to 0.5.35. * Sun Aug 22 2004 Axel Thimm - Add BuildRequires to enabletv_grab_jp and tv_grab_se. * Mon May 24 2004 Axel Thimm - Update to 0.3.34. - Remove tv_grab_na. * Sat May 8 2004 Axel Thimm - Update to 0.5.33. - Patch back in tv_grab_na (temporarily). * Sat May 1 2004 Axel Thimm - Update to cvs version to fix tv_grab_de_tvtoday problems. - Make link tv_grab_de_tvtoday to tv_grab_de. - Add more dependencies. * Wed Apr 14 2004 Axel Thimm - Update to 0.5.32. * Fri Mar 26 2004 Axel Thimm - Update to 0.5.31. * Sat Mar 6 2004 Axel Thimm - Update to 0.5.30. * Sun Feb 15 2004 Axel Thimm - Update to 0.5.29. * Mon Feb 2 2004 Axel Thimm - Update to 0.5.28. * Sun Jan 4 2004 Axel Thimm - Update to 0.5.26. - remove patch to try and save tv_grab_de. - Update to 0.5.27. * Thu Nov 20 2003 Axel Thimm - Update to 0.5.23. * Sun Nov 9 2003 Axel Thimm - Updated to 0.5.22. * Tue Nov 4 2003 Axel Thimm - Updated to 0.5.21 - Split into subpackages as suggested by Risto Kankkunen. * Mon Nov 3 2003 Axel Thimm - Updated to 0.5.20. * Sun Sep 28 2003 Axel Thimm - Updated to 0.5.19. * Sun Sep 14 2003 Axel Thimm - Updated to 0.5.18. * Wed Aug 27 2003 Axel Thimm - Updated to 0.5.17. * Sat Aug 16 2003 Axel Thimm - Updated to 0.5.16. * Wed Jul 2 2003 Axel Thimm - Updated to 0.5.14. * Tue Jul 1 2003 Axel Thimm - Updated to 0.5.13. * Mon Jun 30 2003 Axel Thimm - Updated to 0.5.12. * Mon Jun 23 2003 Axel Thimm - Updated to 0.5.11. * Sun Apr 27 2003 Axel Thimm - Update to 0.5.10. * Mon Apr 7 2003 Axel Thimm - Updated to 0.5.9. - Adapted to new macros. * Fri Mar 14 2003 Axel Thimm - Fix dependeny to new perl-DateManip package. * Mon Feb 10 2003 Axel Thimm - Upgraded to 0.5.7 * Sat Nov 30 2002 Axel Thimm - add description - make noarch * Sat Nov 30 2002 Axel Thimm - fixes reported by author (Ed Avis ). - fix answers to perl Makefile.PL - add license * Mon Nov 25 2002 Axel Thimm - upgrade to 0.5.3 * Wed Nov 13 2002 Axel Thimm - Initial build.