Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- .../perl-Canary-Stability.nm | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 perl-Canary-Stability/perl-Canary-Stability.nm
diff --git a/perl-Canary-Stability/perl-Canary-Stability.nm b/perl-Canary-Stability/perl-Canary-Stability.nm new file mode 100644 index 000000000..0b3775cf9 --- /dev/null +++ b/perl-Canary-Stability/perl-Canary-Stability.nm @@ -0,0 +1,54 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = perl-Canary-Stability +version = 2013 +release = 1 +thisapp = Canary-Stability-%{version} + +groups = Development/Libraries +url = https://search.cpan.org/dist/Canary::Stability/ +license = GPL+ or Artistic +summary = Canary to check perl compatibility for schmorp's modules. + +description + This module is used by Schmorp's modules during configuration stage to test + the installed perl for compatibility with his modules. +end + +source_dl = https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ + +build + requires + perl(ExtUtils::MakeMaker) + perl(ExtUtils::ParseXS) + libdb-devel + pakfire >= 0.9.26-3.1 + end + + build + perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" + make %{PARALLELISMFLAGS} + end + + test + make test + end + + make_install_targets = \ + pure_install DESTDIR=%{BUILDROOT} +end + +packages + package %{name} + requires + perl(:MODULE_COMPAT_%{perl_version}) + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end