2024-01-05 17:52:45 +01:00
|
|
|
Name: smartmontools
|
2024-01-05 17:52:46 +01:00
|
|
|
Version: 7.4
|
2024-01-05 17:52:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Utility programs to control and monitor storage systems using the Self-Monitoring
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:52:46 +01:00
|
|
|
URL: https://www.smartmontools.org/
|
2024-01-05 17:52:45 +01:00
|
|
|
Source: http://downloads.sourceforge.net/project/smartmontools/smartmontools/%{version}/smartmontools-%{version}.tar.gz
|
|
|
|
Patch0: %{name}-5.42.1-init-openmamba.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 17:52:46 +01:00
|
|
|
BuildRequires: libcap-ng-devel
|
2024-01-05 17:52:45 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 17:52:46 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-05 17:52:45 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI harddisks.
|
|
|
|
In many cases, these utilities will provide advanced warning of disk degradation and failure.
|
|
|
|
Smartmontools supports ATA/ATAPI/SATA-3 to -8 disks and SCSI disks and tape devices.
|
|
|
|
|
2024-01-05 17:52:46 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 17:52:46 +01:00
|
|
|
%patch 0 -p 1
|
2024-01-05 17:52:45 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 17:52:46 +01:00
|
|
|
%post
|
|
|
|
%systemd_post smartd
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun smartd
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart smartd
|
|
|
|
:
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/smartd_warning.sh
|
|
|
|
%{_sysconfdir}/smartd.conf
|
|
|
|
%{_sbindir}/smartctl
|
|
|
|
%{_sbindir}/smartd
|
|
|
|
%{_sbindir}/update-smart-drivedb
|
2024-01-05 17:52:46 +01:00
|
|
|
%{_unitdir}/smartd.service
|
2024-01-05 17:52:45 +01:00
|
|
|
%{_datadir}/smartmontools/drivedb.h
|
|
|
|
%{_docdir}/smartmontools/*
|
2024-01-05 17:52:45 +01:00
|
|
|
%{_mandir}/man5/smartd.conf.5*
|
|
|
|
%{_mandir}/man8/smartctl.8*
|
|
|
|
%{_mandir}/man8/smartd.8*
|
|
|
|
%{_mandir}/man8/update-smart-drivedb.8*
|
2024-01-05 17:52:45 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#NEWS README TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:52:46 +01:00
|
|
|
* Wed Aug 02 2023 Automatic Build System <autodist@mambasoft.it> 7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 13 2022 Automatic Build System <autodist@mambasoft.it> 7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
* Sat Jan 02 2021 Automatic Build System <autodist@mambasoft.it> 7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
* Thu Jan 02 2020 Automatic Build System <autodist@mambasoft.it> 7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
* Fri Jan 04 2019 Automatic Build System <autodist@mambasoft.it> 7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
* Wed Nov 08 2017 Automatic Build System <autodist@mambasoft.it> 6.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
* Fri May 20 2016 Automatic Build System <autodist@mambasoft.it> 6.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
* Sun Jun 07 2015 Automatic Build System <autodist@mambasoft.it> 6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
* Mon Aug 18 2014 Automatic Build System <autodist@mambasoft.it> 6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:45 +01:00
|
|
|
* Sat Jul 27 2013 Automatic Build System <autodist@mambasoft.it> 6.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Mar 21 2013 Automatic Build System <autodist@mambasoft.it> 6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 27 2012 Automatic Build System <autodist@mambasoft.it> 6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 02 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 5.42-1mamba
|
|
|
|
- update to 5.42
|
|
|
|
|
|
|
|
* Tue Apr 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 5.40-1mamba
|
|
|
|
- update to 5.40
|
|
|
|
|
|
|
|
* Sun Feb 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 5.39.1-1mamba
|
|
|
|
- update to 5.39.1
|
|
|
|
|
|
|
|
* Tue Dec 15 2009 Automatic Build System <autodist@mambasoft.it> 5.39-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 12 2008 gil <puntogil@libero.it> 5.38-1mamba
|
|
|
|
- update to 5.38
|
|
|
|
|
|
|
|
* Sat Aug 19 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 5.36-1qilnx
|
|
|
|
- package created by autospec
|