2024-01-05 23:46:10 +01:00
|
|
|
%define gitver %(echo %version | cut -d. -f1-2)
|
2024-01-05 23:46:09 +01:00
|
|
|
Name: hwinfo
|
2024-01-05 23:46:11 +01:00
|
|
|
Version: 22.3
|
2024-01-05 23:46:11 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 23:46:09 +01:00
|
|
|
Summary: Hardware information tool
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 23:46:10 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/openSUSE/hwinfo
|
2024-01-05 23:46:10 +01:00
|
|
|
Source: https://github.com/openSUSE/hwinfo.git/%{gitver}/hwinfo-%{gitver}.tar.bz2
|
2024-01-05 23:46:09 +01:00
|
|
|
Patch: hwinfo-16.12-tiocgdev_undefined.patch
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 23:46:10 +01:00
|
|
|
BuildRequires: libuuid-devel
|
2024-01-05 23:46:09 +01:00
|
|
|
BuildRequires: libx86emu-devel
|
|
|
|
BuildRequires: perl-XML-Parser
|
|
|
|
BuildRequires: perl-XML-Writer
|
2024-01-05 23:46:10 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-05 23:46:09 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:46:10 +01:00
|
|
|
BuildRequires: libx86emu-devel >= 3.1
|
2024-01-05 23:46:10 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 23:46:09 +01:00
|
|
|
License: GPL
|
|
|
|
|
|
|
|
%description
|
|
|
|
A simple program that lists results from the hardware detection library.
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared library provided with %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains the shared library provided with %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
2024-01-05 23:46:09 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
2024-01-05 23:46:10 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: hwinfo-devel
|
|
|
|
Obsoletes: hwinfo-devel <= 22.1-1mamba
|
2024-01-05 23:46:09 +01:00
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
%description -n lib%{name}-devel
|
2024-01-05 23:46:09 +01:00
|
|
|
A simple program that lists results from the hardware detection library.
|
2024-01-05 23:46:10 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-05 23:46:09 +01:00
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 23:46:09 +01:00
|
|
|
%prep
|
2024-01-05 23:46:10 +01:00
|
|
|
%setup -q -n %{name}-%{gitver}
|
2024-01-05 23:46:09 +01:00
|
|
|
[ -e VERSION ] || echo "%{version}" > VERSION
|
|
|
|
#%patch
|
|
|
|
|
|
|
|
%build
|
2024-01-05 23:46:10 +01:00
|
|
|
%make -j1 \
|
|
|
|
GIT2LOG=/bin/true \
|
|
|
|
LIBDIR=%{_libdir}
|
|
|
|
|
2024-01-05 23:46:09 +01:00
|
|
|
make doc
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 23:46:10 +01:00
|
|
|
%makeinstall \
|
|
|
|
GIT2LOG=/bin/true \
|
|
|
|
LIBDIR=%{_libdir}
|
|
|
|
|
2024-01-05 23:46:09 +01:00
|
|
|
install -D -m 644 doc/hwinfo.8 %{buildroot}%{_mandir}/man8/hwinfo.8
|
|
|
|
install -d %{buildroot}%{_localstatedir}/lib/hardware/udi
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 23:46:09 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/hwinfo
|
|
|
|
%{_sbindir}/mk_isdnhwdb
|
|
|
|
%{_sbindir}/getsysinfo
|
|
|
|
%{_datadir}/hwinfo
|
2024-01-05 23:46:10 +01:00
|
|
|
%{_mandir}/man8/hwinfo.8*
|
2024-01-05 23:46:09 +01:00
|
|
|
%dir %{_localstatedir}/lib/hardware
|
|
|
|
%dir %{_localstatedir}/lib/hardware/udi
|
2024-01-05 23:46:10 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libhd.so.*
|
2024-01-05 23:46:10 +01:00
|
|
|
%doc COPYING
|
2024-01-05 23:46:09 +01:00
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
%files -n lib%{name}-devel
|
2024-01-05 23:46:09 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/check_hd
|
|
|
|
%{_sbindir}/convert_hd
|
|
|
|
%{_includedir}/hd.h
|
|
|
|
%{_libdir}/libhd.so
|
|
|
|
%{_libdir}/pkgconfig/hwinfo.pc
|
2024-01-05 23:46:10 +01:00
|
|
|
#%doc doc/libhd/html README
|
2024-01-05 23:46:09 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:46:11 +01:00
|
|
|
* Tue Jul 04 2023 Automatic Build System <autodist@mambasoft.it> 22.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:11 +01:00
|
|
|
* Tue Jan 10 2023 Automatic Build System <autodist@mambasoft.it> 22.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Tue Aug 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 22.1-2mamba
|
|
|
|
- move shared library into libhwinfo and rename hwinfo-devel to libhwinfo-devel
|
|
|
|
|
|
|
|
* Fri Aug 12 2022 Automatic Build System <autodist@mambasoft.it> 22.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Sat Jun 25 2022 Automatic Build System <autodist@mambasoft.it> 21.82-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Mon Apr 18 2022 Automatic Build System <autodist@mambasoft.it> 21.81-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Mon Dec 20 2021 Automatic Build System <autodist@mambasoft.it> 21.80-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Fri Dec 17 2021 Automatic Build System <autodist@mambasoft.it> 21.79-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Sun Nov 14 2021 Automatic Build System <autodist@mambasoft.it> 21.78-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 21.77-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Thu Jul 29 2021 Automatic Build System <autodist@mambasoft.it> 21.76-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Mon Jul 05 2021 Automatic Build System <autodist@mambasoft.it> 21.75-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Sun May 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 21.74-1mamba
|
|
|
|
- update to 21.74
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Fri Apr 16 2021 Automatic Build System <autodist@mambasoft.it> 21.73-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 21.72-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Wed Dec 02 2020 Automatic Build System <autodist@mambasoft.it> 21.71-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Thu Apr 23 2020 Automatic Build System <autodist@mambasoft.it> 21.70-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Fri Mar 27 2020 Automatic Build System <autodist@mambasoft.it> 21.69-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Wed Jan 22 2020 Automatic Build System <autodist@mambasoft.it> 21.68-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Thu Nov 14 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 21.67-1mamba
|
|
|
|
- update to 21.67
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Fri Mar 15 2019 Automatic Build System <autodist@mambasoft.it> 21.60-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Sun Feb 17 2019 Automatic Build System <autodist@mambasoft.it> 21.59-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Thu Oct 11 2018 Automatic Build System <autodist@mambasoft.it> 21.58-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Mon Jul 30 2018 Automatic Build System <autodist@mambasoft.it> 21.53-1mamba
|
|
|
|
- automatic version update by autodist
|
2024-01-05 23:46:10 +01:00
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Thu Aug 11 2016 Automatic Build System <autodist@mambasoft.it> 21.30-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Tue May 10 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 21.24-1mamba
|
|
|
|
- update to 21.24
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Fri Jun 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 21.14-1mamba
|
|
|
|
- update to 21.14
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Sat Dec 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 21.10.1.1-1mamba
|
|
|
|
- update to 21.10.1.1
|
|
|
|
|
2024-01-05 23:46:10 +01:00
|
|
|
* Tue Aug 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 21.6-1mamba
|
|
|
|
- update to 21.6
|
|
|
|
|
2024-01-05 23:46:09 +01:00
|
|
|
* Tue Apr 30 2013 Automatic Build System <autodist@mambasoft.it> 20.1-1mamba
|
|
|
|
- update to 20.1
|
|
|
|
|
|
|
|
* Tue Dec 11 2012 Automatic Build System <autodist@mambasoft.it> 20.0-1mamba
|
|
|
|
- update to 20.0
|
|
|
|
|
|
|
|
* Wed Feb 17 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 16.12-1mamba
|
|
|
|
- package created by autospec
|