]>
Commit | Line | Data |
---|---|---|
fa356120 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-Crypt-OpenSSL-X509 | |
7 | version = 1.914 | |
a581c88c | 8 | release = 3 |
fa356120 SS |
9 | thisapp = Crypt-OpenSSL-X509-%{version} |
10 | ||
11 | groups = Development/Libraries | |
12 | url = http://search.cpan.org/dist/Crypt-OpenSSL-X509 | |
13 | license = GPL+ | |
14 | summary = Perl extension to OpenSSL's X509 API. | |
15 | ||
16 | description | |
17 | This perl module implements a large majority of OpenSSL's useful X509 API. | |
18 | end | |
19 | ||
20 | source_dl = https://cpan.metacpan.org/authors/id/J/JO/JONASBN/ | |
21 | ||
22 | build | |
23 | requires | |
a581c88c | 24 | openssl-devel |
fa356120 | 25 | perl(Crypt::OpenSSL::Guess) |
a581c88c | 26 | perl(Convert::ASN1) |
fa356120 | 27 | perl(ExtUtils::MakeMaker) |
a581c88c | 28 | perl(Test::More) |
fa356120 SS |
29 | end |
30 | ||
31 | build | |
32 | perl Makefile.PL INSTALLDIRS=vendor | |
33 | make %{PARALLELISMFLAGS} | |
34 | end | |
35 | ||
36 | make_install_targets = \ | |
37 | pure_install | |
88452aab | 38 | |
a581c88c SS |
39 | test |
40 | make test | |
41 | end | |
42 | ||
88452aab SS |
43 | install_cmds |
44 | # Set correct library permissions. | |
45 | find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ | |
46 | -exec chmod 755 {} \; | |
47 | end | |
fa356120 SS |
48 | end |
49 | ||
50 | packages | |
51 | package %{name} | |
52 | ||
53 | package %{name}-debuginfo | |
54 | template DEBUGINFO | |
55 | end | |
56 | end |