Name: perl-POSIX-strftime-Compiler Version: 0.40 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008001 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) >= 0.98 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 rm -rf $RPM_BUILD_ROOT ./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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes cpanfile LICENSE META.json minil.toml README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Sep 02 2014 Dave Cross 0.40-1 - Specfile autogenerated by cpanspec 1.78.