commit 1cf6bb4e04cc25cc3f106f7c619cec50bc283553 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Feb 3 16:19:10 2014 +0100 Import .gitignore | 1 + perl-String-Print.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..c33095f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/String-Print-0.13.tar.gz diff --git a/perl-String-Print.spec b/perl-String-Print.spec new file mode 100644 index 0000000..900e33b --- /dev/null +++ b/perl-String-Print.spec @@ -0,0 +1,53 @@ +Name: perl-String-Print +Version: 0.13 +Release: 1%{?dist} +Summary: Alternative for Perl printf +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/String-Print/ +Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/String-Print-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(Encode) +BuildRequires: perl(locale) +BuildRequires: perl(strict) +BuildRequires: perl(Unicode::GCString) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(POSIX) +BuildRequires: perl(Test::More) >= 0.86 +BuildRequires: perl(utf8) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This module inserts values into (translated) strings. It provides printf +and sprintf alternatives via both an object oriented and a functional +interface. It supports translation, user-defined non-string value +serialization, user-defined modifiers, and correct Unicode string padding. + +%prep +%setup -q -n String-Print-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc ChangeLog README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jan 31 2014 Petr Pisar <ppisar@xxxxxxxxxx> 0.13-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..0d5dc14 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6b78922d71eca61ca97619cbecc80c0c String-Print-0.13.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