mirror of
https://abf.rosa.ru/djam/cpu-x.git
synced 2025-02-23 16:52:56 +00:00
Imported from SRPM
This commit is contained in:
commit
991a0dbce6
3 changed files with 60 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
cpu-x-4.0.1.tar.gz: 874c8f0c27112658adadf78e6a8665b7590b81b8
|
4
cpu-x.rpmlintrc
Normal file
4
cpu-x.rpmlintrc
Normal file
|
@ -0,0 +1,4 @@
|
|||
addFilter("W: non-standard-dir-in-usr libexec")
|
||||
addFilter("E: invalid-lc-messages-dir")
|
||||
addFilter("E: incorrect-locale-subdir")
|
||||
|
54
cpu-x.spec
Normal file
54
cpu-x.spec
Normal file
|
@ -0,0 +1,54 @@
|
|||
%define oname CPU-X
|
||||
|
||||
Name: cpu-x
|
||||
Version: 4.0.1
|
||||
Release: 1
|
||||
Summary: Hardware information
|
||||
URL: https://x0rg.github.io/CPU-X
|
||||
Source0: https://github.com/X0rg/CPU-X/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Source1000: %{name}.rpmlintrc
|
||||
License: GPLv3
|
||||
Group: Development/Other
|
||||
BuildRequires: cmake
|
||||
BuildRequires: clang
|
||||
BuildRequires: nasm
|
||||
BuildRequires: pkgconfig(ncursesw)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libcpuid)
|
||||
BuildRequires: pciutils
|
||||
BuildRequires: procps-ng
|
||||
|
||||
%description
|
||||
CPU-X is a Free software that gathers information on CPU,
|
||||
motherboard and more.
|
||||
CPU-X is similar to CPU-Z (Windows), but CPU-X is a Free
|
||||
and Open Source software designed for GNU/Linux and FreeBSD.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -qn %{oname}-%{version}
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%make
|
||||
|
||||
%install
|
||||
%makeinstall_std -C build
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc README.md COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{_libexecdir}/%{name}-daemon
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
%{_datadir}/%{name}/*
|
||||
%{_datadir}/fish/vendor_completions.d/cpu-x.fish
|
||||
%{_datadir}/glib-2.0/schemas/org.cpu-x.gschema.xml
|
||||
%{_datadir}/metainfo/org.cpu-x.appdata.xml
|
||||
%{_datadir}/zsh/site-functions/_cpu-x
|
||||
%{_datadir}/polkit-1/actions/org.cpu-x-daemon.policy
|
||||
#{_datadir}/locale/*
|
||||
%{_iconsdir}/hicolor/*/apps/*.png
|
||||
|
Loading…
Add table
Reference in a new issue