]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-File-Remove: New package
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 26 Feb 2023 19:18:59 +0000 (20:18 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 Feb 2023 12:47:28 +0000 (12:47 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
perl-File-Remove/perl-File-Remove.nm [new file with mode: 0644]

diff --git a/perl-File-Remove/perl-File-Remove.nm b/perl-File-Remove/perl-File-Remove.nm
new file mode 100644 (file)
index 0000000..f3717c2
--- /dev/null
@@ -0,0 +1,47 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-File-Remove
+version    = 1.61
+release    = 1
+arch       = noarch
+thisapp    = File-Remove-%{version}
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/File-Remove/
+license    = GPL+
+summary    = 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  = 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=vendor
+               make %{PARALLELISMFLAGS}
+       end
+
+       test
+               make test
+       end
+end
+
+packages
+       package %{name}
+end