diff --git a/.cvsignore b/.cvsignore index e69de29..4015e66 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Probe-Perl-0.01.tar.gz diff --git a/perl-Probe-Perl.spec b/perl-Probe-Perl.spec new file mode 100644 index 0000000..e14ea48 --- /dev/null +++ b/perl-Probe-Perl.spec @@ -0,0 +1,50 @@ +Name: perl-Probe-Perl +Version: 0.01 +Release: 1%{?dist} +Summary: Information about the currently running perl +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Probe-Perl/ +Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Probe-Perl-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Config) +BuildRequires: perl(Module::Build) +Requires: perl(Config) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%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} Build.PL installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Sep 24 2008 Marcela Mašláňová 0.01-1 +- Specfile autogenerated by cpanspec 1.77. diff --git a/sources b/sources index e69de29..11b44b1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b6f613a7d07dde568a0d4b9570de47c3 Probe-Perl-0.01.tar.gz