Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37479115
en ru br
Репозитории ALT

Группа :: Система/Основа
Пакет: tacitus

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define with_docs 0

Name: tacitus
Version: 0.4
Release: alt1
Group: System/Base
Summary: Set sort-of-actual time on systems without RTC.
License: WTFPL
Source0: %name-%version.tar.xz
# commented out for now; use at your own risk, bwa-ha-ha!
# Conflicts: systemd
Requires: chkconfig coreutils grep
BuildArch: noarch
# most build environments would safely override this
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
%summary
NTP daemon would normally do the rest.

%if %with_docs
%package doc
Group: Documentation
Summary: Optional documentation for %name
BuildArch: noarch
%description doc
%summary
%endif


%prep
%setup


%install
rm -rf %buildroot
mkdir -pm755 \
 %buildroot%_initdir \
 %buildroot%_man8dir \
 %buildroot%_sysconfdir/cron.hourly \
 ;
install -m755 %name.rc \
 %buildroot%_initdir/%name
install -m755 %name.hourly \
 %buildroot%_sysconfdir/cron.hourly/%name
install -m644 %name.8 \
 %buildroot%_man8dir/


%post
chkconfig --add %name

%preun
chkconfig --del %name


%clean
rm -rf %buildroot


%files
%_initdir/%name
%_sysconfdir/cron.hourly/%name
%_man8dir/%name.*

%if %with_docs
%files doc
%doc *.txt
%endif


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin