From 26de1df59b6276c1d172a5d911f33f86d2b1a946 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 02 2019 19:00:52 +0000 Subject: import perl-Sys-MemInfo-0.99-6.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..251dd02 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Sys-MemInfo-0.99.tar.gz diff --git a/.perl-Sys-MemInfo.metadata b/.perl-Sys-MemInfo.metadata new file mode 100644 index 0000000..c0d84c0 --- /dev/null +++ b/.perl-Sys-MemInfo.metadata @@ -0,0 +1 @@ +86ed269b0623194f1d74faf90238b51ff58d673e SOURCES/Sys-MemInfo-0.99.tar.gz diff --git a/SPECS/perl-Sys-MemInfo.spec b/SPECS/perl-Sys-MemInfo.spec new file mode 100644 index 0000000..a984cd8 --- /dev/null +++ b/SPECS/perl-Sys-MemInfo.spec @@ -0,0 +1,119 @@ +Name: perl-Sys-MemInfo +Version: 0.99 +Release: 6%{?dist} +Summary: Memory information as Perl module +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Sys-MemInfo/ +Source0: http://www.cpan.org/authors/id/S/SC/SCRESTO/Sys-MemInfo-%{version}.tar.gz +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Copy) +# Run-time: +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(Test::More) +BuildRequires: perl(Data::Dumper) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Sys::MemInfo returns the total amount of free and used physical memory in +bytes in totalmem and freemem variables. + +%prep +%setup -q -n Sys-MemInfo-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Sys* +%{_mandir}/man3/* + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.99-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.99-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.99-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.99-3 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.99-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Oct 17 2016 Jan Synáček - 0.99-1 +- Update to 0.99 (#1385279) + +* Sun May 15 2016 Jitka Plesnikova - 0.98-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.98-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Jitka Plesnikova - 0.98-1 +- 0.98 bump + +* Thu Jun 18 2015 Fedora Release Engineering - 0.91-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 0.91-12 +- Perl 5.22 rebuild + +* Wed Aug 27 2014 Jitka Plesnikova - 0.91-11 +- Perl 5.20 rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 0.91-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.91-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.91-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 0.91-7 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.91-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Nov 05 2012 Petr Pisar - 0.91-5 +- Change license from (LGPLv2+) to ((GPLv1+ or Artistic) and LGPLv2+) + (CPAN RT #80636) + +* Mon Nov 05 2012 Petr Pisar - 0.91-4 +- Improve description +- Specify all dependencies + +* Fri Jul 20 2012 Fedora Release Engineering - 0.91-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 0.91-2 +- Perl 5.16 rebuild + +* Fri May 04 2012 jsynacek@redhat.com 0.91-1 +- Initial release