#2 Add to EPEL7
Closed 5 years ago by andrewponomarenko. Opened 5 years ago by andrewponomarenko.
rpms/ andrewponomarenko/hwinfo epel7  into  epel7

file added
+1
@@ -0,0 +1,1 @@ 

+ /hwinfo-21.47.tar.gz

file removed
-3
@@ -1,3 +0,0 @@ 

- # hwinfo

- 

- The hwinfo package 

\ No newline at end of file

file added
+84
@@ -0,0 +1,84 @@ 

+ %global make_flags \\\

+         LDFLAGS="%{__global_ldflags} -Lsrc" \\\

+         LIBDIR=%{_libdir} \\\

+         HWINFO_VERSION=%{version}

+ 

+ Name:           hwinfo

+ Version:        21.47

+ Release:        5%{?dist}

+ Summary:        Hardware information tool

+ 

+ License:        GPL+

+ URL:            https://github.com/openSUSE/hwinfo

+ Source0:        https://github.com/openSUSE/hwinfo/archive/%{version}/%{name}-%{version}.tar.gz

+ 

+ BuildRequires:  libx86emu-devel

+ BuildRequires:  gcc

+ BuildRequires:  flex

+ BuildRequires:  perl-interpreter

+ 

+ %description

+ hwinfo is to probe for the hardware present in the system. It can be used to

+ generate a system overview log which can be later used for support.

+ 

+ 

+ %package devel

+ Summary:        Development files for hwinfo

+ Requires:       %{name}%{?_isa} = %{version}-%{release}

+ 

+ 

+ %description devel

+ Header files and libraries for developing with libhd library from hwinfo, a

+ hardware information tool.

+ 

+ 

+ %prep

+ %setup -q

+ 

+ 

+ %build

+ # Parallel make disabled due to missing libhd.a dependency

+ make %{make_flags}

+ 

+ 

+ %install

+ %make_install %{make_flags}

+ 

+ 

+ %post -p /sbin/ldconfig

+ %postun -p /sbin/ldconfig

+ 

+ 

+ %files

+ %{_libdir}/libhd.so.*

+ %{_sbindir}/check_hd

+ %{_sbindir}/convert_hd

+ %{_sbindir}/getsysinfo

+ %{_sbindir}/hwinfo

+ %{_sbindir}/mk_isdnhwdb

+ %{_datadir}/hwinfo

+ %doc *.md MAINTAINER

+ %license COPYING

+ 

+ 

+ %files devel

+ %{_includedir}/hd.h

+ %{_libdir}/pkgconfig/hwinfo.pc

+ %{_libdir}/libhd.so

+ 

+ 

+ %changelog

+ * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 21.47-5

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

+ 

+ * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 21.47-4

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

+ 

+ * Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 21.47-3

+ - Properly apply build flags

+ 

+ * Fri Aug 25 2017 Lubomir Rintel <lkundrak@v3.sk> - 21.47-2

+ - Better align with packaging guidelines

+ 

+ * Tue Aug 01 2017 Lubomir Rintel <lkundrak@v3.sk> - 21.47-1

+ - Initial packaging

file added
+1
@@ -0,0 +1,1 @@ 

+ SHA512 (hwinfo-21.47.tar.gz) = 99ce79696d30cd2e276a57b198d07d00aeee6b98543acb22e6092f3ae198f5d5eb1676684345aabe2df8bee10157ab3e2181706f66e785d2f4df2c6be85215c5

We need it in EPEL7 for hw-probe.

Pull-Request has been closed by andrewponomarenko

5 years ago