commit 3fc4cab5e20ac9a870b03db3f5ca539bc497dedd Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Thu Apr 17 09:17:36 2014 +0200 Initial import. .gitignore | 1 + perl-POSIX-strftime-Compiler.spec | 57 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..8e2affe 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/POSIX-strftime-Compiler-0.31.tar.gz diff --git a/perl-POSIX-strftime-Compiler.spec b/perl-POSIX-strftime-Compiler.spec new file mode 100644 index 0000000..2b42dec --- /dev/null +++ b/perl-POSIX-strftime-Compiler.spec @@ -0,0 +1,57 @@ +Name: perl-POSIX-strftime-Compiler +Version: 0.31 +Release: 1%{?dist} +Summary: GNU C library compatible strftime for loggers and servers +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/POSIX-strftime-Compiler/ +Source0: http://www.cpan.org/authors/id/K/KA/KAZEBURO/POSIX-strftime-Compiler-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 0:5.008004 +BuildRequires: perl(Carp) +BuildRequires: perl(CPAN::Meta) +BuildRequires: perl(CPAN::Meta::Prereqs) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Module::Build) +BuildRequires: perl(POSIX) +BuildRequires: perl(Test::More) >= 0.98 +BuildRequires: perl(Time::Local) +BuildRequires: perl(base) +BuildRequires: perl(constant) +BuildRequires: perl(strict) +BuildRequires: perl(utf8) +BuildRequires: perl(warnings) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +POSIX::strftime::Compiler provides GNU C library compatible strftime(3). +But this module will not affected by the system locale. This feature is +useful when you want to write loggers, servers and portable applications. + +%prep +%setup -q -n POSIX-strftime-Compiler-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes LICENSE README.md +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Apr 08 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.31-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..d5b5b67 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c8b188fe58a87628d5a800acd99c2349 POSIX-strftime-Compiler-0.31.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