]>
Commit | Line | Data |
---|---|---|
339065dc MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-FCGI | |
dccff838 | 7 | version = 0.77 |
e0d866c0 | 8 | release = 3 |
339065dc MT |
9 | thisapp = FCGI-%{version} |
10 | ||
11 | groups = Development/Libraries | |
12 | url = http://search.cpan.org/dist/FCGI | |
13 | license = OML | |
14 | summary = FastCGI perl bindings. | |
15 | ||
16 | description | |
17 | FastCGI perl bindings. | |
18 | end | |
19 | ||
dccff838 | 20 | source_dl = http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/ |
339065dc MT |
21 | |
22 | build | |
23 | requires | |
24 | perl(ExtUtils::MakeMaker) | |
583a8152 | 25 | perl(ExtUtils::ParseXS) |
0cea5531 | 26 | perl(Test::More) |
339065dc MT |
27 | end |
28 | ||
29 | build | |
30 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
31 | make %{PARALLELISMFLAGS} | |
32 | end | |
33 | ||
34 | test | |
35 | make test | |
36 | end | |
37 | ||
dccff838 SS |
38 | make_install_targets = \ |
39 | pure_install DESTDIR=%{BUILDROOT} | |
0cea5531 SS |
40 | |
41 | install_cmds | |
42 | # Set correct library permissions. | |
43 | find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ | |
44 | -exec chmod 755 {} \; | |
45 | end | |
339065dc MT |
46 | end |
47 | ||
48 | packages | |
49 | package %{name} | |
50 | requires | |
dccff838 | 51 | perl(:MODULE_COMPAT_%{perl_version}) |
339065dc MT |
52 | end |
53 | end | |
54 | ||
55 | package %{name}-debuginfo | |
56 | template DEBUGINFO | |
57 | end | |
58 | end |