Name: smartmontools Version: 7.3 Release: %mkrel 1 Summary: For monitoring S.M.A.R.T. disks and devices License: GPLv2 Group: System/Kernel and hardware URL: http://www.smartmontools.org/ Source0: https://sourceforge.net/projects/smartmontools/files/%{name}/%{version}/%{name}-%{version}.tar.gz Source1: smartd.conf Source3: smartd.sysconfig Source4: smartd.service BuildRequires: systemd-devel BuildRequires: systemd-units BuildRequires: pkgconfig(libcap-ng) Requires(post): rpm-helper >= 0.24.8-1 Requires(preun):rpm-helper >= 0.24.8-1 %description SMARTmontools controls and monitors storage devices using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) built into ATA and SCSI Hard Drives. This is used to check the reliability of the hard drive and predict drive failures. The suite contains two utilities. The first, smartctl, is a command-line utility designed to perform simple S.M.A.R.T. tasks. The second, smartd, is a daemon that periodically monitors smart status and reports errors to syslog. The package is compatible with the ATA/ATAPI-5 specification. Future releases will be compatible with the ATA/ATAPI-6 and ATA/ATAPI-7 specifications. The package is intended to incorporate as much "vendor specific" and "reserved" information as possible about disk drives. man smartctl and man smartd will provide more information. %prep %setup -q # fix file-not-utf8 iconv -f iso8859-1 -t utf-8 ChangeLog-5.0-6.0 > ChangeLog-5.0-6.0.conv && mv -f ChangeLog-5.0-6.0.conv ChangeLog-5.0-6.0 %build %configure \ --with-libcap-ng=yes \ --with-drivedbdir=yes \ --with-systemdenvfile=%{_sysconfdir}/sysconfig/smartd %make_build %install %make_install mkdir -p %{buildroot}%{_sysconfdir}/sysconfig mkdir -p %{buildroot}%{_unitdir} install %{SOURCE1} %{buildroot}%{_sysconfdir}/smartd.conf install %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/smartd #install %{SOURCE4} %{buildroot}%{_unitdir}/smartd.service rm -f %{buildroot}%{_initrddir}/smartd rm -f %{buildroot}%{_docdir}/%{name}/INSTALL %post %_post_service smartd %preun %_preun_service smartd %files %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/smartd.conf %attr(0755,root,root) %config(noreplace) %{_sysconfdir}/smartd_warning.sh %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/smartd %attr(0644,root,root) %{_unitdir}/smartd.service %{_sbindir}/* %{_mandir}/man?/* %{_docdir}/%{name} %dir %{_datadir}/%{name} %{_datadir}/%{name}/drivedb.h # these files are not included in source tarball but created if # users update the smart database with 'update-smart-drivedb' command. %ghost %{_datadir}/%{name}/drivedb.h.error %ghost %{_datadir}/%{name}/drivedb.h.lastcheck %ghost %{_datadir}/%{name}/drivedb.h.old %changelog * Mon Apr 18 2022 ghibo 7.3-1.mga8 + Revision: 1851477 - Really use systemd-devel in BR instead of pkgconfig(systemd) - Add systemd-devel to BR - Bump release to 1 - Update to release 7.3. - Update smartd.conf. - Use upstream systemd's smartd.service and set env file in configure. * Sat Mar 26 2022 umeabot 7.2-2.mga9 + Revision: 1827955 - Mageia 9 Mass Rebuild * Mon Jan 04 2021 daviddavid 7.2-1.mga8 + Revision: 1668649 - new version: 7.2 + danf - Switch URLs from http: to https: * Wed Feb 19 2020 umeabot 7.1-2.mga8 + Revision: 1542740 - Mageia 8 Mass Rebuild + wally - replace deprecated %%configure2_5x * Mon Jan 06 2020 daviddavid 7.1-1.mga8 + Revision: 1476956 - new version: 7.1 * Thu Jan 03 2019 daviddavid 7.0-1.mga7 + Revision: 1348860 - new version: 7.0 * Sun Sep 23 2018 umeabot 6.6-2.mga7 + Revision: 1301070 - Mageia 7 Mass Rebuild * Tue Nov 07 2017 daviddavid 6.6-1.mga7 + Revision: 1176415 - new version: 6.6 * Sun May 08 2016 daviddavid 6.5-1.mga6 + Revision: 1011010 - new version: 6.5 - remove merged upstream patch * Wed Mar 09 2016 daviddavid 6.4-3.mga6 + Revision: 988568 - add patch to fix a recent issue with update-smart-drivedb (mga#17808) - remove old and unneeded Obsoletes/Provides on smartsuite - fix file not utf-8 - fix owner of data dir - add ghost records for files created by update-smart-drivedb * Fri Jan 15 2016 anssi 6.4-2.mga6 + Revision: 923160 - fix non-working email alerts since version 6.1 due to wrong permissions * Sat Jul 25 2015 daviddavid 6.4-1.mga6 + Revision: 857538 - new version: 6.4 - update URL and Source URL - fix License * Wed Dec 10 2014 tmb 6.3-1.mga5 + Revision: 802576 - update to 6.3 * Wed Oct 15 2014 umeabot 6.2-5.mga5 + Revision: 747935 - Second Mageia 5 Mass Rebuild * Sat Sep 27 2014 tv 6.2-4.mga5 + Revision: 730162 - rebuild for missing pythoneggs deps * Tue Sep 16 2014 umeabot 6.2-3.mga5 + Revision: 689204 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot 6.2-2.mga4 + Revision: 531158 - Mageia 4 Mass Rebuild * Thu Aug 01 2013 dams 6.2-1.mga4 + Revision: 462317 - new version 6.2 * Tue Apr 02 2013 dams 6.1-1.mga3 + Revision: 407326 - new version 6.1 * Mon Jan 14 2013 umeabot 6.0-2.mga3 + Revision: 382194 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Oct 18 2012 dams 6.0-1.mga3 + Revision: 307907 - new version 6.0 * Thu Aug 09 2012 tv 5.42-7.mga3 + Revision: 280301 - fix file list - drop sysv service * Sat Apr 28 2012 tmb 5.42-6.mga2 + Revision: 233857 - Require rpm-helper >= 0.24.8-1 for systemd support * Sat Apr 21 2012 colin 5.42-5.mga2 + Revision: 232380 - Fix systemd unit. * Wed Mar 07 2012 colin 5.42-4.mga2 + Revision: 221367 - systemd units are not config files (at least not the ones in /lib) * Mon Jan 23 2012 dams 5.42-3.mga2 + Revision: 200470 - fix wrong 'EnvironmentFile' setting making smartd.service fail to start (bug #4233) * Thu Jan 12 2012 dmorgan 5.42-2.mga2 + Revision: 195226 - Add systemd requires - Port to systemd * Wed Nov 09 2011 dams 5.42-1.mga2 + Revision: 165945 - new version 5.42 - clean specfile * Wed Jun 22 2011 dams 5.41-1.mga2 + Revision: 112401 - Update to 5.41 * Wed Jan 19 2011 erwan 5.40-1.mga1 + Revision: 24625 - imported package smartmontools * Tue Nov 16 2010 Oden Eriksson 5.40-1mdv2011.0 + Revision: 598045 - 5.40 - provide our own initscript - fix deps * Thu Jan 28 2010 Erwan Velu 5.39.1-1mdv2010.1 + Revision: 497837 - 5.39.1 * Thu Dec 10 2009 Frederik Himpe 5.39-1mdv2010.1 + Revision: 476084 - Update to new version 5.39 - Remove format error patch integrated upstream * Thu Sep 03 2009 Christophe Fergeau 5.38-5mdv2010.0 + Revision: 427197 - rebuild * Wed Feb 04 2009 Guillaume Rousse 5.38-4mdv2009.1 + Revision: 337587 - fix format errors - install doc in expected location - drop README.urpmi, just telling users to edit their configuration is a bit useless - spec cleanup - keep bash completion in its own package * Wed Jun 18 2008 Thierry Vignaud 5.38-3mdv2009.0 + Revision: 225446 - rebuild * Mon Mar 10 2008 Erwan Velu 5.38-2mdv2008.1 + Revision: 183401 - 5.38 official release Remove patch0 (upstream) This release closes bug #37887 * Fri Feb 29 2008 Erwan Velu 5.38-1mdv2008.1 + Revision: 176708 - Update source to 5.38 - Using 5.38 tag * Sat Feb 02 2008 Thomas Backlund 5.38-0.1mdv2008.1 + Revision: 161576 - update to 5.38 (cvs snapshot 20080203) - drop patch1: hsm fix, merged upstream - drop patch2: strange_buffer fix, merged upstream + Olivier Blin - restore BuildRoot + Thierry Vignaud - kill re-definition of %%buildroot on Pixel's request * Wed Aug 22 2007 Erwan Velu 5.37-2mdv2008.0 + Revision: 69152 - Preventing some some HSM violation on sata_nv * Mon Jan 15 2007 Erwan Velu 5.37-1mdv2007.0 + Revision: 109094 - .asc file no more exists - 5.37 - Import smartmontools * Wed Apr 19 2006 Erwan Velu 5.36-1mdk - 5.36 * Mon Jan 09 2006 Olivier Blin 5.33-6mdk - drop parallel-init patch (Patch0) - Patch0: use standard LSB tags instead of X-UnitedLinux tags - fix incorrect Requires(X) * Sun Jan 01 2006 Couriousous 5.33-5mdk - Add parallel init stuff * Wed Oct 05 2005 Erwan Velu 5.33-4mdk - Adding README.urpmi - Adding mail example in config file * Fri Jul 22 2005 Guillaume Rousse 5.33-3mdk - bash completion * Tue Jun 14 2005 Erwan Velu 5.33-2mdk - Fixing stupid errors * Fri Oct 29 2004 Erwan Velu 5.33-1mdk - 5.33 * Tue Aug 17 2004 Erwan Velu 5.32-2mdk - Using a better default configuration file * Tue Jul 13 2004 Erwan Velu 5.32-1mdk - 5.32 * Thu Jun 10 2004 Rafael Garcia-Suarez 5.31-2mdk - Fix spelling errors in description * Mon May 17 2004 Abel Cheung 5.31-1mdk - New version - Use tar.gz for source verification * Tue Mar 09 2004 Erwan Velu 5.30-1mdk - New release * Thu Feb 19 2004 Erwan Velu 5.27-1mdk - New Release