"Fossies" - the Fresh Open Source Software Archive

Member "cpuid-20201006/cpuid.spec" (6 Oct 2020, 940 Bytes) of package /linux/misc/cpuid-20201006.src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "cpuid.spec": 20200427_vs_20201006.

    1 %define version 20201006
    2 %define release 1
    3 Summary: dumps CPUID information about the CPU(s)
    4 Name: cpuid
    5 Version: %{version}
    6 Release: %{release}
    7 License: GPL
    8 Group: System Environment/Base
    9 Source: cpuid-%{version}.src.tar.gz
   10 Packager: Todd Allen <cpuid@etallen.com>
   11 URL: http://www.etallen.com/cpuid.html
   12 BuildRoot: %{getenv:HOME}/rpmbuild/BUILDROOT/%{name}-%{version}-%{release}.%{_arch}
   13 %description
   14 cpuid dumps detailed information about the CPU(s) gathered from the CPUID 
   15 instruction, and also determines the exact model of CPU(s).
   16 
   17 %prep
   18 %setup
   19 
   20 %build
   21 %{__make} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
   22 
   23 %install
   24 %{__make} install BUILDROOT=${RPM_BUILD_ROOT} INSTALL_STRIP=
   25 
   26 %clean
   27 %{__rm} -rf $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
   28 
   29 %files
   30 %defattr(-,root,root)
   31 %{_bindir}/cpuid
   32 %{_mandir}/man1/cpuid.1.gz
   33 %{_bindir}/cpuinfo2cpuid
   34 %{_mandir}/man1/cpuinfo2cpuid.1.gz
   35 %doc ChangeLog FUTURE FAMILY.NOTES
   36 %license LICENSE