SPECS: perl-Probe-Perl.spec (NEW) - new

radek radek at pld-linux.org
Sun Feb 17 18:25:33 CET 2008


Author: radek                        Date: Sun Feb 17 17:25:33 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/perl-Probe-Perl.spec
diff -u /dev/null SPECS/perl-Probe-Perl.spec:1.1
--- /dev/null	Sun Feb 17 18:25:33 2008
+++ SPECS/perl-Probe-Perl.spec	Sun Feb 17 18:25:28 2008
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Probe
+%define	pnam	Perl
+Summary:	Probe::Perl - Information about the currently running perl
+#Summary(pl.UTF-8):	
+Name:		perl-Probe-Perl
+Version:	0.01
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/K/KW/KWILLIAMS/Probe-Perl-0.01.tar.gz
+# Source0-md5:	b6f613a7d07dde568a0d4b9570de47c3
+URL:		http://search.cpan.org/dist/Probe-Perl/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides methods for obtaining information about the
+currently running perl interpreter.  It originally began life as code
+in the Module::Build project, but has been externalized here for
+general use.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/Probe/*.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  2008-02-17 17:25:28  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list