From 4d965021ddfc9dbe9bc2ba4a5964b38cbf1bb677 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:32:31 +0100 Subject: [PATCH] automatic update by autodist [release 0.03-1mamba;Sun Aug 11 2013] --- README.md | 2 ++ perl-Probe-Perl.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 perl-Probe-Perl.spec diff --git a/README.md b/README.md index ebea0a3..d07a010 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Probe-Perl +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. + diff --git a/perl-Probe-Perl.spec b/perl-Probe-Perl.spec new file mode 100644 index 0000000..9bf829a --- /dev/null +++ b/perl-Probe-Perl.spec @@ -0,0 +1,60 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Probe-Perl +Version: 0.03 +Release: 1mamba +Summary: Probe::Perl - Information about the currently running perl +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Probe-Perl-%{version}.tar.gz +License: GPL, Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: libperl +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl(Config) +BuildRequires: perl(Module::Build) +BuildRequires: perl-devel +Requires: perl(Config) +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. + +%prep +%setup -q -n Probe-Perl-%{version} + +%build +%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" + +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +chmod -R u+w %{buildroot}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorlib}/* +#%{_mandir}/man3/*.3pm.gz +%doc LICENSE + +%changelog +* Sun Aug 11 2013 Automatic Build System 0.03-1mamba +- automatic update by autodist + +* Sun Apr 28 2013 Automatic Build System 0.02-1mamba +- automatic version update by autodist + +* Fri Feb 18 2011 gil 0.01-1mamba +- package created by autospec