diff --git a/lshw.changes b/lshw.changes index a6a8e25..6a193d0 100644 --- a/lshw.changes +++ b/lshw.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jan 11 00:02:17 UTC 2012 - pascal.bleser@opensuse.org + +- update to B.02.16: + * bug fixes + * code cleanup + * improved support for GPT-partitioned disks + * report physical sector size of hard disks + * rewrote GTK2 GUI for increased flexibility (use external UI file) + * updated data files + ------------------------------------------------------------------- Wed Oct 6 08:08:03 UTC 2010 - pascal.bleser@opensuse.org diff --git a/lshw.spec b/lshw.spec index 9e11de0..10a9acf 100644 --- a/lshw.spec +++ b/lshw.spec @@ -1,29 +1,28 @@ -# norootforbuild +# vim: set ts=4 sw=4 et: %if %{?!_without_gui:1}0 %define with_gui 1 %endif -Name: lshw -Version: B.02.15 -Release: 0 -Summary: HardWare LiSter -# http://ezix.org/software/files/lshw-%{version}.tar.gz -Source: lshw-%{version}.tar.bz2 -Source1: %{name}.desktop.in -Source2: %{name}.png -Patch1: lshw-gcc43.patch -URL: http://ezix.org/project/wiki/HardwareLiSter -Group: Hardware/Other -License: GNU General Public License (GPL) -BuildRoot: %{_tmppath}/build-%{name}-%{version} -BuildRequires: make gcc gcc-c++ update-desktop-files -BuildRequires: sqlite3-devel -BuildRequires: libstdc++-devel +Name: lshw +Version: B.02.16 +Release: 0 +Summary: HardWare LiSter +Source: http://ezix.org/software/files/lshw-%{version}.tar.gz +Source1: %{name}.desktop.in +Source2: %{name}.png +Patch1: lshw-gcc43.patch +URL: http://ezix.org/project/wiki/HardwareLiSter +Group: Hardware/Other +License: GNU General Public License (GPL) +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: make gcc gcc-c++ update-desktop-files +BuildRequires: sqlite3-devel +BuildRequires: libstdc++-devel %if %{?with_gui:1}0 -BuildRequires: gtk2-devel >= 2.4.0 -BuildRequires: libglade2-devel -BuildRequires: libpng-devel pango-devel zlib-devel +BuildRequires: gtk2-devel >= 2.4.0 +BuildRequires: libglade2-devel +BuildRequires: libpng-devel pango-devel zlib-devel %endif %description @@ -41,9 +40,9 @@ http://www.ezix.org/software/lshw.html %if %{?with_gui:1}0 %package gui -Summary: HardWare LiSter (GUI Frontend) -Group: Hardware/Other -Requires: %{name} = %{version}-%{release} +Summary: HardWare LiSter (GUI Frontend) +Group: Hardware/Other +Requires: %{name} = %{version}-%{release} %description gui lshw (Hardware Lister) is a small tool to provide detailed informaton on the @@ -66,58 +65,58 @@ http://www.ezix.org/software/lshw.html %patch1 %build -%__make %{?jobs:-j%{jobs}} \ - PREFIX="%{_prefix}" \ - SBINDIR="%{_sbindir}" \ - MANDIR="%{_mandir}" \ - DATADIR="%{_datadir}" \ - CXX="%__cxx" \ - CC="%__cc" \ - RPM_OPT_FLAGS="%{optflags}" \ - STRIP=touch \ - all +%__make %{?_smp_flags} \ + PREFIX="%{_prefix}" \ + SBINDIR="%{_sbindir}" \ + MANDIR="%{_mandir}" \ + DATADIR="%{_datadir}" \ + CXX="%__cxx" \ + CC="%__cc" \ + RPM_OPT_FLAGS="%{optflags}" \ + STRIP=touch \ + all %if %{?with_gui:1}0 -%__make %{?jobs:-j%{jobs}} \ - PREFIX="%{_prefix}" \ - SBINDIR="%{_sbindir}" \ - MANDIR="%{_mandir}" \ - DATADIR="%{_datadir}" \ - CXX="%__cxx" \ - CC="%__cc" \ - RPM_OPT_FLAGS="%{optflags}" \ - STRIP=touch \ - gui +%__make %{?_smp_flags} \ + PREFIX="%{_prefix}" \ + SBINDIR="%{_sbindir}" \ + MANDIR="%{_mandir}" \ + DATADIR="%{_datadir}" \ + CXX="%__cxx" \ + CC="%__cc" \ + RPM_OPT_FLAGS="%{optflags}" \ + STRIP=touch \ + gui %endif %install -%__make %{?jobs:-j%{jobs}} \ - DESTDIR="%{buildroot}" \ - PREFIX="%{_prefix}" \ - SBINDIR="%{_sbindir}" \ - MANDIR="%{_mandir}" \ - DATADIR="%{_datadir}" \ - CXX="%__cxx" \ - CC="%__cc" \ - OPTFLAGS="%{optflags}" \ - install +%__make %{?_smp_flags} \ + DESTDIR="%{buildroot}" \ + PREFIX="%{_prefix}" \ + SBINDIR="%{_sbindir}" \ + MANDIR="%{_mandir}" \ + DATADIR="%{_datadir}" \ + CXX="%__cxx" \ + CC="%__cc" \ + OPTFLAGS="%{optflags}" \ + install %if %{?with_gui:1}0 -%__make %{?jobs:-j%{jobs}} \ - DESTDIR="%{buildroot}" \ - PREFIX="%{_prefix}" \ - SBINDIR="%{_sbindir}" \ - MANDIR="%{_mandir}" \ - DATADIR="%{_datadir}" \ - CXX="%__cxx" \ - CC="%__cc" \ - OPTFLAGS="%{optflags}" \ - install-gui +%__make %{?_smp_flags} \ + DESTDIR="%{buildroot}" \ + PREFIX="%{_prefix}" \ + SBINDIR="%{_sbindir}" \ + MANDIR="%{_mandir}" \ + DATADIR="%{_datadir}" \ + CXX="%__cxx" \ + CC="%__cc" \ + OPTFLAGS="%{optflags}" \ + install-gui %endif %__install -d "%{buildroot}%{_datadir}/applications" %__sed 's,@@EXEC@@,%{_sbindir}/gtk-lshw,g' < "%{SOURCE1}" \ - > "%{buildroot}%{_datadir}/applications/%{name}.desktop" + > "%{buildroot}%{_datadir}/applications/%{name}.desktop" %__chmod 0644 "%{buildroot}%{_datadir}/applications/%{name}.desktop" %__install -D -m 0644 "%{SOURCE2}" "%{buildroot}%{_datadir}/pixmaps/%{name}.png" @@ -126,7 +125,7 @@ http://www.ezix.org/software/lshw.html %find_lang lshw %clean -%__rm -rf "%{buildroot}" +%{?buildroot:%__rm -rf "%{buildroot}"} %files -f lshw.lang %defattr(-,root,root,0755) @@ -143,9 +142,9 @@ http://www.ezix.org/software/lshw.html %doc COPYING %attr(0755,root,root) %{_sbindir}/gtk-lshw %{_datadir}/lshw/artwork +%{_datadir}/lshw/ui %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %endif %changelog -# vim: set sw=4 ts=4 et: