rpms/perl-String-Formatter/devel perl-String-Formatter.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Iain Arnell iarnell at fedoraproject.org
Sun Apr 4 06:25:19 UTC 2010


Author: iarnell

Update of /cvs/pkgs/rpms/perl-String-Formatter/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28076/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-String-Formatter.spec 
Log Message:
initial import


--- NEW FILE perl-String-Formatter.spec ---
Name:           perl-String-Formatter
Version:        0.100720
Release:        1%{?dist}
Summary:        Build sprintf-like functions of your own
License:        GPLv2
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/String-Formatter/
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/String-Formatter-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl >= 0:5.006
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Params::Util)
BuildRequires:  perl(Sub::Exporter)
# tests
BuildRequires:  perl(Pod::Coverage::TrustPod)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%{?perl_default_filter}

%description
String::Formatter is a tool for building sprintf-like formatting routines.
It supports named or positional formatting, custom conversions, fixed
string interpolation, and simple width-matching out of the box. It is easy
to alter its behavior to write new kinds of format string expanders. For
most cases, it should be easy to build all sorts of formatters out of the
options built into String::Formatter.

%prep
%setup -q -n String-Formatter-%{version}

# don't install benchmark
sed -i -e '1s~#!perl~#!%{__perl}~' bench.pl
mkdir eg
mv bench.pl eg

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

%install
rm -rf $RPM_BUILD_ROOT

make pure_install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
RELEASE_TESTING=1 make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes dist.ini LICENSE META.json notes.txt README eg/bench.pl
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri Apr 02 2010 Iain Arnell <iarnell at gmail.com> 0.100720-1
- Specfile autogenerated by cpanspec 1.78.
- use perl_default_filter and DESTDIR
- install bench.pl as documentation


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-String-Formatter/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Apr 2010 17:48:36 -0000	1.1
+++ .cvsignore	4 Apr 2010 06:25:18 -0000	1.2
@@ -0,0 +1 @@
+String-Formatter-0.100720.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-String-Formatter/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Apr 2010 17:48:36 -0000	1.1
+++ sources	4 Apr 2010 06:25:19 -0000	1.2
@@ -0,0 +1 @@
+240405a4f01777d861bb8a3a75f0fbb4  String-Formatter-0.100720.tar.gz




More information about the perl-devel mailing list