Package perl-Sys-CPU: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | Group: Development/Perl # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl-podlators # END SourceDeps(oneline) BuildRequires: /proc # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: perl-Sys-CPU Version: 0.61 Release: alt6_20 Summary: Getting CPU information # 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 <https://bugzilla.redhat.com/show_bug.cgi?id=585336>;. License: (GPL+ or Artistic) and (LGPLv3 or Artistic 2.0) URL: https://metacpan.org/release/Sys-CPU Source0: https://cpan.metacpan.org/authors/id/M/MZ/MZSANFORD/Sys-CPU-%{version}.tar.gz # Support cpu_type on ARM and AArch64, bug #1093266, CPAN RT#95400 Patch0: Sys-CPU-0.61-Add-support-for-cpu_type-on-ARM-and-AArch64-Linux-pl.patch # Accept undefined cpu_clock on ARM and AArch64, bug #1093266, CPAN RT#95400 Patch1: Sys-CPU-0.61-cpu_clock-can-be-undefined-on-an-ARM.patch BuildRequires: findutils BuildRequires: gcc BuildRequires: sed BuildRequires: perl-devel BuildRequires: rpm-build-perl BuildRequires: perl(Config.pm) BuildRequires: perl(ExtUtils/MakeMaker.pm) # Run-time: BuildRequires: perl(DynaLoader.pm) BuildRequires: perl(Exporter.pm) Source44: import.info %description Perl extension for getting CPU information. Currently only number of CPU's supported. %prep %setup -q -n Sys-CPU-%{version} %patch0 -p1 %patch1 -p1 sed -i 's/\r//' Changes README %build /usr/bin/perl Makefile.PL INSTALLDIRS=vendor %make_build %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_vendor_archlib}/auto/* %{perl_vendor_archlib}/Sys/* %changelog * Wed Nov 20 2019 Igor Vlasenko <viy@altlinux.ru> 0.61-alt6_20 - update to new release by fcimport * Thu Jan 24 2019 Igor Vlasenko <viy@altlinux.ru> 0.61-alt6_16 - rebuild with new perl 5.28.1 * Sat Jul 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.61-alt5_16 - update to new release by fcimport * Mon May 07 2018 Igor Vlasenko <viy@altlinux.ru> 0.61-alt5_15 - update to new release by fcimport * Fri Dec 15 2017 Igor Vlasenko <viy@altlinux.ru> 0.61-alt5_13.1 - rebuild with new perl 5.26.1 * Sun Oct 29 2017 Igor Vlasenko <viy@altlinux.ru> 0.61-alt5_13 - to Sisyphus by requst of lex.shen@yandex (closes: #34088) * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 0.61-alt4_13 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.61-alt4_11 - update to new release by fcimport * Wed Mar 15 2017 Igor Vlasenko <viy@altlinux.ru> 0.61-alt4_10 - update to new release by fcimport * Sun Feb 12 2017 Cronbuild Service <cronbuild@altlinux.org> 0.61-alt4_9 - rebuild to get rid of unmets * Mon Dec 19 2016 Igor Vlasenko <viy@altlinux.ru> 0.61-alt3_9 - update to new release by fcimport * Fri Nov 27 2015 Cronbuild Service <cronbuild@altlinux.org> 0.61-alt3_7 - rebuild to get rid of unmets * Mon Sep 21 2015 Igor Vlasenko <viy@altlinux.ru> 0.61-alt2_7 - update to new release by fcimport * Sat Dec 13 2014 Cronbuild Service <cronbuild@altlinux.org> 0.61-alt2_5 - rebuild to get rid of unmets * Tue Sep 16 2014 Igor Vlasenko <viy@altlinux.ru> 0.61-alt1_5 - update to new release by fcimport * Wed Sep 10 2014 Igor Vlasenko <viy@altlinux.ru> 0.61-alt1_4 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.61-alt1_2 - update to new release by fcimport * Tue Mar 04 2014 Igor Vlasenko <viy@altlinux.ru> 0.61-alt1_1 - update to new release by fcimport * Thu Sep 05 2013 Cronbuild Service <cronbuild@altlinux.org> 0.54-alt2_5 - rebuild to get rid of unmets * Mon Sep 02 2013 Igor Vlasenko <viy@altlinux.ru> 0.54-alt1_5 - update to new release by fcimport * Mon Aug 05 2013 Igor Vlasenko <viy@altlinux.ru> 0.54-alt1_4 - update to new release by fcimport * Sat May 04 2013 Igor Vlasenko <viy@altlinux.ru> 0.54-alt1_3 - update to new release by fcimport * Mon Mar 04 2013 Igor Vlasenko <viy@altlinux.ru> 0.54-alt1_2 - update to new release by fcimport * Thu Dec 13 2012 Igor Vlasenko <viy@altlinux.ru> 0.54-alt1_1 - new fc rel * Mon Sep 10 2012 Cronbuild Service <cronbuild@altlinux.org> 0.51-alt2_10 - rebuild with new perl * Tue Jul 31 2012 Igor Vlasenko <viy@altlinux.ru> 0.51-alt1_10 - update to new release by fcimport * Wed May 23 2012 Igor Vlasenko <viy@altlinux.ru> 0.51-alt1_8 - fc import |