Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 25665c261b493c635cd859aafadd7457 > files > 2

perl-String-Format-1.170.0-2.mga3.src.rpm

%define upstream_name    String-Format
%define upstream_version 1.17

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:    Sprintf-like string formatting capabilities with arbitrary format definitions 
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/String/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildArch:  noarch

%description
String::Format lets you define arbitrary printf-like format sequences to be
expanded. This module would be most useful in configuration files and reporting
tools, where the results of a query need to be formatted in a particular way.
It was inspired by mutt's index_format and related directives (see
<URL:http://www.mutt.org/doc/manual/manual-6.html#index_format>).

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
%makeinstall_std

%files 
%doc COPYING Changes META.yml MYMETA.yml README
%{perl_vendorlib}/String
%{_mandir}/*/*

%changelog

* Sun Jan 13 2013 umeabot <umeabot> 1.170.0-2.mga3
+ Revision: 372790
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Jan 08 2013 jquelin <jquelin> 1.170.0-1.mga3
+ Revision: 342593
- update to 1.17

* Sat Jan 22 2011 jquelin <jquelin> 1.160.0-1.mga1
+ Revision: 31181
- mageia rebuild
- imported package perl-String-Format