Author: iarnell Update of /cvs/pkgs/rpms/perl-Devel-FastProf/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12041/devel Modified Files: .cvsignore sources Added Files: perl-Devel-FastProf.spec Log Message: initial import --- NEW FILE perl-Devel-FastProf.spec --- Name: perl-Devel-FastProf Version: 0.08 Release: 1%{?dist} Summary: Fast perl per-line profiler License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Devel-FastProf/ Source0: http://www.cpan.org/authors/id/S/SA/SALVA/Devel-FastProf-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Sort::Key) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Devel::FastProf is a perl per-line profiler. What that means is that it can tell you how much time is spent on every line of a perl script (the standard Devel::DProf is a per-subroutine profiler). # don't "provide" private Perl libs %global _use_internal_dependency_generator 0 %global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u %global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}" %global __find_requires /bin/sh -c "%{__deploop R}" %prep %setup -q -n Devel-FastProf-%{version} # filter unwanted perl provides cat << \EOF > %{name}-prov #!/bin/sh %{__find_provides} $* |\ sed -e '/perl(DB)/d' EOF %global __find_provides %{_builddir}/Devel-FastProf-%{version}/%{name}-prov chmod +x %{__find_provides} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 -type f -name '*.bs' -size 0 -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 %{perl_vendorarch}/auto/* %{perl_vendorarch}/Devel* %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Tue Mar 17 2009 Iain Arnell 0.08-1 - Specfile autogenerated by cpanspec 1.77. - add fprofpp and man page to files - strip private perl libs from provides Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Devel-FastProf/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 13 Apr 2009 15:50:56 -0000 1.1 +++ .cvsignore 14 Apr 2009 03:39:19 -0000 1.2 @@ -0,0 +1 @@ +Devel-FastProf-0.08.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Devel-FastProf/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 13 Apr 2009 15:50:56 -0000 1.1 +++ sources 14 Apr 2009 03:39:19 -0000 1.2 @@ -0,0 +1 @@ +f8185d084e0323b96ad69fc24775aa94 Devel-FastProf-0.08.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list