Projects
Eulaceura:Mainline:GA
lshw
_service:obs_scm:lshw.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:lshw.spec of Package lshw
Name: lshw Version: B.02.20 Release: 2 Summary: Hardware lister License: GPL-2.0-only URL: https://ezix.org/project/wiki/HardwareLiSter Source0: https://www.ezix.org/software/files/%{name}-%{version}.tar.gz Patch0: lshw-B.02.18-scandir.patch Patch1: lshw-B.02.20-cmake.patch Patch2: lshw-B.02.19.2-sw.patch BuildRequires: gcc gcc-c++ cmake gettext BuildRequires: desktop-file-utils libappstream-glib ninja-build BuildRequires: python3-devel gtk3-devel Requires: hwdata Provides: %{name}-gui = %{version}-%{release} Obsoletes: %{name}-gui < %{version}-%{release} %description lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC machines (PowerMac G4 is known to work). %package_help %prep %autosetup -p1 -n %{name}-%{version} %build %cmake -DNOLOGO=ON -DHWDATA=OFF -DPOLICYKIT=ON -DBUILD_SHARED_LIBS=OFF -GNinja %cmake_build %install %cmake_install ln -s gtk-lshw %{buildroot}/%{_sbindir}/lshw-gui rm -rf %{buildroot}/%{_datadir}/locale/ %check appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml %{__cmake_builddir}/src/lshw -json -disable usb -disable pcmcia -disable isapnp \ -disable ide -disable scsi -disable dmi -disable memory \ -disable cpuinfo 2>/dev/null | %{__python3} -m json.tool %files %license COPYING %{_bindir}/* %{_sbindir}/* %{_datadir}/lshw %{_datadir}/pixmaps/* %{_datadir}/applications/gtk-lshw.desktop %{_datadir}/appdata/gtk-lshw.appdata.xml %{_datadir}/polkit-1/actions/org.ezix.lshw.gui.policy %files help %doc README.md %{_mandir}/man1/lshw.1* %changelog * Tue Nov 05 2024 Funda Wang <fundawang@yeah.net> - B.02.20-2 - adopt to new cmake macro * Thu Jul 25 2024 dillon chen <dillon.chen@gmail.com> - B.02.20-1 - upgrade version to B.02.20 * Mon Apr 24 2023 guoqinglan <guoqinglan@kylinsec.com.cn> - B.02.19.2-3 - fix build error for sw_64 * Mon Oct 24 2022 wuzx<wuzx1226@qq.com> - B.02.19.2-2 - add sw64 patch * Wed Jan 27 2021 yuanxin <yuanxin24@huawei.com> - B.02.19.2-1 - upgrade version to B.02.19.2 * Fri Feb 14 2020 chengquan <chengquan3@huawei.com> - B.02.18-21 - Rollback some patches for bugfix * Mon Jan 13 2020 chengquan <chengquan3@huawei.com> - B.02.18-20 - remove gui function and unrelated patches * Mon Sep 9 2019 luhuaxin <luhuaxin@huawei.com> - B.02.18-19 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2