diff --git a/Class-Data-Accessor-0.04004.tar.gz b/Class-Data-Accessor-0.04004.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..54dc2f2119a8461472bacd027d56a8aec993145a Binary files /dev/null and b/Class-Data-Accessor-0.04004.tar.gz differ diff --git a/perl-Class-Data-Accessor.spec b/perl-Class-Data-Accessor.spec new file mode 100644 index 0000000000000000000000000000000000000000..360a24b198a4bf6ce2ec0801c46aa85eabf53c8d --- /dev/null +++ b/perl-Class-Data-Accessor.spec @@ -0,0 +1,73 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Class-Data-Accessor +Version: 0.04004 +Release: 1 +Summary: Inheritable, overridable class and instance data accessor creation +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Class-Data-Accessor/ +Source0: http://www.cpan.org/authors/id/C/CL/CLACO/Class-Data-Accessor-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +BuildRequires: perl-generators +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(Carp) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%description +This module is now deprecated! +%package help +Summary : Inheritable, overridable class and instance data accessor creation +Provides: perl-Class-Data-Accessor-doc +%description help +This module is now deprecated! +%prep +%setup -q -n Class-Data-Accessor-%{version} +%build +export PERL_MM_OPT="" +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +export PERL_MM_OPT="" +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +pushd %{buildroot} +touch filelist.lst +if [ -d usr/bin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ];then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib ];then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +popd +mv %{buildroot}/filelist.lst . +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f filelist.lst +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Tue Jul 20 2021 Perl_Bot 0.04004-1 +- Specfile autogenerated by Perl_Bot