Name: perl-Class-Factory Version: 1.05 Release: 1%{?dist} Summary: Base class for dynamic factory classes License: GPL or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Class-Factory/ Source0: http://www.cpan.org/modules/by-module/Class/Class-Factory-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %if "%fedora" >= "7" BuildRequires: perl-devel %endif %description This is a simple module that factory classes can use to generate new types of objects on the fly, providing a consistent interface to common groups of objects. %prep %setup -q -n Class-Factory-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Mar 16 2007 Andreas Thienemann 1.05-1 - Specfile autogenerated by cpanspec 1.69.1. - Cleaned up for FE