rpms/perl-Devel-SmallProf/F-10 perl-Devel-SmallProf.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Iain Arnell iarnell at fedoraproject.org
Sat Jan 24 06:39:57 UTC 2009


Author: iarnell

Update of /cvs/pkgs/rpms/perl-Devel-SmallProf/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16689/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Devel-SmallProf.spec 
Log Message:
initial import on branches


--- NEW FILE perl-Devel-SmallProf.spec ---
Name:           perl-Devel-SmallProf
Version:        2.02
Release:        2%{?dist}
Summary:        Per-line Perl profiler
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Devel-SmallProf/
Source0:        http://www.cpan.org/authors/id/S/SA/SALVA/Devel-SmallProf-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Time::HiRes)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The Devel::SmallProf profiler is focused on the time taken for a program
run on a line-by-line basis. It is intended to be as "small" in terms of
impact on the speed and memory usage of the profiled program as possible
and also in terms of being simple to use.

%prep
%setup -q -n Devel-SmallProf-%{version}

iconv -f iso8859-1 -t utf-8 README >README.conv && mv -f README.conv README

cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} $* |\
sed -e '/perl(DB)/d'
EOF

%define __perl_provides %{_builddir}/Devel-SmallProf-%{version}/%{name}-prov
chmod +x %{__perl_provides}


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

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$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
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri Jan 23 2009 Iain Arnell <iarnell at gmail.com> 2.02-2
- strip bogus provides

* Wed Jan 21 2009 Iain Arnell 2.02-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Devel-SmallProf/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Jan 2009 23:30:08 -0000	1.1
+++ .cvsignore	24 Jan 2009 06:39:26 -0000	1.2
@@ -0,0 +1 @@
+Devel-SmallProf-2.02.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Devel-SmallProf/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Jan 2009 23:30:08 -0000	1.1
+++ sources	24 Jan 2009 06:39:26 -0000	1.2
@@ -0,0 +1 @@
+498704ed1b888fc62b0c7092f8b590f5  Devel-SmallProf-2.02.tar.gz




More information about the Fedora-perl-devel-list mailing list