diff --git a/.cvsignore b/.cvsignore index e69de29..e87089a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Class-DBI-Plugin-Type-0.02.tar.gz diff --git a/perl-Class-DBI-Plugin-Type.spec b/perl-Class-DBI-Plugin-Type.spec new file mode 100644 index 0000000..b17a4a1 --- /dev/null +++ b/perl-Class-DBI-Plugin-Type.spec @@ -0,0 +1,59 @@ +Name: perl-Class-DBI-Plugin-Type +Version: 0.02 +Release: 3%{?dist} +Summary: Determine type information for columns +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Class-DBI-Plugin-Type +Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SIMON/Class-DBI-Plugin-Type-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(Class::DBI::Plugin), perl(DBD::SQLite) +Requires: perl(Class::DBI::Plugin) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +%{summary}. + +%prep +%setup -q -n Class-DBI-Plugin-Type-%{version} +perldoc -t perlartistic > Artistic +perldoc -t perlgpl > COPYING + +%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 Artistic COPYING Changes +%{perl_vendorlib}/Class/DBI/Plugin/ +%{_mandir}/man3/*.3* + + +%changelog +* Wed Aug 31 2005 Paul Howarth 0.02-3 +- remove redundant BR: perl +- use %{?_smp_mflags} with make in %%build +- include license text +- add BR: perl(DBD::SQLite) for %%check + +* Fri Jul 8 2005 Tom "spot" Callaway 0.02-2 +- cleanups + +* Wed Jul 6 2005 Tom "spot" Callaway 0.02-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..24da219 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2f80426ccc67629543404ee9376a6d3e Class-DBI-Plugin-Type-0.02.tar.gz