From b66a4456e10d7cefae7d7751ffdcec5cf7b46e07 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Nov 13 2012 09:09:53 +0000 Subject: import perl-Sys-CPU-0.54-1.el7.src.rpm --- diff --git a/.perl-Sys-CPU.metadata b/.perl-Sys-CPU.metadata new file mode 100644 index 0000000..bb201f4 --- /dev/null +++ b/.perl-Sys-CPU.metadata @@ -0,0 +1 @@ +95a6985353c73f6399dbbdd4cb8d5cae28ed47e6 SOURCES/Sys-CPU-0.54.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-CPU.spec b/SPECS/perl-Sys-CPU.spec new file mode 100644 index 0000000..e54d902 --- /dev/null +++ b/SPECS/perl-Sys-CPU.spec @@ -0,0 +1,86 @@ +Name: perl-Sys-CPU +Version: 0.54 +Release: 1%{?dist} +Summary: Getting CPU information +Group: Development/Libraries +# Some code was copied from Unix::Processors, which is LGPLv3 or Artistic 2.0 +# The rest of the code is under the standard Perl license (GPL+ or Artistic). +# See . +License: (GPL+ or Artistic) and (LGPLv3 or Artistic 2.0) +URL: http://search.cpan.org/~mkoderer/Sys-CPU/ +Source0: http://search.cpan.org/CPAN/authors/id/M/MZ/MZSANFORD/Sys-CPU-%{version}.tar.gz +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Perl extension for getting CPU information. +Currently only number of CPU's supported. + +%prep +%setup -q -n Sys-CPU-%{version} +sed -i 's/\r//' Changes README + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%check +make test TEST_VERBOSE=1 + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name CPU.bs -exec rm -f {} ';' +%{_fixperms} %{buildroot}/* + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Sys/* +%{_mandir}/man3/*.3* + + +%changelog +* Tue Nov 13 2012 Petr Pisar - 0.54-1 +- 0.54 bump + +* Mon Nov 05 2012 Petr Pisar - 0.52-2 +- Add support for s390 (CPAN RT #80633) + +* Fri Nov 02 2012 Petr Pisar - 0.52-1 +- 0.52 bump + +* Fri Jul 20 2012 Fedora Release Engineering - 0.51-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 0.51-9 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.51-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Oct 05 2011 Shakthi Kannan - 0.51-7 +- Used perl_vendorarch/auto, perl_vendorarch/Sys in files section. + +* Fri Jun 17 2011 Marcela Mašláňová - 0.51-6 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.51-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Dec 22 2010 Marcela Maslanova - 0.51-4 +- 661697 rebuild for fixing problems with vendorach/lib + +* Sun Jun 27 2010 Ralf Corsépius 0.51-3 +- Rebuild for perl-5.12.1. + +* Mon May 03 2010 Shakthi Kannan 0.51-2 +- Updated license to (GPL+ or Artistic) and (LGPLv3 or Artistic 2.0) + +* Fri Apr 23 2010 Shakthi Kannan 0.51-1 +- Initial Fedora RPM version