1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = DBI-%{version}
11 groups = Development/Libraries
12 url = http://dbi.perl.org
13 license = GPL+ or Artistic
14 summary = A database access API for perl.
17 DBI is a database access Application Programming Interface (API) for
21 source_dl = http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/
33 perl(ExtUtils::MakeMaker)
34 perl(ExtUtils::ParseXS)
54 # Only required to successfully perform
60 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
61 make %{PARALLELISMFLAGS}
68 make_install_targets = \
69 pure_install DESTDIR=%{BUILDROOT}
72 # Set correct library permissions.
73 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
76 # Set correct binary permissions.
77 find %{BUILDROOT}%{bindir} -type f -executable \
84 filter_requires = (RPC|Win32)
87 perl(:MODULE_COMPAT_%{perl_version})
92 package %{name}-debuginfo