automatic update by autodist [release 6.2-1mamba;Sat Jul 27 2013]

This commit is contained in:
Automatic Build System 2024-01-05 17:52:45 +01:00
parent 45df01a7a9
commit 4c11fbc048
3 changed files with 100 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# smartmontools # smartmontools
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.

View File

@ -0,0 +1,12 @@
diff -Nru smartmontools-5.42.orig/smartd.initd.in smartmontools-5.42/smartd.initd.in
--- smartmontools-5.42.orig/smartd.initd.in 2011-06-06 21:25:36.000000000 +0200
+++ smartmontools-5.42/smartd.initd.in 2012-04-02 17:57:19.000000000 +0200
@@ -50,7 +50,7 @@
}
# Red Hat or Yellow Dog or Mandrake
-if [ -f /etc/redhat-release -o -f /etc/yellowdog-release -o -f /etc/mandrake-release -o -f /etc/whitebox-release -o -f /etc/trustix-release -o -f /etc/tinysofa-release ] ; then
+if [ -f /etc/openmamba-release -o -f /etc/yellowdog-release -o -f /etc/mandrake-release -o -f /etc/whitebox-release -o -f /etc/trustix-release -o -f /etc/tinysofa-release ] ; then
# Source function library
. /etc/rc.d/init.d/functions

83
smartmontools.spec Normal file
View File

@ -0,0 +1,83 @@
Name: smartmontools
Version: 6.2
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>
URL: http://smartmontools.sourceforge.net
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: libgcc
BuildRequires: libstdc++6-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.
%prep
%setup -q
%patch0 -p 1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sysconfdir}/smartd_warning.sh
%{_sysconfdir}/smartd.conf
%{_sbindir}/smartctl
%{_sbindir}/smartd
%{_sbindir}/update-smart-drivedb
/lib/systemd/system/smartd.service
%{_datadir}/smartmontools/drivedb.h
%{_docdir}/smartmontools/*
%{_mandir}/man5/smartd.conf.5.gz
%{_mandir}/man8/smartctl.8.gz
%{_mandir}/man8/smartd.8.gz
%doc AUTHORS COPYING
#NEWS README TODO
%changelog
* 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