Group :: Monitoring
RPM: hddtemp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: hddtemp
Version: 0.4.3
Release: alt1
Epoch: 20110629
Summary: Hard Drive Temperature Monitoring
License: GPLv2+
Group: Monitoring
Url: https://github.com/vitlav/hddtemp
# Source-url: https://github.com/vitlav/hddtemp/archive/v%version.tar.gz
Source: %name-%version.tar
Source2: hddtemp.control
Source3: hddtemp.init
Source4: hddtemp.sysconfig
Source6: hddtemp.service
%description
hddtemp is a tool that gives you the temperature of your IDE, NVME,
SATA or SCSI hard drive by reading S.M.A.R.T. information.
%prep
%setup
%build
%autoreconf
%configure
%make_build
%install
install -pDm644 data/hddtemp.db %buildroot%_datadir/misc/hddtemp.db
install -pDm755 %SOURCE2 %buildroot%_controldir/hddtemp
install -pDm755 %SOURCE3 %buildroot%_initdir/hddtemp
install -pDm755 %SOURCE4 %buildroot%_sysconfdir/sysconfig/hddtemp
install -pDm644 %SOURCE6 %buildroot%_unitdir/hddtemp.service
install -d %buildroot%_man8dir
%makeinstall_std
%find_lang %name
%pre
%pre_control %name
%post
%post_service %name
%post_control -s wheelonly %name
%preun
%preun_service %name
%files -f %name.lang
%doc README TODO contribs
%_sbindir/hddtemp
%_initdir/hddtemp
%_unitdir/hddtemp.service
%_man8dir/*
%_datadir/misc/hddtemp.db
%config(noreplace) %_sysconfdir/control.d/facilities/hddtemp
%config(noreplace) %_sysconfdir/sysconfig/hddtemp
# TODO:
# - find someone to do privsep/chroot on hddtemp?
%changelog
…
Full changelog you can see here
Version: 0.4.3
Release: alt1
Epoch: 20110629
Summary: Hard Drive Temperature Monitoring
License: GPLv2+
Group: Monitoring
Url: https://github.com/vitlav/hddtemp
# Source-url: https://github.com/vitlav/hddtemp/archive/v%version.tar.gz
Source: %name-%version.tar
Source2: hddtemp.control
Source3: hddtemp.init
Source4: hddtemp.sysconfig
Source6: hddtemp.service
%description
hddtemp is a tool that gives you the temperature of your IDE, NVME,
SATA or SCSI hard drive by reading S.M.A.R.T. information.
%prep
%setup
%build
%autoreconf
%configure
%make_build
%install
install -pDm644 data/hddtemp.db %buildroot%_datadir/misc/hddtemp.db
install -pDm755 %SOURCE2 %buildroot%_controldir/hddtemp
install -pDm755 %SOURCE3 %buildroot%_initdir/hddtemp
install -pDm755 %SOURCE4 %buildroot%_sysconfdir/sysconfig/hddtemp
install -pDm644 %SOURCE6 %buildroot%_unitdir/hddtemp.service
install -d %buildroot%_man8dir
%makeinstall_std
%find_lang %name
%pre
%pre_control %name
%post
%post_service %name
%post_control -s wheelonly %name
%preun
%preun_service %name
%files -f %name.lang
%doc README TODO contribs
%_sbindir/hddtemp
%_initdir/hddtemp
%_unitdir/hddtemp.service
%_man8dir/*
%_datadir/misc/hddtemp.db
%config(noreplace) %_sysconfdir/control.d/facilities/hddtemp
%config(noreplace) %_sysconfdir/sysconfig/hddtemp
# TODO:
# - find someone to do privsep/chroot on hddtemp?
%changelog
…
Full changelog you can see here