SPECS: perl-debug.spec (NEW) - new (for NCGI)

glen glen at pld-linux.org
Sun Feb 19 18:47:38 CET 2006


Author: glen                         Date: Sun Feb 19 17:47:38 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new (for NCGI)

---- Files affected:
SPECS:
   perl-debug.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-debug.spec
diff -u /dev/null SPECS/perl-debug.spec:1.1
--- /dev/null	Sun Feb 19 18:47:38 2006
+++ SPECS/perl-debug.spec	Sun Feb 19 18:47:32 2006
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+# Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	debug
+Summary:	Perl pragma for debugging and logging of debug lines
+Name:		perl-debug
+Version:	0.03
+Release:	0.1
+# same as perl
+License:	Artistic
+Group:		Development/Languages/Perl
+Source0:	http://search.cpan.org//CPAN/authors/id/S/ST/STEVAN/debug-%{version}.tar.gz
+# Source0-md5:	2648f7e792445ba4b6bc42a56924a708
+%if %{with tests}
+BuildRequires:	perl-Test-Pod >= 1.14
+BuildRequires:	perl-Test-Pod-Coverage >= 1.04
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The debug pragma provides a very simple way of turning on and off your
+debugging lines, as well as a very flexible way of logging those lines
+to literally anywhere you want.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+
+%{__make}
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/debug.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 17:47:32  glen
+- new (for NCGI)
+
================================================================


More information about the pld-cvs-commit mailing list