Репозитории ALT
S: | 0.4.3-alt1 |
5.1: | 0.3-alt7.15 |
4.1: | 0.3-alt6.15 |
4.0: | 0.3-alt5.15 |
3.0: | 0.3-alt1.14 |
Группа :: Мониторинг
Пакет: hddtemp
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define beta 15
%define fullver %version-beta%beta
Name: hddtemp
Version: 0.3
Release: alt7.%beta
Epoch: 20090615
Summary: Hard Drive Temperature Monitoring
License: GPLv2+
Group: Monitoring
URL: http://www.guzu.net/linux/hddtemp.php
Source0: http://download.savannah.nongnu.org/releases/hddtemp/hddtemp-%fullver.tar.bz2
Source1: http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Source2: hddtemp.control
Source3: hddtemp.init
Source4: hddtemp.sysconfig
Source5: hddtemp.db-alt
%description
hddtemp is a tool that gives you the temperature of your IDE,
SATA or SCSI hard drive by reading S.M.A.R.T. information.
%prep
%setup -n %name-%fullver
%build
%configure
%make_build
%install
install -pDm644 %SOURCE1 %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 -d %buildroot%_man8dir
%make_install DESTDIR=%buildroot install
%find_lang %name
cat %SOURCE5 >> %buildroot%_datadir/misc/hddtemp.db
%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
%_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
…
Полный changelog можно просмотреть здесь
%define fullver %version-beta%beta
Name: hddtemp
Version: 0.3
Release: alt7.%beta
Epoch: 20090615
Summary: Hard Drive Temperature Monitoring
License: GPLv2+
Group: Monitoring
URL: http://www.guzu.net/linux/hddtemp.php
Source0: http://download.savannah.nongnu.org/releases/hddtemp/hddtemp-%fullver.tar.bz2
Source1: http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Source2: hddtemp.control
Source3: hddtemp.init
Source4: hddtemp.sysconfig
Source5: hddtemp.db-alt
%description
hddtemp is a tool that gives you the temperature of your IDE,
SATA or SCSI hard drive by reading S.M.A.R.T. information.
%prep
%setup -n %name-%fullver
%build
%configure
%make_build
%install
install -pDm644 %SOURCE1 %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 -d %buildroot%_man8dir
%make_install DESTDIR=%buildroot install
%find_lang %name
cat %SOURCE5 >> %buildroot%_datadir/misc/hddtemp.db
%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
%_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
…
Полный changelog можно просмотреть здесь