From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 2/7] perl-File-Remove: New package Date: Sun, 26 Feb 2023 20:18:59 +0100 Message-ID: <20230226191904.675207-2-stefan.schantl@ipfire.org> In-Reply-To: <20230226191904.675207-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4312632873377588332==" List-Id: --===============4312632873377588332== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- perl-File-Remove/perl-File-Remove.nm | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 perl-File-Remove/perl-File-Remove.nm diff --git a/perl-File-Remove/perl-File-Remove.nm b/perl-File-Remove/perl-Fil= e-Remove.nm new file mode 100644 index 000000000..f3717c2cc --- /dev/null +++ b/perl-File-Remove/perl-File-Remove.nm @@ -0,0 +1,47 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D perl-File-Remove +version =3D 1.61 +release =3D 1 +arch =3D noarch +thisapp =3D File-Remove-%{version} + +groups =3D Development/Libraries +url =3D http://search.cpan.org/dist/File-Remove/ +license =3D GPL+ +summary =3D A perl module to Remove files and directories. + +description + File::Remove::remove removes files and directories. It acts like /bin/rm, + for the most part. Although unlink can be given a list of files, it will + not remove directories; this module remedies that. + + It also accepts wildcards, * and ?, as arguments for filenames. +end + +source_dl =3D https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/ + +build + requires + perl(blib) + perl(IPC::Open3) + perl(ExtUtils::MakeMaker) + perl(Test::More) + end + + build + perl Makefile.PL INSTALLDIRS=3Dvendor + make %{PARALLELISMFLAGS} + end + + test + make test + end +end + +packages + package %{name} +end --=20 2.30.2 --===============4312632873377588332==--