Summary: Automatic mail answering program for Linux Name: vacation Version: 1.2.7.0 Release: 1.centos License: GPL Group: Applications/System Source: http://download.sourceforge.net/vacation/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%name-root BuildRequires: gcc gettext perl gdbm-devel %description Vacation is the automatic mail answering program found on many Unix systems. This version works with the sendmail restricted shell. %prep %setup -q %{name} %build make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man1 install -s -m 755 vacation %{buildroot}%{_bindir}/vacation install -m 755 vaclook %{buildroot}%{_bindir}/vaclook install -m 444 vacation.man %{buildroot}%{_mandir}/man1/vacation.1 install -m 444 vaclook.man %{buildroot}%{_mandir}/man1/vaclook.1 %post if [ -d /etc/smrsh/ ] ; then ln -s /usr/bin/vacation /etc/smrsh fi %postun if [ -L /etc/smrsh/vacation ] ; then rm -f /etc/smrsh/vacation fi %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING README README.smrsh ChangeLog %{_bindir}/vacation %{_bindir}/vaclook %{_mandir}/* %changelog * Mon Aug 04 2008 Yip Wai Peng - Update and repackage for CentOS 5 * Wed Apr 19 2006 Jim Perrin - Update and repackage for CentOS * Sat Nov 10 2001 Devon - upgrade to version 1.2.6 * Wed Sep 19 2001 Devon - added %post link /etc/smrsh to /usr/bin/vacation - added %postun deletion of /etc/smrsh/vacation * Mon Aug 07 2000 Than Ngo - fix specfile and patch file to rebuilt * Mon Aug 07 2000 Michael Stefaniuc - upgraded to 1.2.2 - fixed security fix * Wed Aug 02 2000 Than Ngo - fix manpath (Bug #15070) * Mon Jul 24 2000 Prospector - rebuilt * Sun Jul 16 2000 Florian La Roche - add security fix * Mon Jul 10 2000 Than Ngo - fix problem (it won't include the .vacation.msg) (bug #13572) - use RPM macros * Mon Jul 03 2000 Prospector - automatic rebuild * Sun May 28 2000 Ngo Than - rebuild for 7.0 - put man pages in correct place - cleanup specfile - fix Summary * Fri Dec 10 1999 Ngo Than - initial RPM for powertools-6.2