diff --git a/.cpuid.metadata b/.cpuid.metadata new file mode 100644 index 0000000..ba61de5 --- /dev/null +++ b/.cpuid.metadata @@ -0,0 +1 @@ +821a43a2e7f6376c1f8e3f1886e53c8d7f8d4079 SOURCES/cpuid-20151017.src.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8068f46 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cpuid-20151017.src.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +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/SOURCES/disclaimer.patch b/SOURCES/disclaimer.patch new file mode 100644 index 0000000..7d7f0b6 --- /dev/null +++ b/SOURCES/disclaimer.patch @@ -0,0 +1,13 @@ +diff -crB cpuid-20151017-orig/cpuid.c cpuid-20151017-new/cpuid.c +*** cpuid-20151017-orig/cpuid.c 2015-10-17 21:59:03.000000000 +0200 +--- cpuid-20151017-new/cpuid.c 2016-06-01 18:31:23.531378179 +0200 +*************** +*** 6926,6931 **** +--- 6926,6932 ---- + if (opt_version) { + printf("cpuid version %s\n", XSTR(VERSION)); + } else { ++ fprintf(stderr, "Disclaimer: %s may not support decoding of all cpuid registers.\n", program); + if (opt_filename != NULL) { + do_file(opt_filename, opt_raw, opt_debug); + } else { diff --git a/SPECS/cpuid.spec b/SPECS/cpuid.spec new file mode 100644 index 0000000..0acf130 --- /dev/null +++ b/SPECS/cpuid.spec @@ -0,0 +1,119 @@ +Name: cpuid +Version: 20151017 +Release: 4%{?dist} +Summary: Dumps information about the CPU(s) + +License: GPLv2+ +URL: http://www.etallen.com/cpuid.html +Source0: http://www.etallen.com/%{name}/%{name}-%{version}.src.tar.gz +# Specific to RHEL +Patch1: disclaimer.patch + +ExclusiveArch: %{ix86} x86_64 + +%description +cpuid dumps detailed information about x86 CPU(s) gathered from the CPUID +instruction, and also determines the exact model of CPU(s). It supports Intel, +AMD, and VIA CPUs, as well as older Transmeta, Cyrix, UMC, NexGen, and Rise +CPUs. + +%prep +%setup -q +%patch1 -p1 + +%build +make %{?_smp_mflags} CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -DVERSION=%{version}" + +%install +install -Dp -m 0755 %{name} %{buildroot}%{_bindir}/%{name} +install -Dp -m 0644 %{name}.man.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz + +%files +%doc ChangeLog FUTURE +%license LICENSE +%{_mandir}/man1/%{name}.1* +%{_bindir}/%{name} + +%changelog +* Wed Jun 22 2016 Jirka Hladky - 20151017-4 +- Fixed license field + +* Wed Jun 01 2016 Jirka Hladky - 20151017-3 +- Rebuilt for RHEL7 (rhbz#1307043) + +* Wed Feb 03 2016 Fedora Release Engineering - 20151017-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Nov 15 2015 Fabian Affolter - 20151017-1 +- Update to new upstream version 20151017 (rhbz#1272715) + +* Fri Jun 26 2015 Fabian Affolter - 20150606-1 +- Update to new upstream version 20150606 + +* Wed Jun 17 2015 Fedora Release Engineering - 20140123-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Aug 16 2014 Fedora Release Engineering - 20140123-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 20140123-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Jan 25 2014 Fabian Affolter - 20140123-1 +- Update to new upstream version 20130123 + +* Tue Jan 14 2014 Fabian Affolter - 20140114-1 +- Update to new upstream version 20130114 + +* Sat Aug 03 2013 Fedora Release Engineering - 20130610-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jun 15 2013 Fabian Affolter - 20130610-1 +- Update to new upstream version 20130610 + +* Wed Feb 13 2013 Fedora Release Engineering - 20120601-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 20120601-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Jul 15 2012 Fabian Affolter - 20120601-1 +- Update to new upstream version 20120601 + +* Sun Feb 26 2012 Fabian Affolter - 20120225-1 +- Update to new upstream version 20120225 + +* Thu Jan 12 2012 Fedora Release Engineering - 20110305-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Mar 06 2011 Fabian Affolter - 20110305-1 +- Update to new upstream version 20110305 + +* Tue Feb 08 2011 Fedora Release Engineering - 20101002-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Nov 06 2010 Fabian Affolter - 20101010-1 +- Update to new upstream version 20101002 + +* Thu Sep 02 2010 Fabian Affolter - 20100901-1 +- Update to new upstream version 20100901 + +* Fri Jul 24 2009 Fedora Release Engineering - 20060917-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 20060917-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Nov 09 2008 Fabian Affolter - 20060917-4 +- Change %%build section acc. #469590 comment #5 + +* Sat Nov 08 2008 Fabian Affolter - 20060917-3 +- Change %%build section and License acc. #469590 comment #3 +- Fix %%doc in changelog + +* Tue Nov 04 2008 Fabian Affolter - 20060917-2 +- Switch to ExclusiveArch +- Remove %%doc from man page and general changes to the man page installation + +* Sun Nov 02 2008 Fabian Affolter - 20060917-1 +- Initial package for Fedora