SPECS: perl-Log-Delta.spec (NEW) - new
glen
glen at pld-linux.org
Sun Feb 19 19:16:36 CET 2006
Author: glen Date: Sun Feb 19 18:16:36 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Log-Delta.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Log-Delta.spec
diff -u /dev/null SPECS/perl-Log-Delta.spec:1.1
--- /dev/null Sun Feb 19 19:16:36 2006
+++ SPECS/perl-Log-Delta.spec Sun Feb 19 19:16:31 2006
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Log
+%define pnam Delta
+Summary: Log::Delta - Logging object with timing and caller information
+Name: perl-Log-Delta
+Version: 0.03
+Release: 0.1
+License: GPL v2+
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 9c422a4e9b7c6e8c7fe801b5e8649c6f
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Log::Delta is a simple Log utility with hi-resolution timing. It is
+suitable for basic performance analysis.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# in perl-debug package
+rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/debug.pm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Log/*.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/02/19 18:16:31 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list