# # spec file for package perl-xmltv # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define modname xmltv Name: perl-%{modname} Version: 0.5.61 Release: 1 Summary: XMLTV Television Listing Tools License: GPL/Artistic Requires: perl-XML-DOM perl-XML-Writer >= 0.4.1 Requires: perl(Date::Manip) >= 5.42 Requires: perl-libwww-perl perl-Log-TraceMessages perl-Term-ProgressBar Requires: perl-Lingua-Preferred perl-Tie-IxHash perl-Compress-Zlib Requires: perl-Lingua-EN-Numbers-Ordinate perl-Tk-TableMatrix Requires: perl-XML-Simple perl-Unicode-String perl-HTML-TableExtract Requires: perl-XML-Twig perl-HTML-Tree perl-XML-Parser >= 2.34 Requires: perl-PerlIO-gzip perl-SOAP-Lite perl-Text-Kakasi Requires: perl-HTTP-Cache-Transparent perl-Archive-Zip Requires: perl-WWW-Mechanize perl-IO-stringy perl-TermReadKey Requires: perl-XML-LibXML perl-Unicode-UTF8simple perl-TimeDate BuildRequires: perl perl-XML-DOM perl-XML-Writer >= 0.4.1 perl-macros BuildRequires: perl(Date::Manip) >= 5.42 BuildRequires: perl-Log-TraceMessages perl-Term-ProgressBar perl-libwww-perl BuildRequires: perl-Compress-Zlib perl-Lingua-Preferred perl-Tie-IxHash BuildRequires: perl-Lingua-EN-Numbers-Ordinate perl-Tk-TableMatrix BuildRequires: perl-HTML-TableExtract perl-Unicode-String perl-XML-Simple BuildRequires: perl-HTML-Tree perl-XML-Parser >= 2.34 perl-XML-Twig BuildRequires: perl-PerlIO-gzip perl-SOAP-Lite perl-Text-Kakasi BuildRequires: perl-Archive-Zip perl-HTTP-Cache-Transparent BuildRequires: perl-IO-stringy perl-TermReadKey perl-WWW-Mechanize BuildRequires: perl-TimeDate perl-Unicode-UTF8simple perl-XML-LibXML Group: Development/Libraries/Perl Source: %{modname}-%{version}.tar.bz2 Source100: README.md BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} %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. There are two backends at present, grabbing TV listings for Canada, the USA, the UK, as well as Germany and/or Austria. There are filters to sort the listings by date, to remove shows that have already been broadcast, and a couple of programmes to organize your viewing by storing preferences of what shows you watch. There are a couple of backends to produce printed output. Authors: -------- Ed Avis Jerry Veldhuis %prep %setup -q -n %{modname}-%{version} %build perl Makefile.PL --yes PREFIX=/usr make %check #make test %install make DESTDIR=$RPM_BUILD_ROOT install_vendor plaindoc_install share_install install -m 0755 -D choose/tv_pick/tv_pick_cgi $RPM_BUILD_ROOT/usr/share/xmltv/cgi/tv_pick.cgi rm -rf $RPM_BUILD_ROOT/usr/share/doc %perl_process_packlist %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc xmltv.dtd README COPYING ChangeLog doc/QuickStart %doc choose/tv_check/README.tv_check choose/tv_check/tv_check_doc.* %doc %{_mandir}/man?/* /usr/bin/tv_cat /usr/bin/tv_check /usr/bin/tv_extractinfo_ar /usr/bin/tv_extractinfo_en /usr/bin/tv_find_grabbers /usr/bin/tv_grab_ar /usr/bin/tv_grab_ch_search /usr/bin/tv_grab_combiner /usr/bin/tv_grab_dk_dr /usr/bin/tv_grab_dtv_la /usr/bin/tv_grab_ee /usr/bin/tv_grab_es_laguiatv /usr/bin/tv_grab_es_miguiatv /usr/bin/tv_grab_eu_epgdata /usr/bin/tv_grab_fi /usr/bin/tv_grab_fi_sv /usr/bin/tv_grab_fr /usr/bin/tv_grab_fr_kazer /usr/bin/tv_grab_huro /usr/bin/tv_grab_hr /usr/bin/tv_grab_il /usr/bin/tv_grab_in /usr/bin/tv_grab_is /usr/bin/tv_grab_it /usr/bin/tv_grab_it_dvb /usr/bin/tv_grab_na_dd /usr/bin/tv_grab_na_icons /usr/bin/tv_grab_nl /usr/bin/tv_grab_no_gfeed /usr/bin/tv_grab_pt /usr/bin/tv_grab_pt_meo /usr/bin/tv_grab_se_swedb /usr/bin/tv_grab_uk_bleb /usr/bin/tv_grab_uk_rt /usr/bin/tv_grab_za /usr/bin/tv_grep /usr/bin/tv_imdb /usr/bin/tv_remove_some_overlapping /usr/bin/tv_sort /usr/bin/tv_split /usr/bin/tv_to_latex /usr/bin/tv_to_text /usr/bin/tv_to_potatoe /usr/bin/tv_validate_file /usr/bin/tv_validate_grabber %dir /usr/share/xmltv/ /usr/share/xmltv/cgi /usr/share/xmltv/tv_grab_eu_epgdata /usr/share/xmltv/tv_grab_huro /usr/share/xmltv/tv_grab_it /usr/share/xmltv/tv_grab_it_dvb /usr/share/xmltv/tv_grab_uk_bleb /usr/share/xmltv/tv_grab_uk_rt /usr/share/xmltv/xmltv.dtd /usr/share/xmltv/xmltv-lineup.dtd %{perl_vendorlib}/XMLTV %{perl_vendorlib}/XMLTV.pm %{perl_vendorarch}/auto/XMLTV %changelog