Name: perl-Exporter-Lite Version: 0.02 Release: 1%{?dist} Summary: Lightweight exporting of variables License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Exporter-Lite/ Source0: http://www.cpan.org/authors/id/M/MS/MSCHWERN/Exporter-Lite-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.34 Requires: perl(Test::More) >= 0.34 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is an alternative to Exporter intended to provide a lightweight subset of its functionality. It supports import(), @EXPORT and @EXPORT_OK and not a whole lot else. %prep %setup -q -n Exporter-Lite-%{version} %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 %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Sep 20 2008 Dave Cross 0.02-1 - Specfile autogenerated by cpanspec 1.77.