commit 5977cd24ced6a111c53e7389f4f815ba7e497585
Author: Denis Fateyev <de...@fateyev.com>
Date:   Sun Oct 12 01:00:27 2014 +0600

    perl-Devel-Timer: initial submission (#1139041)

 .gitignore            |    1 +
 perl-Devel-Timer.spec |   79 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d6f866f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Devel-Timer-0.05.tar.gz
diff --git a/perl-Devel-Timer.spec b/perl-Devel-Timer.spec
new file mode 100644
index 0000000..c9795fc
--- /dev/null
+++ b/perl-Devel-Timer.spec
@@ -0,0 +1,79 @@
+Name:           perl-Devel-Timer
+Version:        0.05
+Release:        2%{?dist}
+Summary:        Track and report execution time for parts of code
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Devel-Timer/
+
+Source0:        
http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Devel-Timer-%{version}.tar.gz
+%if 0%{?el5}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%endif
+BuildArch:      noarch
+
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+
+# Run-time:
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MM_Unix)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(Time::HiRes)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+
+# Testing
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+
+%description
+Devel::Timer allows developers to accurately time how long a specific
+piece of code takes to execute. This can be helpful in locating the
+slowest parts of an existing application.
+
+%prep
+%setup -q -n Devel-Timer-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+%if 0%{?el5}
+rm -rf $RPM_BUILD_ROOT
+%endif
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%if 0%{?el5}
+%clean
+rm -rf $RPM_BUILD_ROOT
+%endif
+
+%files
+%doc COPYING Changes
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+
+%changelog
+* Tue Oct 07 2014 Denis Fateyev <de...@fateyev.com> - 0.05-2
+- Small spec improvements
+
+* Sat Sep 06 2014 Denis Fateyev <de...@fateyev.com> - 0.05-1
+- Initial release
diff --git a/sources b/sources
index e69de29..c2bf685 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+21b0e50193235b9d370514a17dd0e49f  Devel-Timer-0.05.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to