LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-XMLTV.spec of Package perl-XMLTV (Project home:archie172)

#
# spec file for package perl-XMLTV
#
# Copyright (c) 2013 Archie L. Cobbs
#
# 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/
#

Name:           perl-XMLTV
Version:        0.5.63
Release:        0
Summary:        Perl module that helps to create XMLTV formatted documents
License:        GPL-2.0+
Group:          Development/Libraries/Perl
Url:            http://wiki.xmltv.org/index.php/Main_Page/
Source:         xmltv-%{version}.tar.bz2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  bzip2
BuildRequires:  perl
BuildRequires:  perl(Archive::Zip)
BuildRequires:  perl(CGI)
BuildRequires:  perl(Compress::Zlib)
BuildRequires:  perl(Data::Dump)
BuildRequires:  perl(Data::Dumper)
BuildRequires:  perl(Date::Manip) >= 5.42a 
BuildRequires:  perl(DateTime)
BuildRequires:  perl(DateTime::Format::ISO8601)
BuildRequires:  perl(DateTime::Format::Strptime)
BuildRequires:  perl(File::Slurp)
BuildRequires:  perl(HTML::Parser) >= 3.34
BuildRequires:  perl(HTML::TableExtract)
BuildRequires:  perl(HTML::TreeBuilder)
BuildRequires:  perl(HTTP::Cookies)
BuildRequires:  perl(IO::File)
BuildRequires:  perl(IO::Scalar)
BuildRequires:  perl(IO::Stringy)
BuildRequires:  perl(JSON)
BuildRequires:  perl(Lingua::EN::Numbers::Ordinate)
BuildRequires:  perl(Lingua::Preferred) >= 0.2.4
BuildRequires:  perl(Linux::DVB)
BuildRequires:  perl(LWP) >= 5.65
BuildRequires:  perl(Parse::RecDescent)
BuildRequires:  perl(PerlIO::gzip)
BuildRequires:  perl(SOAP::Lite)
BuildRequires:  perl(Term::ProgressBar)
BuildRequires:  perl(Term::ReadKey)
BuildRequires:  perl(Text::Kakasi)
BuildRequires:  perl(Tk)
BuildRequires:  perl(Tk::TableMatrix)
BuildRequires:  perl(Unicode::String)
BuildRequires:  perl(Unicode::UTF8simple)
BuildRequires:  perl(WWW::Mechanize)
BuildRequires:  perl(XML::DOM)
BuildRequires:  perl(XML::LibXML)
BuildRequires:  perl(XML::LibXSLT)
BuildRequires:  perl(XML::Parser) >= 2.34
BuildRequires:  perl(XML::Twig) >= 3.10
BuildRequires:  perl(XML::Writer) >= 0.4.6
Requires:       perl(Archive::Zip)
Requires:       perl(CGI)
Requires:       perl(Compress::Zlib)
Requires:       perl(Data::Dump)
Requires:       perl(Data::Dumper)
Requires:       perl(Date::Manip) >= 5.42a 
Requires:       perl(DateTime)
Requires:       perl(DateTime::Format::ISO8601)
Requires:       perl(DateTime::Format::Strptime)
Requires:       perl(File::Slurp)
Requires:       perl(HTML::Parser) >= 3.34
Requires:       perl(HTML::TableExtract)
Requires:       perl(HTML::TreeBuilder)
Requires:       perl(HTTP::Cookies)
Requires:       perl(IO::File)
Requires:       perl(IO::Scalar)
Requires:       perl(IO::Stringy)
Requires:       perl(JSON)
Requires:       perl(Lingua::EN::Numbers::Ordinate)
Requires:       perl(Lingua::Preferred) >= 0.2.4
Requires:       perl(Linux::DVB)
Requires:       perl(LWP) >= 5.65
Requires:       perl(Parse::RecDescent)
Requires:       perl(PerlIO::gzip)
Requires:       perl(SOAP::Lite)
Requires:       perl(Term::ProgressBar)
Requires:       perl(Term::ReadKey)
Requires:       perl(Text::Kakasi)
Requires:       perl(Tk)
Requires:       perl(Tk::TableMatrix)
Requires:       perl(Unicode::String)
Requires:       perl(Unicode::UTF8simple)
Requires:       perl(WWW::Mechanize)
Requires:       perl(XML::DOM)
Requires:       perl(XML::LibXML)
Requires:       perl(XML::LibXSLT)
Requires:       perl(XML::Parser) >= 2.34
Requires:       perl(XML::Twig) >= 3.10
Requires:       perl(XML::Writer) >= 0.4.6
%{perl_requires}

%description
XMLTV is a perl module that helps to create XMLTV formatted documents.

%prep
%setup -q -n xmltv-%{version}
find . -type f -print0 | xargs -0 chmod 644

%build
%{__perl} Makefile.PL --yes INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
echo SKIPPING: %{__make} test

%install
%{__make} DESTDIR=%{buildroot} INSTALLPLAINDOC=%{buildroot}%{_defaultdocdir}/%{name} install
%perl_process_packlist
%perl_gen_filelist

rm -f %{_defaultdocdir}/%{name}/README.win32

%files -f %{name}.files
%defattr(-,root,root,755)
%{_datadir}/xmltv
%doc ChangeLog

%changelog