diff --git a/.cvsignore b/.cvsignore index e69de29..83e454d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +DBIx-ContextualFetch-1.02.tar.gz diff --git a/perl-DBIx-ContextualFetch.spec b/perl-DBIx-ContextualFetch.spec new file mode 100644 index 0000000..b974a44 --- /dev/null +++ b/perl-DBIx-ContextualFetch.spec @@ -0,0 +1,55 @@ +Name: perl-DBIx-ContextualFetch +Version: 1.02 +Release: 3%{?dist} +Summary: Add contextual fetches to DBI +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/DBIx-ContextualFetch +Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/DBIx-ContextualFetch-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(DBD::SQLite2) +BuildRequires: perl(DBI) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(DBI) + +%description +%{summary}. + +%prep +%setup -q -n DBIx-ContextualFetch-%{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}/DBIx +%{_mandir}/man3/*.3* + + +%changelog +* Wed Aug 17 2005 Tom "spot" Callaway 1.02-3 +- more cleanups + +* Fri Jul 8 2005 Tom "spot" Callaway 1.02-2 +- cleanups + +* Wed Jul 6 2005 Tom "spot" Callaway 1.02-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..ec8bf22 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e0e2d7db498de03fb3aef95ebd1e0947 DBIx-ContextualFetch-1.02.tar.gz