Репозитории ALT
S: | 12.7.4-alt1 |
5.1: | 9.0.4-alt1 |
4.1: | 8.1.2-alt1 |
4.0: | 7.1.4-alt1 |
3.0: | 6.0.0-alt1 |
Группа :: Система/Основа
Пакет: sysstat
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: sysstat
Version: 6.0.0
Release: alt1
Summary: The sar and iostat system monitoring commands
License: GPL
Group: System/Base
URL: http://perso.wanadoo.fr/sebastien.godard/
Source: %url/sysstat-%version.tar.bz2
Source1: %name.cron.hourly
Source2: %name.cron.daily
# we run sa2 script (daily summary) at 4am so we now change build
# configuration to build script that takes prev day data
Patch0: sysstat-5.1.5-config.patch
%description
This package provides the sar and iostat commands for the Linux
operating system, similar to their traditional UNIX counterparts.
They enable system monitoring of disk, network, and other IO activity.
%prep
%setup -q
%patch0 -p1
%build
%make_build CFLAGS="$RPM_OPT_FLAGS"
%install
%makeinstall
# cron scripts must have exec bit to be taken by run-parts
install -p -m750 -D %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/cron.hourly/%name
install -p -m750 -D %SOURCE2 $RPM_BUILD_ROOT%_sysconfdir/cron.daily/%name
install -p -m644 -D sysstat.ioconf $RPM_BUILD_ROOT%_sysconfdir/sysconfig/
install -p -m644 -D sysstat.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/sysstat
# sysstat makefiles install the docs, blow them away
rm -rf $RPM_BUILD_ROOT/usr/doc
%find_lang %name
%preun
if [ "$1" = 0 ]; then
# Remove sa logs if removing %name completely.
rm -f /var/log/sa/*
fi
%files -f %name.lang
%config(noreplace) %_sysconfdir/cron.*/*
%config(noreplace) %_sysconfdir/sysconfig/sysstat
%config %_sysconfdir/sysconfig/sysstat.ioconf
%_bindir/*
%_libdir/sa
%_mandir/man?/*
%attr(750,root,adm) /var/log/sa
%doc CHANGES CREDITS FAQ README
%changelog
…
Полный changelog можно просмотреть здесь
Version: 6.0.0
Release: alt1
Summary: The sar and iostat system monitoring commands
License: GPL
Group: System/Base
URL: http://perso.wanadoo.fr/sebastien.godard/
Source: %url/sysstat-%version.tar.bz2
Source1: %name.cron.hourly
Source2: %name.cron.daily
# we run sa2 script (daily summary) at 4am so we now change build
# configuration to build script that takes prev day data
Patch0: sysstat-5.1.5-config.patch
%description
This package provides the sar and iostat commands for the Linux
operating system, similar to their traditional UNIX counterparts.
They enable system monitoring of disk, network, and other IO activity.
%prep
%setup -q
%patch0 -p1
%build
%make_build CFLAGS="$RPM_OPT_FLAGS"
%install
%makeinstall
# cron scripts must have exec bit to be taken by run-parts
install -p -m750 -D %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/cron.hourly/%name
install -p -m750 -D %SOURCE2 $RPM_BUILD_ROOT%_sysconfdir/cron.daily/%name
install -p -m644 -D sysstat.ioconf $RPM_BUILD_ROOT%_sysconfdir/sysconfig/
install -p -m644 -D sysstat.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/sysstat
# sysstat makefiles install the docs, blow them away
rm -rf $RPM_BUILD_ROOT/usr/doc
%find_lang %name
%preun
if [ "$1" = 0 ]; then
# Remove sa logs if removing %name completely.
rm -f /var/log/sa/*
fi
%files -f %name.lang
%config(noreplace) %_sysconfdir/cron.*/*
%config(noreplace) %_sysconfdir/sysconfig/sysstat
%config %_sysconfdir/sysconfig/sysstat.ioconf
%_bindir/*
%_libdir/sa
%_mandir/man?/*
%attr(750,root,adm) /var/log/sa
%doc CHANGES CREDITS FAQ README
%changelog
…
Полный changelog можно просмотреть здесь