automatic update by autodist [release B.02.17-1mamba;Tue Aug 06 2013]
This commit is contained in:
parent
d7c0367e9b
commit
1ebfb65058
@ -1,2 +1,7 @@
|
||||
# lshw
|
||||
|
||||
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).
|
||||
|
||||
Information can be output in plain text, XML or HTML.
|
||||
|
||||
|
11
lshw-B.02.13-gcc43.patch
Normal file
11
lshw-B.02.13-gcc43.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -Nru lshw-B.02.13.orig/src/core/abi.cc lshw-B.02.13/src/core/abi.cc
|
||||
--- lshw-B.02.13.orig/src/core/abi.cc 2008-05-09 22:32:50.000000000 +0200
|
||||
+++ lshw-B.02.13/src/core/abi.cc 2008-12-08 19:05:27.000000000 +0100
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "osutils.h"
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
__ID("@(#) $Id: mem.cc 1352 2006-05-27 23:54:13Z ezix $");
|
||||
|
14
lshw-desktop
Normal file
14
lshw-desktop
Normal file
@ -0,0 +1,14 @@
|
||||
[Desktop Entry]
|
||||
Name=Hardware Lister
|
||||
GenericName=Browse hardware on host computer
|
||||
GenericName[it]=Elenca l'hardware del computer
|
||||
Encoding=UTF-8
|
||||
MultipleArgs=false
|
||||
Terminal=false
|
||||
Icon=lshw
|
||||
Exec=gtk-lshw
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
Categories=System;
|
||||
X-KDE-SubstituteUID=true
|
||||
X-KDE-Username=root
|
98
lshw.spec
Normal file
98
lshw.spec
Normal file
@ -0,0 +1,98 @@
|
||||
Name: lshw
|
||||
Version: B.02.17
|
||||
Release: 1mamba
|
||||
Summary: Hardware Lister
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||
URL: http://ezix.org/project/wiki/HardwareLiSter
|
||||
Source: http://ezix.org/software/files/lshw-%{version}.tar.gz
|
||||
Source1: %{name}-icon
|
||||
Source2: %{name}-desktop
|
||||
Patch0: %{name}-B.02.13-gcc43.patch
|
||||
License: GPL
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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).
|
||||
|
||||
Information can be output in plain text, XML or HTML.
|
||||
|
||||
%package gui
|
||||
Summary: Hardware Lister GUI
|
||||
Group: Graphical Desktop/Applications/Administration
|
||||
BuildRequires: libgtk-devel
|
||||
Requires: %{name} >= %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: libgtk
|
||||
|
||||
%description gui
|
||||
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).
|
||||
|
||||
This package provides a graphical user interface to display hardware information.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%make gui
|
||||
%make -C src nologo
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall install-gui
|
||||
|
||||
# install icon
|
||||
install -D -m 0644 %{S:1} \
|
||||
%{buildroot}%{_datadir}/icons/crystalsvg/64x64/apps/%{name}.png
|
||||
|
||||
# install desktop file
|
||||
install -D -m 0644 %{S:2} \
|
||||
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/%{name}
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/*.txt
|
||||
%{_datadir}/%{name}/*.ids
|
||||
%{_mandir}/man1/*
|
||||
%doc COPYING
|
||||
# README docs/TODO docs/Changelog docs/lshw.xsd
|
||||
|
||||
%files gui
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/gtk-%{name}
|
||||
%{_datadir}/%{name}/artwork
|
||||
%dir %{_datadir}/%{name}/ui/
|
||||
%{_datadir}/%{name}/ui/gtk-lshw.ui
|
||||
%{_datadir}/icons/crystalsvg/*/apps/%{name}.png
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%changelog
|
||||
* Tue Aug 06 2013 Automatic Build System <autodist@mambasoft.it> B.02.17-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Jan 25 2012 Automatic Build System <autodist@mambasoft.it> B.02.16-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Oct 25 2010 Automatic Build System <autodist@mambasoft.it> B.02.15-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Feb 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> B.02.14-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Dec 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> B.02.13-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Nov 18 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> B.02.12.01-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user