rebuilt with debug package [release 0.19-2mamba;Thu Dec 17 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:48:53 +01:00
parent f18173b158
commit 97dc890049
2 changed files with 26 additions and 10 deletions

View File

@ -1,5 +1,4 @@
# libatasmart
A small and lightweight parser library for ATA S.M.A.R.T. hard disk
health monitoring.
A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring.

View File

@ -1,6 +1,6 @@
Name: libatasmart
Version: 0.19
Release: 1mamba
Release: 2mamba
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library
Group: System/Libraries
Vendor: openmamba
@ -16,13 +16,13 @@ Patch0: libatasmart-uninitialized-var.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: udev-devel
BuildRequires: ldconfig
BuildRequires: libudev-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A small and lightweight parser library for ATA S.M.A.R.T. hard disk
health monitoring.
A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring.
%package devel
Group: Development/Libraries
@ -32,9 +32,17 @@ Requires: vala
%description devel
ATA S.M.A.R.T. Disk Health Monitoring Library.
This package contains libraries and header files need for development.
%package tools
Group: System/Tools
Summary: Tools provided with %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
ATA S.M.A.R.T. Disk Health Monitoring Library.
This package contains the tools provided with %{name}.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
@ -42,12 +50,15 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
ATA S.M.A.R.T. Disk Health Monitoring Library.
This package contains static libraries needed for development.
This package contains static libraries need for development.
%debug_package
%prep
%setup -q
%define _default_patch_fuzz 2
%patch0 -p1 -b .uninitialized-var.patch
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," build-aux/config.sub
%build
%configure
@ -66,8 +77,6 @@ rm -rf %{buildroot}%{_docdir}/libatasmart/README
%files
%defattr(-,root,root)
%{_sbindir}/skdump
%{_sbindir}/sktest
%{_libdir}/libatasmart.so.*
%doc LGPL README
@ -86,11 +95,19 @@ rm -rf %{buildroot}%{_docdir}/libatasmart/README
%doc blob-examples/TOSHIBA*
%doc blob-examples/WDC*
%files tools
%defattr(-,root,root)
%{_sbindir}/skdump
%{_sbindir}/sktest
%files static
%defattr(-,root,root)
%{_libdir}/libatasmart.*a
%changelog
* Thu Dec 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19-2mamba
- rebuilt with debug package
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 0.19-1mamba
- update to 0.19