diff --git a/.cvsignore b/.cvsignore index e69de29..a985ee2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Class-Can-0.01.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..cd7b88d --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Class-Can-0_01-1_fc10:HEAD:perl-Class-Can-0.01-1.fc10.src.rpm:1234155869 diff --git a/perl-Class-Can.spec b/perl-Class-Can.spec new file mode 100644 index 0000000..43d3237 --- /dev/null +++ b/perl-Class-Can.spec @@ -0,0 +1,52 @@ +Name: perl-Class-Can +Version: 0.01 +Release: 1%{?dist} +Summary: Inspect a class/method and say what it can do (and why) +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Class-Can/ +Source0: http://www.cpan.org/modules/by-module/Class/Class-Can-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(Devel::Symdump) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +Requires: perl(Devel::Symdump) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Class::Can interrogates the object heirarchy of a package to return a hash +detailling what methods the class could dispatch (as the key), and the +package it found it in (as the value). + +%prep +%setup -q -n Class-Can-%{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 +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 05 2009 Ian Burrell 0.01-1 +- Specfile autogenerated by cpanspec 1.77. diff --git a/sources b/sources index e69de29..e7a512b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c2a1ad6968e86c63b706d4bc4970d442 Class-Can-0.01.tar.gz