diff --git a/.cvsignore b/.cvsignore index e69de29..49a7d7b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Ima-DBI-0.33.tar.gz diff --git a/perl-Ima-DBI.spec b/perl-Ima-DBI.spec new file mode 100644 index 0000000..1d32f65 --- /dev/null +++ b/perl-Ima-DBI.spec @@ -0,0 +1,57 @@ +Name: perl-Ima-DBI +Version: 0.33 +Release: 3%{?dist} +Summary: Database connection caching and organization +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Ima-DBI +Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Ima-DBI-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(Class::Data::Inheritable) +BuildRequires: perl(Class::WhiteHole) +BuildRequires: perl(DBIx::ContextualFetch) +Requires: perl(Class::Data::Inheritable), perl(Class::WhiteHole) +Requires: perl(DBIx::ContextualFetch) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +%{summary}. + +%prep +%setup -q -n Ima-DBI-%{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 -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes +%{perl_vendorlib}/Ima +%{_mandir}/man3/*.3* + + +%changelog +* Wed Aug 17 2005 Tom "spot" Callaway 0.33-3 +- minor cleanups + +* Fri Jul 8 2005 Tom "spot" Callaway 0.33-2 +- cleanups + +* Wed Jul 6 2005 Tom "spot" Callaway 0.33-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..7cd8dec 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3d72cfbca2aa5e2b631020122858e3ae Ima-DBI-0.33.tar.gz