automatic version update by autodist [release 1.17-1mamba;Mon Dec 17 2012]

This commit is contained in:
Automatic Build System 2024-01-06 09:37:35 +01:00
parent f7a5b40dac
commit dc954ba8ca
2 changed files with 59 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# perl-String-Format
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.

55
perl-String-Format.spec Normal file
View File

@ -0,0 +1,55 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-String-Format
Version: 1.17
Release: 1mamba
Summary: String::Format - sprintf-like string formatting capabilities with arbitrary format definitions
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/D/DA/DARREN/String-Format-%{version}.tar.gz
License: GPL, Artistic
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl-devel
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%prep
%setup -q -n String-Format-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{perl_vendorlib}/String/
%{_mandir}/man3/*.3pm.gz
%doc Changes COPYING README
%changelog
* Mon Dec 17 2012 Automatic Build System <autodist@mambasoft.it> 1.17-1mamba
- automatic version update by autodist
* Fri Feb 18 2011 gil <puntogil@libero.it> 1.16-1mamba
- package created by autospec