diff --git a/.perl-Sys-MemInfo.metadata b/.perl-Sys-MemInfo.metadata new file mode 100644 index 0000000..462972f --- /dev/null +++ b/.perl-Sys-MemInfo.metadata @@ -0,0 +1 @@ +75d959e24e39187102c3480e622efdba92e96bc1 SOURCES/Sys-MemInfo-0.91.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Sys-MemInfo.spec b/SPECS/perl-Sys-MemInfo.spec new file mode 100644 index 0000000..b570440 --- /dev/null +++ b/SPECS/perl-Sys-MemInfo.spec @@ -0,0 +1,66 @@ +Name: perl-Sys-MemInfo +Version: 0.91 +Release: 5%{?dist} +Summary: Memory information as Perl module +# README: GPLv1+ or Artistic +# MemInfo.pm LGPLv2+ +# +License: (GPLv1+ or Artistic) and LGPLv2+ +Group: Development/Libraries +URL: http://search.cpan.org/dist/Sys-MemInfo/ +Source0: http://www.cpan.org/modules/by-module/Sys/Sys-MemInfo-%{version}.tar.gz +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Copy) +# Run-time: +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +# 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 + +%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 +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Sys* +%{_mandir}/man3/* + +%changelog +* 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