From 161db41c9db926c2064bd2a9f293d2a25904d5ac Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Mar 23 2009 11:27:32 +0000 Subject: Initial import. --- diff --git a/.cvsignore b/.cvsignore index e69de29..fc80cd7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ioport-1.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..1f0cd73 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +ioport-1_2-1_fc11:HEAD:ioport-1.2-1.fc11.src.rpm:1237807695 diff --git a/ioport.spec b/ioport.spec new file mode 100644 index 0000000..ac2ceec --- /dev/null +++ b/ioport.spec @@ -0,0 +1,71 @@ +# ioport.spec. Generated from ioport.spec.in by configure. + +Summary: Access I/O ports +Name: ioport +Version: 1.2 +Release: 1%{?dist} +License: GPLv2+ +Group: Development/Tools +URL: http://et.redhat.com/~rjones/ioport/ +Source0: http://et.redhat.com/~rjones/ioport/files/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +ExclusiveArch: %{ix86} x86_64 + + +%description +These commands enable command line and script access directly to I/O +ports on PC hardware. + +The inb, inw and inl commands perform an input (read) operation on the +given I/O port, and print the result. + +The outb, outw and outl commands perform an output (write) operation +to the given I/O port, sending the given data. Note that the order of +the parameters is ADDRESS DATA. + +The size of the operation is selected according to the suffix, with +'b' meaning byte, 'w' meaning word (16 bits) and 'l' meaning long +(32 bits). + + +%prep +%setup -q + + +%build +%configure +make + + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING README +%{_bindir}/inb +%{_bindir}/inw +%{_bindir}/inl +%{_bindir}/outb +%{_bindir}/outw +%{_bindir}/outl +%{_mandir}/man1/inb.1* +%{_mandir}/man1/inw.1* +%{_mandir}/man1/inl.1* +%{_mandir}/man1/outb.1* +%{_mandir}/man1/outw.1* +%{_mandir}/man1/outl.1* + + +%changelog +* Mon Mar 16 2009 Richard Jones - 1.1-1 +- Only offer to build on x86 and x86-64 architectures. + +* Mon Mar 9 2009 Richard Jones - 1.0-1 +- Initial build. diff --git a/sources b/sources index e69de29..8a796a9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cb5491eb1b08de5372bbbfbff8c3eada ioport-1.2.tar.gz