%define pkg_name DBI-Shell %define pkg_version 11.94 %define rpm_pkg_version 11.94 %define rpm_pkg_release 1.n0i.1 Summary: Interactive command shell for the DBI Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/T/TL/TLOWERY/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(DBI) BuildRequires: perl(IO::Tee) BuildRequires: perl(Text::Reform) %description The DBI::Shell module (and dbish command) provide a simple but effective command line interface for the Perl DBI module. DBI::Shell is very new, very experimental and very subject to change. Your mileage will vary. Interfaces will change with each release. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %build %{perl_build} # experimentalish! doesn't currently succeed... surprised? ;-) %{?_with_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b -m} %doc Changes README ToDo %changelog * Sat Jun 16 2007 Marius Feraru - 11.94-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 11.94