|
|
178ca6 |
Name: perl-Sys-CPU
|
|
|
178ca6 |
Version: 0.54
|
|
|
178ca6 |
Release: 4%{?dist}
|
|
|
178ca6 |
Summary: Getting CPU information
|
|
|
178ca6 |
Group: Development/Libraries
|
|
|
178ca6 |
# Some code was copied from Unix::Processors, which is LGPLv3 or Artistic 2.0
|
|
|
178ca6 |
# The rest of the code is under the standard Perl license (GPL+ or Artistic).
|
|
|
178ca6 |
# See <https://bugzilla.redhat.com/show_bug.cgi?id=585336>.
|
|
|
178ca6 |
License: (GPL+ or Artistic) and (LGPLv3 or Artistic 2.0)
|
|
|
178ca6 |
URL: http://search.cpan.org/~mkoderer/Sys-CPU/
|
|
|
178ca6 |
Source0: http://search.cpan.org/CPAN/authors/id/M/MZ/MZSANFORD/Sys-CPU-%{version}.tar.gz
|
|
|
178ca6 |
# Support cpu_type on ARM and AArch64, bug #1093266, CPAN RT#95400
|
|
|
178ca6 |
Patch0: Sys-CPU-0.54-Add-support-for-cpu_type-on-ARM-and-AArch64-Linux-pl.patch
|
|
|
178ca6 |
# Accept undefined cpu_clock on ARM and AArch64, bug #1093266, CPAN RT#95400
|
|
|
178ca6 |
Patch1: Sys-CPU-0.61-cpu_clock-can-be-undefined-on-an-ARM.patch
|
|
|
178ca6 |
BuildRequires: perl(Config)
|
|
|
178ca6 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
178ca6 |
# Run-time:
|
|
|
178ca6 |
BuildRequires: perl(DynaLoader)
|
|
|
178ca6 |
BuildRequires: perl(Exporter)
|
|
|
178ca6 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
178ca6 |
|
|
|
178ca6 |
%{?perl_default_filter}
|
|
|
178ca6 |
|
|
|
178ca6 |
%description
|
|
|
178ca6 |
Perl extension for getting CPU information.
|
|
|
178ca6 |
Currently only number of CPU's supported.
|
|
|
178ca6 |
|
|
|
178ca6 |
%prep
|
|
|
178ca6 |
%setup -q -n Sys-CPU-%{version}
|
|
|
178ca6 |
%patch0 -p1
|
|
|
178ca6 |
%patch1 -p1
|
|
|
178ca6 |
sed -i 's/\r//' Changes README
|
|
|
178ca6 |
|
|
|
178ca6 |
%build
|
|
|
178ca6 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
178ca6 |
make %{?_smp_mflags}
|
|
|
178ca6 |
|
|
|
178ca6 |
%check
|
|
|
178ca6 |
make test TEST_VERBOSE=1
|
|
|
178ca6 |
|
|
|
178ca6 |
%install
|
|
|
178ca6 |
make pure_install DESTDIR=%{buildroot}
|
|
|
178ca6 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
178ca6 |
find %{buildroot} -type f -name CPU.bs -exec rm -f {} ';'
|
|
|
178ca6 |
%{_fixperms} %{buildroot}/*
|
|
|
178ca6 |
|
|
|
178ca6 |
%files
|
|
|
178ca6 |
%doc Changes README
|
|
|
178ca6 |
%{perl_vendorarch}/auto/*
|
|
|
178ca6 |
%{perl_vendorarch}/Sys/*
|
|
|
178ca6 |
%{_mandir}/man3/*.3*
|
|
|
178ca6 |
|
|
|
178ca6 |
|
|
|
178ca6 |
%changelog
|
|
|
178ca6 |
* Tue May 06 2014 Petr Pisar <ppisar@redhat.com> - 0.54-4
|
|
|
178ca6 |
- Support cpu_type on ARM and AArch64 (bug #1093266)
|
|
|
178ca6 |
- Accept undefined cpu_clock on ARM and AArch64 (bug #1093266)
|
|
|
178ca6 |
|
|
|
178ca6 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.54-3
|
|
|
178ca6 |
- Mass rebuild 2014-01-24
|
|
|
178ca6 |
|
|
|
178ca6 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.54-2
|
|
|
178ca6 |
- Mass rebuild 2013-12-27
|
|
|
178ca6 |
|
|
|
178ca6 |
* Tue Nov 13 2012 Petr Pisar <ppisar@redhat.com> - 0.54-1
|
|
|
178ca6 |
- 0.54 bump
|
|
|
178ca6 |
|
|
|
178ca6 |
* Mon Nov 05 2012 Petr Pisar <ppisar@redhat.com> - 0.52-2
|
|
|
178ca6 |
- Add support for s390 (CPAN RT #80633)
|
|
|
178ca6 |
|
|
|
178ca6 |
* Fri Nov 02 2012 Petr Pisar <ppisar@redhat.com> - 0.52-1
|
|
|
178ca6 |
- 0.52 bump
|
|
|
178ca6 |
|
|
|
178ca6 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-10
|
|
|
178ca6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
178ca6 |
|
|
|
178ca6 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.51-9
|
|
|
178ca6 |
- Perl 5.16 rebuild
|
|
|
178ca6 |
|
|
|
178ca6 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-8
|
|
|
178ca6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
178ca6 |
|
|
|
178ca6 |
* Tue Oct 05 2011 Shakthi Kannan <shakthimaan@fedoraproject.org> - 0.51-7
|
|
|
178ca6 |
- Used perl_vendorarch/auto, perl_vendorarch/Sys in files section.
|
|
|
178ca6 |
|
|
|
178ca6 |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.51-6
|
|
|
178ca6 |
- Perl mass rebuild
|
|
|
178ca6 |
|
|
|
178ca6 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-5
|
|
|
178ca6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
178ca6 |
|
|
|
178ca6 |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.51-4
|
|
|
178ca6 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
178ca6 |
|
|
|
178ca6 |
* Sun Jun 27 2010 Ralf Corsépius <corsepiu@fedoraproject.org> 0.51-3
|
|
|
178ca6 |
- Rebuild for perl-5.12.1.
|
|
|
178ca6 |
|
|
|
178ca6 |
* Mon May 03 2010 Shakthi Kannan <shakthimaan [AT] gmail dot com> 0.51-2
|
|
|
178ca6 |
- Updated license to (GPL+ or Artistic) and (LGPLv3 or Artistic 2.0)
|
|
|
178ca6 |
|
|
|
178ca6 |
* Fri Apr 23 2010 Shakthi Kannan <shakthimaan [AT] gmail dot com> 0.51-1
|
|
|
178ca6 |
- Initial Fedora RPM version
|