Compare commits

...

9 Commits

View File

@ -1,6 +1,6 @@
%define gitver %(echo %version | cut -d. -f1-2)
Name: hwinfo
Version: 21.81
Version: 23.5
Release: 1mamba
Summary: Hardware information tool
Group: System/Kernel and Hardware
@ -19,26 +19,35 @@ BuildRequires: perl-XML-Writer
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: libx86emu-devel >= 3.1
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
License: GPL
%description
A simple program that lists results from the hardware detection library.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
%package -n lib%{name}
Group: System/Libraries
Summary: Shared library provided with %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
%description -n lib%{name}
This package contains the shared library provided with %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: hwinfo-devel
Obsoletes: hwinfo-devel <= 22.1-1mamba
%description -n lib%{name}-devel
A simple program that lists results from the hardware detection library.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n %{name}-%{gitver}
[ -e VERSION ] || echo "%{version}" > VERSION
#%patch
%build
%make -j1 \
@ -59,19 +68,23 @@ install -d %{buildroot}%{_localstatedir}/lib/hardware/udi
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sbindir}/hwinfo
%{_sbindir}/mk_isdnhwdb
%{_sbindir}/getsysinfo
%{_libdir}/libhd.so.*
%{_datadir}/hwinfo
%{_mandir}/man8/hwinfo.8*
%dir %{_localstatedir}/lib/hardware
%dir %{_localstatedir}/lib/hardware/udi
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libhd.so.*
%doc COPYING
%files devel
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_sbindir}/check_hd
%{_sbindir}/convert_hd
@ -81,6 +94,36 @@ install -d %{buildroot}%{_localstatedir}/lib/hardware/udi
#%doc doc/libhd/html README
%changelog
* Fri Apr 11 2025 Automatic Build System <autodist@openmamba.org> 23.5-1mamba
- automatic version update by autodist
* Sat Mar 22 2025 Automatic Build System <autodist@openmamba.org> 23.4-1mamba
- automatic version update by autodist
* Wed Oct 23 2024 Automatic Build System <autodist@openmamba.org> 23.3-1mamba
- automatic version update by autodist
* Sat Jul 22 2023 Automatic Build System <autodist@mambasoft.it> 23.2-1mamba
- automatic version update by autodist
* Fri Jul 07 2023 Automatic Build System <autodist@mambasoft.it> 23.1-1mamba
- automatic version update by autodist
* Tue Jul 04 2023 Automatic Build System <autodist@mambasoft.it> 22.3-1mamba
- automatic version update by autodist
* Tue Jan 10 2023 Automatic Build System <autodist@mambasoft.it> 22.2-1mamba
- automatic version update by autodist
* 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
* Sat Jun 25 2022 Automatic Build System <autodist@mambasoft.it> 21.82-1mamba
- automatic version update by autodist
* Mon Apr 18 2022 Automatic Build System <autodist@mambasoft.it> 21.81-1mamba
- automatic version update by autodist