Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37045471
en ru br
ALT Linux repositórios
S:7.2-alt1
5.0: 5.38-alt1
4.1: 5.38-alt1
4.0: 5.38-alt1
3.0: 5.32-alt1

Group :: Monitoramento
RPM: smartmontools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: smartmontools
Version: 5.38
Release: alt1

Summary: Control and monitor storage systems using S.M.A.R.T.
License: GPL
Group: Monitoring
Url: http://smartmontools.sourceforge.net/
Packager: Sergey Vlasov <vsu at altlinux.ru>

# http://download.sourceforge.net/smartmontools/smartmontools-%version.tar.gz

Source0: smartmontools-%version.tar
Source1: smartd.init
Source2: smartd.sysconfig

Patch1: smartmontools-5.38-alt-cciss-warnings.patch
Patch6: smartmontools-5.38-rh-cloexec.patch

Requires(post): %post_service
Requires(preun): %preun_service

Obsoletes: smartctl
Obsoletes: smartd
Obsoletes: ucsc-smartsuite
Obsoletes: smartsuite

# Automatically added by buildreq on Thu Mar 13 2008

BuildRequires: gcc-c++

%description
This package contains two utility programs (smartctl and smartd) to
control and monitor storage systems using the Self-Monitoring, Analysis
and Reporting Technology System (S.M.A.R.T.) built into most modern
ATA and SCSI hard disks.  It is derived from the smartsuite package,
and includes support for ATA/ATAPI-5 disks.

%prep
%setup -q
%patch1 -p1
%patch6 -p1
fgrep -lZ /usr/local/bin/mail *.in |
xargs -r0 sed -i 's,/usr/local/bin/mail,/bin/mail,g' --

%build
%configure
%make_build

%install
%makeinstall

# remove upstream init scripts

rm -r %buildroot/etc/rc.d

chmod 600 %buildroot%_sysconfdir/smartd.conf

install -pD -m755 %_sourcedir/smartd.init \
%buildroot%_initdir/smartd
install -pD -m644 %_sourcedir/smartd.sysconfig \
%buildroot%_sysconfdir/sysconfig/smartd

%define docdir %_docdir/%name-%version
bzip2 -9 %buildroot%docdir/CHANGELOG
rm %buildroot%docdir/{COPYING,INSTALL}

%post
%post_service smartd

%preun
%preun_service smartd

%files
%_sbindir/smartd
%_sbindir/smartctl
%_initdir/smartd
%_man8dir/smartctl.*
%_man8dir/smartd.*
%_man5dir/smartd.conf.*
%config(noreplace) %_sysconfdir/smartd.conf
%config(noreplace) %_sysconfdir/sysconfig/smartd
%docdir

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009