diff --git a/.cvsignore b/.cvsignore index e69de29..66c0a50 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Class-ISA-0.36.tar.gz diff --git a/perl-Class-ISA.spec b/perl-Class-ISA.spec new file mode 100644 index 0000000..605c1c0 --- /dev/null +++ b/perl-Class-ISA.spec @@ -0,0 +1,52 @@ +Name: perl-Class-ISA +Version: 0.36 +Release: 1%{?dist} +Summary: Report the search path for a class's ISA tree +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Class-ISA/ +Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Class-ISA-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Suppose you have a class (like Food::Fish::Fishstick) that is derived, via +its @ISA, from one or more superclasses (as Food::Fish::Fishstick is from +Food::Fish, Life::Fungus, and Chemicals), and some of those superclasses +may themselves each be derived, via its @ISA, from one or more superclasses +(as above). + +%prep +%setup -q -n Class-ISA-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc ChangeLog README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon May 03 2010 Marcela Mašláňová 0.36-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..93c5013 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3a2ad203c8dc87d6c9de16215d00af47 Class-ISA-0.36.tar.gz