Logoj0ke.net Open Build Service > Projects > home:netmax:tools > lshw > Changes
Sign Up | Log In

Changes of Revision 2

[-] Added lshw.changes
x
 
1
@@ -0,0 +1,10 @@
2
+-------------------------------------------------------------------
3
+Mon Aug 24 14:40:47 UTC 2015 - cs@linux-administrator.com
4
+
5
+- added lshw-fix-segfault_bufferoverflow-in-readlogicalblocks.patch 
6
+
7
+-------------------------------------------------------------------
8
+Fri Aug 29 15:25:58 UTC 2014 - cs@linux-administrator.com
9
+
10
+- update to release B.02.17 
11
+
12
[-] Added lshw.spec ^
201
 
1
@@ -0,0 +1,237 @@
2
+%define    disable_gui 0
3
+%define _default_patch_fuzz 3
4
+%if 0%{?sles_version}
5
+ %if 0%{?sles_version} == 9 || 0%{?sles_version} == 10 
6
+   %define disable_gui 1
7
+ %endif
8
+%endif
9
+%if 0%{?rhel} == 5 || 0%{?centos_version} == 5
10
+   %define disable_gui 1
11
+%endif
12
+%if 0%{?rhel_version}
13
+ %if 0%{?rhel_version} == 500
14
+   %define disable_gui 1
15
+ %endif
16
+ %if 0%{?rhel_version} == 501
17
+        %define disable_gui 1
18
+ %endif
19
+ %if 0%{?rhel_version} == 502
20
+        %define disable_gui 1
21
+ %endif
22
+ %if 0%{?rhel_version} == 503
23
+        %define disable_gui 1
24
+ %endif
25
+ %if 0%{?rhel_version} == 504
26
+        %define disable_gui 1
27
+ %endif
28
+ %if 0%{?rhel_version} == 505
29
+        %define disable_gui 1
30
+ %endif
31
+ %if 0%{?rhel_version} == 506
32
+        %define disable_gui 1
33
+ %endif
34
+ %if 0%{?rhel_version} == 507
35
+        %define disable_gui 1
36
+ %endif
37
+ %if 0%{?rhel_version} == 508
38
+        %define disable_gui 1
39
+ %endif
40
+ %if 0%{?rhel_version} == 509
41
+        %define disable_gui 1
42
+ %endif
43
+ %if 0%{?rhel_version} == 510
44
+        %define disable_gui 1
45
+ %endif
46
+ %if 0%{?rhel_version} == 511
47
+        %define disable_gui 1
48
+ %endif
49
+%endif
50
+%if 0%{?sl_version}
51
+ %if 0%{?sl_version} == 500
52
+   %define disable_gui 1
53
+ %endif
54
+ %if 0%{?sl_version} == 501
55
+        %define disable_gui 1
56
+ %endif
57
+ %if 0%{?sl_version} == 502
58
+        %define disable_gui 1
59
+ %endif
60
+ %if 0%{?sl_version} == 503
61
+        %define disable_gui 1
62
+ %endif
63
+ %if 0%{?sl_version} == 504
64
+        %define disable_gui 1
65
+ %endif
66
+ %if 0%{?sl_version} == 505
67
+        %define disable_gui 1
68
+ %endif
69
+ %if 0%{?sl_version} == 506
70
+        %define disable_gui 1
71
+ %endif
72
+ %if 0%{?sl_version} == 507
73
+        %define disable_gui 1
74
+ %endif
75
+ %if 0%{?sl_version} == 508
76
+        %define disable_gui 1
77
+ %endif
78
+ %if 0%{?sl_version} == 509
79
+        %define disable_gui 1
80
+ %endif
81
+ %if 0%{?sl_version} == 510
82
+        %define disable_gui 1
83
+ %endif
84
+ %if 0%{?sl_version} == 511
85
+        %define disable_gui 1
86
+ %endif
87
+%endif
88
+
89
+Summary: HardWare LiSter
90
+Name:   lshw
91
+Version: B.02.17
92
+Release: 1
93
+Source:     %{name}-%{version}.tar.bz2
94
+Patch0:  lshw-malloc.diff
95
+Patch1:     lshw-fix-segfault_bufferoverflow-in-readlogicalblocks.patch
96
+URL:    http://ezix.org/project/wiki/HardwareLiSter
97
+License: GPL
98
+Group:  Applications/System
99
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
100
+BuildRequires: gtk2-devel gcc-c++ pkgconfig glibc-devel gcc
101
+BuildRequires: sqlite-devel >= 3.0
102
+
103
+%description
104
+lshw (Hardware Lister) is a small tool to provide detailed informaton 
105
+on the hardware configuration of the machine. It can report 
106
+exact memory configuration, firmware version, mainboard configuration, 
107
+CPU version and speed, cache configuration, bus speed, etc. 
108
+On DMI-capable x86 systems and on some PowerPC 
109
+machines (PowerMac G4 is known to work).
110
+
111
+Information can be output in plain text, XML or HTML.
112
+
113
+For detailed information on lshw features and usage, please see the
114
+included documentation or go to the lshw Web page,
115
+http://www.ezix.org/software/lshw.html
116
+
117
+
118
+%if 0%{?disable_gui} == 0
119
+
120
+%package gui
121
+Summary: HardWare LiSter (GUI version)
122
+Group: Applications/System
123
+Requires: %{name}
124
+Requires: gtk2
125
+BuildRequires: gtk2-devel
126
+
127
+%endif
128
+
129
+%if 0%{?disable_gui} == 0
130
+
131
+%description gui
132
+lshw (Hardware Lister) is a small tool to provide detailed informaton on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configura
133
+tion, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 systems and on some PowerPC machines (PowerMac G4 is known to work).
134
+
135
+This package provides a graphical user interface to display hardware information.
136
+
137
+For detailed information on lshw features and usage, please see the
138
+included documentation or go to the lshw Web page,
139
+http://www.ezix.org/software/lshw.html
140
+
141
+%endif
142
+
143
+
144
+%prep
145
+%setup
146
+%patch0
147
+%patch1 -p1
148
+
149
+%build
150
+## % if 0%{?suse_version}
151
+##  % ifarch x86_64
152
+##   % define optflags -O2 -g
153
+##  % else
154
+##   % define optflags -O2 -g
155
+##  % endif
156
+##  % endif
157
+
158
+%{__make}
159
+
160
+%if 0%{?disable_gui} == 0
161
+%{__make} gui
162
+%endif
163
+
164
+%install
165
+make DESTDIR=$RPM_BUILD_ROOT PREFIX=%_prefix SBINDIR=%_sbindir MANDIR=%_mandir install
166
+
167
+%if 0%{?disable_gui} == 0
168
+make DESTDIR=$RPM_BUILD_ROOT PREFIX=%_prefix SBINDIR=%_sbindir MANDIR=%_mandir install-gui
169
+%endif
170
+
171
+%files
172
+%defattr(-,root,root)
173
+%doc COPYING
174
+%defattr(-,root,root)
175
+%attr(555,bin,bin) %{_sbindir}/lshw
176
+%{_mandir}/man?/*
177
+%{_datadir}/lshw/
178
+%config(noreplace) %{_datadir}/lshw/pci.ids
179
+%config(noreplace) %{_datadir}/lshw/manuf.txt
180
+%config(noreplace) %{_datadir}/lshw/oui.txt
181
+%config(noreplace) %{_datadir}/lshw/usb.ids
182
+%{_datadir}/locale/fr/LC_MESSAGES/lshw.mo
183
+
184
+%if 0%{?disable_gui} == 0
185
+%files gui
186
+%defattr(-,root,root)
187
+%doc COPYING
188
+%attr(555,bin,bin) %{_sbindir}/gtk-lshw
189
+%endif
190
+
191
+%clean
192
+rm -rf $RPM_BUILD_ROOT
193
+
194
+%changelog
195
+* Wed Jan 11 2012 Carsten Schoene <cs@linux-administrator.com> - B.02.16-1
196
+- updated to version B.02.16
197
+
198
+* Tue Oct 05 2010 Carsten Schoene <cs@linux-administrator.com> - B.02.15-1
199
+- updated to version B.02.15
200
+
201
[+] Added lshw-fix-segfault_bufferoverflow-in-readlogicalblocks.patch ^
[+] Added lshw-malloc.diff ^
[+] Added lshw-scsi-scan.patch ^
[+] Added lshw_02.16-1.diff.gz ^
Added lshw-B.02.16.tar.bz2 ^
Added lshw-B.02.17.tar.bz2 ^
[+] Added lshw_02.16-1.dsc ^
Added lshw_02.16.orig.tar.gz ^