]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - perl-DBI/perl-DBI.nm
whois: Update to version 5.5.18
[people/pmueller/ipfire-3.x.git] / perl-DBI / perl-DBI.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-DBI
7 version = 1.643
8 release = 3
9 thisapp = DBI-%{version}
10
11 groups = Development/Libraries
12 url = http://dbi.perl.org
13 license = GPL+ or Artistic
14 summary = A database access API for perl.
15
16 description
17 DBI is a database access Application Programming Interface (API) for
18 the Perl Language.
19 end
20
21 source_dl = http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/
22
23 build
24 requires
25 perl(B)
26 perl(blib)
27 perl(Carp)
28 perl(Cwd)
29 perl(Data::Dumper)
30 perl(DynaLoader)
31 perl(Errno)
32 perl(Exporter)
33 perl(ExtUtils::MakeMaker)
34 perl(ExtUtils::ParseXS)
35 perl(File::Basename)
36 perl(File::Find)
37 perl(File::Spec)
38 perl(Getopt::Long)
39 perl(IO::Dir)
40 perl(IO::File)
41 perl(IO::Select)
42 perl(IPC::Open3)
43 perl(Math::BigInt)
44 perl(Scalar::Util)
45 perl(Storable)
46 perl(Symbol)
47 perl(Tie::Hash)
48 perl(Test::Simple)
49 perl(base)
50 perl(blib)
51 perl(strict)
52 perl-devel
53
54 # Only required to successfully perform
55 # the testsuite.
56 perl-core
57 end
58
59 build
60 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
61 make %{PARALLELISMFLAGS}
62 end
63
64 test
65 make test
66 end
67
68 make_install_targets = \
69 pure_install DESTDIR=%{BUILDROOT}
70
71 install_cmds
72 # Set correct library permissions.
73 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
74 -exec chmod 755 {} \;
75
76 # Set correct binary permissions.
77 find %{BUILDROOT}%{bindir} -type f -executable \
78 -exec chmod 755 {} \;
79 end
80 end
81
82 packages
83 package %{name}
84 filter_requires = (RPC|Win32)
85
86 requires
87 perl(:MODULE_COMPAT_%{perl_version})
88 perl(Math::BigInt)
89 end
90 end
91
92 package %{name}-debuginfo
93 template DEBUGINFO
94 end
95 end