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