]>
Commit | Line | Data |
---|---|---|
4df7a0ac TE |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-libintl-perl | |
5ded395d | 7 | version = 1.33 |
e0d866c0 | 8 | release = 3 |
4df7a0ac TE |
9 | thisapp = libintl-perl-%{version} |
10 | ||
11 | groups = Development/Libraries | |
12 | url = http://search.cpan.org/dist/libintl-perl/ | |
13 | license = GPL+ or Artistic | |
14 | summary = An internationalization library for Perl | |
15 | ||
16 | description | |
17 | The package libintl-perl is an internationalization library for Perl | |
18 | that aims to be compatible with the Uniforum message translations | |
19 | system as implemented for example in GNU gettext. | |
20 | end | |
21 | ||
22 | source_dl = http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/ | |
23 | ||
24 | build | |
25 | requires | |
b182eef0 | 26 | /usr/bin/xsubpp |
5ded395d | 27 | perl(locale) |
4df7a0ac | 28 | perl(ExtUtils::MakeMaker) |
5ded395d | 29 | perl(Test::More) |
4df7a0ac TE |
30 | end |
31 | ||
32 | build | |
33 | perl Makefile.PL INSTALLDIRS=vendor | |
34 | make %{PARALLELISMFLAGS} | |
35 | end | |
36 | ||
37 | test | |
38 | make test | |
39 | end | |
40 | ||
b182eef0 SS |
41 | make_install_targets = \ |
42 | pure_install DESTDIR=%{BUILDROOT} | |
bbfccb75 SS |
43 | |
44 | install_cmds | |
45 | # Set correct library permissions. | |
46 | find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ | |
47 | -exec chmod 755 {} \; | |
48 | end | |
4df7a0ac TE |
49 | end |
50 | ||
51 | packages | |
52 | package %{name} | |
b182eef0 SS |
53 | requires |
54 | perl(:MODULE_COMPAT_%{perl_version}) | |
55 | end | |
56 | end | |
4df7a0ac TE |
57 | |
58 | package %{name}-debuginfo | |
59 | template DEBUGINFO | |
60 | end | |
61 | end |