Summary: General Purpose Mouse daemon Name: gpm Version: 1.20.5 Release: 1 License: GPL Group: System/Base Source: %{name}-%{version}.tar.bz2 %description This is a General Purpose Mouse that provides copy and paste support in the command line and command line programs. %prep %setup -q %build ./configure --prefix=/usr --sysconfdir=/etc make %install rm -rf $RPM_BUILD_ROOT make ROOT=$RPM_BUILD_ROOT install mkdir -pv $RPM_BUILD_ROOT/etc cp -v conf/gpm-root.conf $RPM_BUILD_ROOT/etc %post /sbin/ldconfig if [ ! -f /etc/sysconfig/mouse ];then echo -e "Creating mouse configuration file... \c " cat > /etc/sysconfig/mouse << "EOF" # Begin /etc/sysconfig/mouse MDEVICE="/dev/psaux" PROTOCOL="imps2" GPMOPTS="" # End /etc/sysconfig/mouse EOF echo "Done" fi %postun /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) / %changelog * Fri Sep 5 2008 Jonathan Norman 1.20.5-1 - Upgraded from 1.20.1 to 1.20.5 - removed patches - removed math library inclusion - changed /dev/mouse to /dev/psaux