From b1de28154d202399a8bd4eb94e155d3730314c75 Mon Sep 17 00:00:00 2001 From: alexlan Date: Apr 02 2007 22:40:56 +0000 Subject: auto-import perl-AutoClass-1_01-2 on branch FC-6 from perl-AutoClass-1_01-2.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..a69ef29 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +autoclass_v1_01.tgz diff --git a/perl-AutoClass.spec b/perl-AutoClass.spec new file mode 100644 index 0000000..e7f9e2a --- /dev/null +++ b/perl-AutoClass.spec @@ -0,0 +1,55 @@ +Name: perl-AutoClass +Version: 1_01 +Release: 2%{?dist} +Summary: Automatically define classes and objects for Perl +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/autoclass/ +Source0: http://www.cpan.org/modules/by-module/Class/autoclass_v%{version}.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(IO::Scalar) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +AutoClass is a Perl module to automatically define simple get and set +methods to automatically initialize objects in a (possibly multiple) +inheritance structure. + +%prep +%setup -q -n AutoClass + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$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 Changes Makefile +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Mar 30 2007 Alex Lancaster 1_01-2 +- Add perl(Test::Deep) to BR. + +* Thu Mar 29 2007 Alex Lancaster 1_01-1 +- Specfile autogenerated by cpanspec 1.69.1. diff --git a/sources b/sources index e69de29..024522e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5f04fa29d6cd01b4d1b707ed79edb8e6 autoclass_v1_01.tgz