161db41
# ioport.spec.  Generated from ioport.spec.in by configure.
161db41
161db41
Summary:     Access I/O ports
161db41
Name:        ioport
161db41
Version:     1.2
9eacab8
Release:     7%{?dist}
161db41
License:     GPLv2+
161db41
Group:       Development/Tools
0c2678f
161db41
URL:         http://et.redhat.com/~rjones/ioport/
161db41
Source0:     http://et.redhat.com/~rjones/ioport/files/%{name}-%{version}.tar.gz
0c2678f
161db41
ExclusiveArch: %{ix86} x86_64
161db41
0c2678f
BuildRequires: /usr/bin/perldoc
0c2678f
161db41
161db41
%description
161db41
These commands enable command line and script access directly to I/O
161db41
ports on PC hardware.
161db41
161db41
The inb, inw and inl commands perform an input (read) operation on the
161db41
given I/O port, and print the result.
161db41
161db41
The outb, outw and outl commands perform an output (write) operation
161db41
to the given I/O port, sending the given data.  Note that the order of
161db41
the parameters is ADDRESS DATA.
161db41
161db41
The size of the operation is selected according to the suffix, with
161db41
'b' meaning byte, 'w' meaning word (16 bits) and 'l' meaning long
161db41
(32 bits).
161db41
161db41
161db41
%prep
161db41
%setup -q
161db41
161db41
161db41
%build
161db41
%configure
161db41
make
161db41
161db41
161db41
%install
161db41
rm -rf $RPM_BUILD_ROOT
161db41
make DESTDIR=$RPM_BUILD_ROOT install
161db41
161db41
161db41
%clean
161db41
rm -rf $RPM_BUILD_ROOT
161db41
161db41
161db41
%files
161db41
%defattr(-,root,root,-)
161db41
%doc COPYING README
161db41
%{_bindir}/inb
161db41
%{_bindir}/inw
161db41
%{_bindir}/inl
161db41
%{_bindir}/outb
161db41
%{_bindir}/outw
161db41
%{_bindir}/outl
161db41
%{_mandir}/man1/inb.1*
161db41
%{_mandir}/man1/inw.1*
161db41
%{_mandir}/man1/inl.1*
161db41
%{_mandir}/man1/outb.1*
161db41
%{_mandir}/man1/outw.1*
161db41
%{_mandir}/man1/outl.1*
161db41
161db41
161db41
%changelog
9eacab8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
9eacab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9eacab8
1eacff5
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
1eacff5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1eacff5
0c2678f
* Mon Jan 16 2012 Richard W.M. Jones <rjones@redhat.com> - 1.2-5
0c2678f
- Add explicit dependency on perldoc (was implicitly pulled in before).
0c2678f
33483ec
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
33483ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
33483ec
5635098
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
5635098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5635098
be84622
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
be84622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
be84622
161db41
* Mon Mar 16 2009 Richard Jones <rjones@redhat.com> - 1.1-1
161db41
- Only offer to build on x86 and x86-64 architectures.
161db41
161db41
* Mon Mar  9 2009 Richard Jones <rjones@redhat.com> - 1.0-1
161db41
- Initial build.