Summary: Network Time Protocal is used to sync clocks Name: ntp Version: 4.2.6p1 Release: 1 License: GPL Group: System/Base Source: %{name}-%{version}.tar.gz %description Network Time Protocal is a demon / service that is use to sync computer clocks with a main time server. %prep %setup -q %build ./configure --prefix=/usr --bindir=/usr/sbin \ --sysconfdir=/etc --with-binsubdir=sbin \ --enable-shared make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %post if [ ! -f /etc/ntp.conf ];then cat > /etc/ntp.conf << "EOF" server 0.uk.pool.ntp.org server 1.uk.pool.ntp.org server 2.uk.pool.ntp.org server 3.uk.pool.ntp.org driftfile /var/cache/ntp.drift EOF fi %files %defattr(-,root,root) / %changelog * Sun Jul 04 2010 Jonathan Norman 4.2.6p1-1 - Created inital package. - Added ntp.conf