%define _bindir /bin Summary: A utility for configuring serial ports. Name: setserial Version: 2.17 Release: 19 Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz Patch0: setserial-2.17-fhs.patch Patch1: setserial-2.17-rc.patch Patch2: setserial-2.17-readme.patch Patch3: setserial-2.17-spelling.patch License: GPL Group: Applications/System URL: http://setserial.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-root ExcludeArch: s390 s390x BuildRequires: groff %description Setserial is a basic system utility for displaying or setting serial port information. Setserial can reveal and allow you to alter the I/O port and IRQ that a particular serial device is using, and more. %prep %setup -q %patch0 -p1 -b .fhs %patch1 -p1 -b .rc %patch2 -p1 -b .readme %patch3 -p1 -b .spelling rm -f config.cache %build %configure make %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8 %makeinstall STRIP=: %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc README rc.serial %{_bindir}/setserial %{_mandir}/man*/* %changelog * Wed Mar 2 2005 Tim Waugh 2.17-19 - Rebuild for new GCC. * Wed Feb 9 2005 Tim Waugh 2.17-18 - Rebuilt. * Mon Oct 11 2004 Tim Waugh 2.17-17 - Spec file tidying by Robert Scheck (bug #135182). * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Nov 27 2003 Tim Waugh 2.17-14 - Build requires groff (bug #111088). * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Fri Jan 10 2003 Tim Waugh 2.17-11 - Fix spelling mistake (bug #80896). * Wed Nov 20 2002 Tim Powers 2.17-10 - rebuild in current collinst * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Mon Apr 22 2002 Tim Waugh 2.17-7 - Don't strip binaries explicitly (bug #62566). * Wed Jan 09 2002 Tim Powers - automated rebuild * Tue Sep 11 2001 Tim Waugh 2.17-5 - Fix init script (bug #52862). - Avoid temporary file vulnerability in init script. - Update README: it's --add, not -add. * Tue Jun 19 2001 Florian La Roche 2.17-4 - add ExcludeArch: s390 s390x * Wed May 30 2001 Tim Waugh 2.17-3 - Sync description with specspo. * Wed Jul 12 2000 Prospector 2.17-2 - automatic rebuild * Wed Jun 14 2000 Jeff Johnson - update to 2.17. - FHS packaging. * Mon Feb 7 2000 Jeff Johnson - compress man pages. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 2) * Thu Feb 11 1999 Michael Maher - fixed bug #363 * Thu Dec 17 1998 Michael Maher - built package for 6.0 * Sat Jun 20 1998 Jeff Johnson - upgraded to 2.1.14 * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Thu Oct 23 1997 Donnie Barnes - pulled into distribution - used setserial-2.12_CTI.tgz instead of setserial-2.12.tar.gz (former is all that sunsite has) - not sure what the difference is. * Thu Sep 25 1997 Christian 'Dr. Disk' Hechelmann - added %attr's - added sanity check for RPM_BUILD_ROOT - setserial is now installed into /bin, where util-linux puts it and all startup scripts expect it.