From patchwork Thu Feb 16 16:17:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6535 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PHg8c5Wfzz3xHG for ; Thu, 16 Feb 2023 16:17:52 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PHg8b2RyWz9NG; Thu, 16 Feb 2023 16:17:51 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PHg8b1cGPz2xbl; Thu, 16 Feb 2023 16:17:51 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PHg8W2s78z2xbl for ; Thu, 16 Feb 2023 16:17:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PHg8W01kMzRM; Thu, 16 Feb 2023 16:17:46 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1676564267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ClF3XYEqLcUceFqCLuFXmHec1kugfnMJsJqogNoVUuo=; b=9zOWoZMLuzE2VG3XOmavPU1jWjC/JNQz4SP7vEdqTFkQmSVyXVS2EodaiX4o5g/WlRDIuH RPKsVt57GbwalbDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1676564267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ClF3XYEqLcUceFqCLuFXmHec1kugfnMJsJqogNoVUuo=; b=Aim5/itkSaOL/I9gttn0Xsbly+A71vszWDa9LA0/caHZ6GSzzESZrGNvEblmGhy9i6VZ6D MlsW1XK69vPTYdnGW2NzmEritI31QVOPPc0WBg829np/oKPplZHfTxUd5AlpbiEMezfNCB Zy6FKzRLZpAo2w8bmrQfXa/XqfNkTJkOyd4Sx6YjUdsSc75cLHgILBSoCF/WQDiMhPxyVv K15m80PWtCD2Z3wye+fOVB6hJUvgjCq7HOpzYb8gdKEARrLaXTW7fmWv0i0ZcVdT/lmwSO U39DEZdCeqqPiF7sSsRGdMPaNJpLlS3fRGNnX0Visgh+uJYiH3bOsvMwlKtAYQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 4/5] perl-TimeDate: New package Date: Thu, 16 Feb 2023 17:17:33 +0100 Message-Id: <20230216161734.1027788-4-stefan.schantl@ipfire.org> In-Reply-To: <20230216161734.1027788-1-stefan.schantl@ipfire.org> References: <20230216161734.1027788-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl --- perl-TimeDate/perl-TimeDate.nm | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 perl-TimeDate/perl-TimeDate.nm diff --git a/perl-TimeDate/perl-TimeDate.nm b/perl-TimeDate/perl-TimeDate.nm new file mode 100644 index 000000000..858846b81 --- /dev/null +++ b/perl-TimeDate/perl-TimeDate.nm @@ -0,0 +1,45 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +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