diff --git a/README.md b/README.md index 9b04fc2..97ac596 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,5 @@ 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. diff --git a/smartmontools.spec b/smartmontools.spec index ad2c878..b8d48d9 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -1,31 +1,33 @@ Name: smartmontools -Version: 7.2 +Version: 7.4 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 -URL: http://smartmontools.sourceforge.net +URL: https://www.smartmontools.org/ 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 +BuildRequires: libcap-ng-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel +BuildRequires: libsystemd-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %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. +%debug_package + %prep %setup -q -%patch0 -p 1 +%patch 0 -p 1 %build %configure @@ -38,6 +40,18 @@ Smartmontools supports ATA/ATAPI/SATA-3 to -8 disks and SCSI disks and tape devi %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%post +%systemd_post smartd +: + +%preun +%systemd_preun smartd +: + +%postun +%systemd_postun_with_restart smartd +: + %files %defattr(-,root,root) %{_sysconfdir}/smartd_warning.sh @@ -45,7 +59,7 @@ Smartmontools supports ATA/ATAPI/SATA-3 to -8 disks and SCSI disks and tape devi %{_sbindir}/smartctl %{_sbindir}/smartd %{_sbindir}/update-smart-drivedb -/lib/systemd/system/smartd.service +%{_unitdir}/smartd.service %{_datadir}/smartmontools/drivedb.h %{_docdir}/smartmontools/* %{_mandir}/man5/smartd.conf.5* @@ -56,6 +70,12 @@ Smartmontools supports ATA/ATAPI/SATA-3 to -8 disks and SCSI disks and tape devi #NEWS README TODO %changelog +* Wed Aug 02 2023 Automatic Build System 7.4-1mamba +- automatic version update by autodist + +* Sun Mar 13 2022 Automatic Build System 7.3-1mamba +- automatic version update by autodist + * Sat Jan 02 2021 Automatic Build System 7.2-1mamba - automatic version update by autodist