]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-TimeDate: New package
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 16 Feb 2023 16:17:33 +0000 (17:17 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 16 Feb 2023 17:11:03 +0000 (17:11 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
perl-TimeDate/perl-TimeDate.nm [new file with mode: 0644]

diff --git a/perl-TimeDate/perl-TimeDate.nm b/perl-TimeDate/perl-TimeDate.nm
new file mode 100644 (file)
index 0000000..858846b
--- /dev/null
@@ -0,0 +1,45 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-TimeDate
+version    = 2.33
+release    = 1
+arch       = noarch
+thisapp    = TimeDate-%{version}
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/TimeDate/
+license    = GPL+ or Artistic
+summary    = A Perl module for time and date manipulation
+
+description
+       This module includes a number of smaller modules suited for
+       manipulation of time and date strings with Perl. In particular, the
+       Date::Format and Date::Parse modules can display and read times and
+       dates in various formats, providing a more reliable interface to
+       textual representations of points in time.
+end
+
+source_dl  = https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/
+
+build
+       requires
+               perl(ExtUtils::MakeMaker)
+               perl(Test::More)
+       end
+
+       build
+               perl Makefile.PL INSTALLDIRS=perl
+               make %{PARALLELISMFLAGS}
+       end
+
+       test
+               make test
+       end     
+end
+
+packages
+       package %{name}
+end