3 %bcond_with tests # perform "make test"
7 Summary: Ima::DBI - database connection caching and organization
8 Summary(pl.UTF-8): Ima::DBI - organizacja i buforowanie połączenia z bazą danych
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/T/TM/TMTM/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 1ccc6eb89ec4beb1b231fc69209b87c6
17 URL: http://search.cpan.org/dist/Ima-DBI/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-DBI
23 Requires: perl-DBIx-ContextualFetch
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Ima::DBI attempts to organize and facilitate caching and more efficient
29 use of database connections and statement handles.
31 %description -l pl.UTF-8
32 Ima::DBI próbuje zorganizować i ułatwić buforowanie oraz bardziej
33 wydajne wykorzystanie połączeń z bazą danych i uchwytów do
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %dir %{perl_vendorlib}/Ima
57 %{perl_vendorlib}/Ima/DBI.pm