move shared library into libhwinfo and rename hwinfo-devel to libhwinfo-devel [release 22.1-2mamba;Tue Aug 16 2022]
This commit is contained in:
parent
157dfeaa25
commit
e49ec9dfda
39
hwinfo.spec
39
hwinfo.spec
@ -1,7 +1,7 @@
|
||||
%define gitver %(echo %version | cut -d. -f1-2)
|
||||
Name: hwinfo
|
||||
Version: 21.82
|
||||
Release: 1mamba
|
||||
Version: 22.1
|
||||
Release: 2mamba
|
||||
Summary: Hardware information tool
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
@ -19,17 +19,28 @@ 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.
|
||||
|
||||
@ -59,19 +70,25 @@ install -d %{buildroot}%{_localstatedir}/lib/hardware/udi
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%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 +98,12 @@ install -d %{buildroot}%{_localstatedir}/lib/hardware/udi
|
||||
#%doc doc/libhd/html README
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user