Sisyphus repository
Last update: 10 august 2022 | SRPMs: 17591 | Visits: 24749071
en ru br
ALT Linux repos
S:0.4-alt1

Group :: System/Base
RPM: tacitus

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin