[4/5] perl-TimeDate: New package
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
perl-TimeDate/perl-TimeDate.nm | 45 ++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 perl-TimeDate/perl-TimeDate.nm
new file mode 100644
@@ -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