+++ /dev/null
---- hwinfo-13.11/src/hd/Makefile.orig 2005-07-06 12:50:26.000000000 +0200
-+++ hwinfo-13.11/src/hd/Makefile 2007-05-23 22:01:21.136191593 +0200
-@@ -4,7 +4,7 @@
-
- include $(TOPDIR)/Makefile.common
-
--CFLAGS += -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include
-+CFLAGS += `pkg-config --cflags dbus-1`
-
- version.h: $(TOPDIR)/VERSION
- @echo "#define HD_VERSION_STRING \"`cat $(TOPDIR)/VERSION`\"" >$@
Summary: hwinfo - the hardware detection tool used in SuSE Linux
Summary(pl.UTF-8): hwinfo - narzędzie do wykrywania sprzętu używane w SuSE Linuksie
Name: hwinfo
-Version: 21.12
-Release: 2
+Version: 21.72
+Release: 1
License: GPL v2
Group: Applications/System
-Source0: http://ftp.debian.org/debian/pool/main/h/hwinfo/%{name}_%{version}.orig.tar.gz
-# Source0-md5: 3a97acf3e32e43dfea13b90da1a8403a
+Source0: https://ftp.debian.org/debian/pool/main/h/hwinfo/%{name}_%{version}.orig.tar.gz
+# Source0-md5: d33995be010185840f99c4eff4f699f0
Patch0: %{name}-kbd.patch
-Patch1: %{name}-headers.patch
URL: http://packages.qa.debian.org/h/hwinfo.html
-BuildRequires: dbus-devel >= 0.35
BuildRequires: flex
%{?with_hal:BuildRequires: hal-devel}
%ifarch %{ix86} %{x8664} x32
%prep
%setup -q
%patch0 -p0
-%patch1 -p1
# these should be in tarball, but aren't (21.6)
test -e VERSION || echo %{version} > VERSION
%files
%defattr(644,root,root,755)
-%doc MAINTAINER README changelog
+%doc MAINTAINER README.md changelog
%attr(755,root,root) %{_sbindir}/check_hd
%attr(755,root,root) %{_sbindir}/convert_hd
%attr(755,root,root) %{_sbindir}/getsysinfo