commit 8b708be348c84ad0b789eaa4f8def78d5cf93cef Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Mon Apr 2 05:13:32 2012 -0600 initial import (rhbz#808518) .gitignore | 1 + perl-Time-OlsonTZ-Download.spec | 58 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..e908091 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Time-OlsonTZ-Download-0.003.tar.gz diff --git a/perl-Time-OlsonTZ-Download.spec b/perl-Time-OlsonTZ-Download.spec new file mode 100644 index 0000000..e8edd64 --- /dev/null +++ b/perl-Time-OlsonTZ-Download.spec @@ -0,0 +1,58 @@ +Name: perl-Time-OlsonTZ-Download +Version: 0.003 +Release: 1%{?dist} +Summary: Olson timezone database from source +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Time-OlsonTZ-Download/ +Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Time-OlsonTZ-Download-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(File::Path) >= 2.07 +BuildRequires: perl(File::Temp) >= 0.22 +BuildRequires: perl(IO::Dir) >= 1.03 +BuildRequires: perl(IO::File) >= 1.03 +BuildRequires: perl(IPC::Filter) >= 0.002 +BuildRequires: perl(Module::Build) +BuildRequires: perl(Net::FTP) >= 1.21 +BuildRequires: perl(Params::Classify) +BuildRequires: perl(parent) +BuildRequires: perl(String::ShellQuote) >= 1.01 +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +An object of this class represents a local copy of the source of the Olson +timezone database, possibly used to build binary tzfiles. The source copy +always begins by being downloaded from the canonical repository of the +Olson database. This class provides methods to help with extracting useful +information from the source. + +%prep +%setup -q -n Time-OlsonTZ-Download-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Mar 25 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.003-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..028ffbc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +eff33875b0c5147df65604ff2b0ba85d Time-OlsonTZ-Download-0.003.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel