diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1534ba5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.rpm +*.log +*spec-20* diff --git a/File-Remove-1.61.tar.gz b/File-Remove-1.61.tar.gz new file mode 100644 index 0000000..dccf290 --- /dev/null +++ b/File-Remove-1.61.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd857f585908fc503461b9e48b3c8594e6535766bc14beb17c90ba58d5dc4975 +size 26346 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bec3846 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: perl-File-Remove +# $Id: Makefile,v 1.1 2016/02/04 12:24:52 vip-ire Exp $ +NAME := perl-File-Remove +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index 53a74b0..aff5b32 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ -# perl-File-Remove +# perl-File-Remove (File::Remove) -3rd Party (Maintained by Koozali) git repo for perl-File-Remove smeserver \ No newline at end of file +SMEServer Koozali local git repo for perl-File-Remove + +## Documentation +https://metacpan.org/pod/File::Remove + +## Bugs +CPAN bug report are [here](https://rt.cpan.org/Public/Dist/Display.html?Name=File-Remove) + +Show list of Koozali outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=perl-File-Remove&product=SME%20Server%2011.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) + +## 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. diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..80affab --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme11 diff --git a/perl-File-Remove.spec b/perl-File-Remove.spec new file mode 100644 index 0000000..5ef924f --- /dev/null +++ b/perl-File-Remove.spec @@ -0,0 +1,73 @@ +Name: perl-File-Remove +Version: 1.61 +Release: 1%{?dist} +Summary: Remove files and directories +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/File-Remove/ +Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/File-Remove-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl >= 0:5.008 +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) >= 3.29 +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Glob) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) >= 3.29 +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +Requires: perl(constant) +Requires: perl(Cwd) >= 3.29 +Requires: perl(File::Glob) +Requires: perl(File::Path) +Requires: perl(File::Spec) >= 3.29 +Requires: perl(strict) +Requires: perl(vars) +Requires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%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. + +%prep +%setup -q -n File-Remove-%{version} + +%build +%{__perl} Build.PL --installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes dist.ini LICENSE META.json README scripts weaver.ini +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Jan 21 2025 Koozali 1.61-1 +- Specfile autogenerated by cpanspec 1.78.