cvsdist c2dcae1
%define	_bindir	/bin
cvsdist c2dcae1
972383d
Summary: A utility for configuring serial ports
cvsdist c2dcae1
Name: setserial
cvsdist c2dcae1
Version: 2.17
92d9d32
Release: 49%{?dist}
d16c346
Source: https://sourceforge.net/projects/setserial/files/setserial/%{version}/%{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
9bd030f
Patch4: setserial-hayesesp.patch
67a8231
Patch5: setserial-aarch64.patch
b6c1093
License: GPL+
6dabf8d
URL: http://setserial.sourceforge.net/
cvsdist 5135e80
ExcludeArch: s390 s390x
cvsdist c2dcae1
98a7db8
BuildRequires: gcc
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
fdd2be5
# Use FHS directory layout.
cvsdist c2dcae1
%patch0 -p1 -b .fhs
fdd2be5
fdd2be5
# Fixed initscript.
cvsdist 1a5e6e2
%patch1 -p1 -b .rc
fdd2be5
fdd2be5
# Corrected readme file.
cvsdist 1a5e6e2
%patch2 -p1 -b .readme
fdd2be5
fdd2be5
# Fixed spelling in help output.
cvsdist ff83716
%patch3 -p1 -b .spelling
fdd2be5
fdd2be5
# Don't require hayesesp.h (bug #564947).
9bd030f
%patch4 -p1 -b .hayesesp
cvsdist c2dcae1
rm -f config.cache
cvsdist c2dcae1
67a8231
# Support aarch64 (bug #926522).
67a8231
%patch5 -p1 -b .aarch64
67a8231
cvsdist c2dcae1
%build
f2e9521
%set_build_flags
f2e9521
# Makefile expects CFLAGS to contain linker flags.
f2e9521
CFLAGS="$CFLAGS $LDFLAGS"
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
%files
cvsdist c2dcae1
%doc README rc.serial
cvsdist c2dcae1
%{_bindir}/setserial
cvsdist c2dcae1
%{_mandir}/man*/*
cvsdist c2dcae1
cvsdist c2dcae1
%changelog
92d9d32
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-49
92d9d32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
92d9d32
376055c
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-48
376055c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
376055c
98a7db8
* Mon Jul 23 2018 Tim Waugh <twaugh@redhat.com> - 2.17-47
98a7db8
- Build requires gcc (bug #1606335).
98a7db8
54fc182
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-46
54fc182
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
54fc182
d16c346
* Thu Jul 05 2018 Than Ngo <than@redhat.com> - 2.17-45
d16c346
- fixed typo
d16c346
e8cb4eb
* Thu Jul 05 2018 Than Ngo <than@redhat.com> - 2.17-44
e8cb4eb
- fixed source url
e8cb4eb
f2e9521
* Sun Feb 25 2018 Florian Weimer <fweimer@redhat.com> - 2.17-43
f2e9521
- Use LDFLAGS from redhat-rpm-config
f2e9521
54c3812
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-42
54c3812
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
54c3812
bc46b21
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-41
bc46b21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
bc46b21
0f329aa
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-40
0f329aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0f329aa
ef960b8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-39
ef960b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ef960b8
7d026be
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-38
7d026be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7d026be
dea9ce6
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-37
dea9ce6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
dea9ce6
0bbc256
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-36
0bbc256
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0bbc256
0c697b6
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-35
0c697b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0c697b6
9548569
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-34
9548569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9548569
67a8231
* Mon Apr 29 2013 Tim Waugh <twaugh@redhat.com> 2.17-33
67a8231
- Support aarch64 (bug #926522).
67a8231
b19cfe7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-32
b19cfe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b19cfe7
8d26b7b
* Fri Sep 21 2012 Tim Waugh <twaugh@redhat.com> 2.17-31
59a728c
- Fixed source URL.
59a728c
cf3354f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-29
cf3354f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cf3354f
5f91597
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-28
5f91597
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5f91597
16b5378
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-27
16b5378
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
16b5378
fdd2be5
* Wed Mar  3 2010 Tim Waugh <twaugh@redhat.com> 2.17-26
fdd2be5
- Added comments for all patches.
fdd2be5
9bd030f
* Mon Feb 15 2010 Tim Waugh <twaugh@redhat.com> 2.17-25
fdd2be5
- Don't require hayesesp.h (bug #564947).
9bd030f
7267dc0
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-24
7267dc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7267dc0
77650fd
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-23
77650fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
77650fd
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.