# # Initial spec file for ffingerd, RedHat 7.0 # %define RELEASE 0 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define ver 1.28 Summary: Fefe's small and secure finger daemon Name: ffingerd Version: %ver Release: %rel License: GPL Group: System Environment/Daemons Source: ftp://ftp.fu-berlin.de/unix/security/ffingerd/ffingerd-%{ver}.tar.bz2 URL: http://www.fefe.de/ffingerd/ BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION} Packager: Carlo Wood Vendor: Felix von Leitner Requires: xinetd %description Finger is a utility which allows users to see information about system users (login name, name, how long they've been logged in to the system, pgpkey etc.). The ffingerd daemon is a replacement for the standard Unix finger server. %prep %setup -q %build ./configure --prefix=/usr make %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make prefix="$RPM_BUILD_ROOT/usr" install.bin install -d $RPM_BUILD_ROOT/etc/xinetd.d install -m 644 $RPM_SOURCE_DIR/ffingerd $RPM_BUILD_ROOT/etc/xinetd.d unset RPM_BUILD_ROOT # trick RPM 4.0 into not stripping us %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post /etc/rc.d/init.d/xinetd reload %postun /etc/rc.d/init.d/xinetd reload %files %attr(0755,root,root) %{_sbindir}/ffingerd %attr(0644,root,root) /etc/xinetd.d/ffingerd %attr(0444,root,root) %{_mandir}/man8/ffingerd.8 %changelog * Sun Mar 18 2001 Carlo Wood - Initial spec file on RedHat 7.0.