cvsdist c2dcae1
%define	_bindir	/bin
cvsdist c2dcae1
972383d
Summary: A utility for configuring serial ports
cvsdist c2dcae1
Name: setserial
cvsdist c2dcae1
Version: 2.17
4b1271a
Release: 22%{?dist}
6dabf8d
Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
cvsdist c2dcae1
Patch0: setserial-2.17-fhs.patch
cvsdist 1a5e6e2
Patch1: setserial-2.17-rc.patch
cvsdist 1a5e6e2
Patch2: setserial-2.17-readme.patch
cvsdist ff83716
Patch3: setserial-2.17-spelling.patch
b6c1093
License: GPL+
cvsdist c2dcae1
Group: Applications/System
6dabf8d
URL: http://setserial.sourceforge.net/
972383d
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 5135e80
ExcludeArch: s390 s390x
cvsdist c2dcae1
cvsdist d5b7f59
BuildRequires: groff
cvsdist d5b7f59
cvsdist c2dcae1
%description
cvsdist c2dcae1
Setserial is a basic system utility for displaying or setting serial
cvsdist c2dcae1
port information. Setserial can reveal and allow you to alter the I/O
cvsdist c2dcae1
port and IRQ that a particular serial device is using, and more.
cvsdist c2dcae1
cvsdist c2dcae1
%prep
cvsdist c2dcae1
%setup -q
cvsdist c2dcae1
%patch0 -p1 -b .fhs
cvsdist 1a5e6e2
%patch1 -p1 -b .rc
cvsdist 1a5e6e2
%patch2 -p1 -b .readme
cvsdist ff83716
%patch3 -p1 -b .spelling
cvsdist c2dcae1
rm -f config.cache
cvsdist c2dcae1
cvsdist c2dcae1
%build
cvsdist c2dcae1
%configure
972383d
make %{?_smp_mflags}
cvsdist c2dcae1
cvsdist c2dcae1
%install
cvsdist c2dcae1
rm -rf ${RPM_BUILD_ROOT}
972383d
mkdir -p ${RPM_BUILD_ROOT}/%{_bindir}
972383d
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8
972383d
make install DESTDIR=${RPM_BUILD_ROOT}
cvsdist c2dcae1
cvsdist c2dcae1
%clean
cvsdist c2dcae1
rm -rf ${RPM_BUILD_ROOT}
cvsdist c2dcae1
cvsdist c2dcae1
%files
972383d
%defattr(-,root,root,-)
cvsdist c2dcae1
%doc README rc.serial
cvsdist c2dcae1
%{_bindir}/setserial
cvsdist c2dcae1
%{_mandir}/man*/*
cvsdist c2dcae1
cvsdist c2dcae1
%changelog
4b1271a
* Mon Feb 11 2008 Tim Waugh <twaugh@redhat.com> 2.17-22
4b1271a
- Rebuild for GCC 4.3.
4b1271a
b6c1093
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 2.17-21
b6c1093
- More specific license tag.
b6c1093
972383d
* Wed Feb  7 2007 Tim Waugh <twaugh@redhat.com> 2.17-20
972383d
- Fixed mandir in fhs patch (bug #226411).
972383d
- Don't run strip (bug #226411).
972383d
- Fixed readme patch to talk about Fedora not Red Hat Linux (bug #226411).
972383d
- Fixed build root tag (bug #226411).
972383d
- Use SMP make flags (bug #226411).
972383d
- Avoid %%makeinstall (bug #226411).
972383d
- Fixed summary (bug #226411).
972383d
36fdb1f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.17-19.2.2
36fdb1f
- rebuild
36fdb1f
143a747
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.17-19.2.1
143a747
- bump again for double-long bug on ppc(64)
143a747
8825f38
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.17-19.2
8825f38
- rebuilt for new gcc4.1 snapshot and glibc changes
8825f38
0fd69dc
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0fd69dc
- rebuilt
0fd69dc
ee18eaf
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 2.17-19
ee18eaf
- Rebuild for new GCC.
ee18eaf
bb5b2d7
* Wed Feb  9 2005 Tim Waugh <twaugh@redhat.com> 2.17-18
bb5b2d7
- Rebuilt.
bb5b2d7
6dabf8d
* Mon Oct 11 2004 Tim Waugh <twaugh@redhat.com> 2.17-17
6dabf8d
- Spec file tidying by Robert Scheck (bug #135182).
6dabf8d
cvsdist a86ed94
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist a86ed94
- rebuilt
cvsdist a86ed94
cvsdist e26abad
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist e26abad
- rebuilt
cvsdist e26abad
cvsdist d5b7f59
* Thu Nov 27 2003 Tim Waugh <twaugh@redhat.com> 2.17-14
cvsdist d5b7f59
- Build requires groff (bug #111088).
cvsdist d5b7f59
cvsdist 358942e
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 358942e
- rebuilt
cvsdist 358942e
cvsdist ff83716
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist ff83716
- rebuilt
cvsdist ff83716
cvsdist ff83716
* Fri Jan 10 2003 Tim Waugh <twaugh@redhat.com> 2.17-11
cvsdist ff83716
- Fix spelling mistake (bug #80896).
cvsdist ff83716
cvsdist ff83716
* Wed Nov 20 2002 Tim Powers <timp@redhat.com> 2.17-10
cvsdist ff83716
- rebuild in current collinst
cvsdist ff83716
cvsdist 3723223
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 3723223
- automated rebuild
cvsdist 3723223
cvsdist e6f9dac
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist e6f9dac
- automated rebuild
cvsdist e6f9dac
cvsdist e6f9dac
* Mon Apr 22 2002 Tim Waugh <twaugh@redhat.com> 2.17-7
cvsdist e6f9dac
- Don't strip binaries explicitly (bug #62566).
cvsdist e6f9dac
cvsdist e6f9dac
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist e6f9dac
- automated rebuild
cvsdist e6f9dac
cvsdist 1a5e6e2
* Tue Sep 11 2001 Tim Waugh <twaugh@redhat.com> 2.17-5
cvsdist 1a5e6e2
- Fix init script (bug #52862).
cvsdist 1a5e6e2
- Avoid temporary file vulnerability in init script.
cvsdist 1a5e6e2
- Update README: it's --add, not -add.
cvsdist 1a5e6e2
cvsdist 1a5e6e2
* Tue Jun 19 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.17-4
cvsdist 5135e80
- add ExcludeArch: s390 s390x
cvsdist 5135e80
cvsdist 5135e80
* Wed May 30 2001 Tim Waugh <twaugh@redhat.com> 2.17-3
cvsdist 5135e80
- Sync description with specspo.
cvsdist 5135e80
cvsdist 5135e80
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com> 2.17-2
cvsdist c2dcae1
- automatic rebuild
cvsdist c2dcae1
cvsdist c2dcae1
* Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
cvsdist c2dcae1
- update to 2.17.
cvsdist c2dcae1
- FHS packaging.
cvsdist c2dcae1
cvsdist c2dcae1
* Mon Feb  7 2000 Jeff Johnson <jbj@redhat.com>
cvsdist c2dcae1
- compress man pages.
cvsdist c2dcae1
cvsdist c2dcae1
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist c2dcae1
- auto rebuild in the new build environment (release 2)
cvsdist c2dcae1
cvsdist c2dcae1
* Thu Feb 11 1999 Michael Maher <mike@redhat.com>
cvsdist c2dcae1
- fixed bug #363
cvsdist c2dcae1
cvsdist c2dcae1
* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
cvsdist c2dcae1
- built package for 6.0
cvsdist c2dcae1
cvsdist c2dcae1
* Sat Jun 20 1998 Jeff Johnson <jbj@redhat.com>
cvsdist c2dcae1
- upgraded to 2.1.14
cvsdist c2dcae1
cvsdist c2dcae1
* Thu May 07 1998 Prospector System <bugs@redhat.com>
cvsdist c2dcae1
- translations modified for de, fr, tr
cvsdist c2dcae1
cvsdist c2dcae1
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
cvsdist c2dcae1
- pulled into distribution
cvsdist c2dcae1
- used setserial-2.12_CTI.tgz instead of setserial-2.12.tar.gz (former is
cvsdist c2dcae1
  all that sunsite has) - not sure what the difference is.
cvsdist c2dcae1
cvsdist c2dcae1
* Thu Sep 25 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
972383d
- added %%attr's
cvsdist c2dcae1
- added sanity check for RPM_BUILD_ROOT
cvsdist c2dcae1
- setserial is now installed into /bin, where util-linux puts it and all
cvsdist c2dcae1
  startup scripts expect it.