diff --git a/.cvsignore b/.cvsignore index e69de29..b85eae8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libieee1284-0.2.8.tar.bz2 diff --git a/libieee1284.spec b/libieee1284.spec new file mode 100644 index 0000000..cff727c --- /dev/null +++ b/libieee1284.spec @@ -0,0 +1,84 @@ +Summary: A library for interfacing IEEE 1284-compatible devices. +Name: libieee1284 +Version: 0.2.8 +Release: 1 +License: GPL +Group: System Environment/Libraries +URL: http://cyberelk.net/tim/libieee1284/ +Source0: ftp://cyberelk.net/tim/data/%{name}/devel/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +BuildRequires: xmlto + +%description +The libieee1284 library is for communicating with parallel port devices. + +%package devel +Summary: Files for developing applications that use libieee1284. +Requires: %{name} = %{version} +Group: Development/Libraries + +%description devel +The header files, static library, libtool library and man pages for +developing applications that use libieee1284. + +%prep +%setup -q + +%build +%configure +make CFLAGS="$RPM_OPT_FLAGS" +# Also make the documentation in PDF format +make doc/interface.pdf + +%install +rm -rf %{buildroot} +%makeinstall + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc README COPYING TODO +%{_libdir}/*.so.* +%{_bindir}/* + +%files devel +%defattr(-,root,root) +%doc doc/interface.pdf +%{_includedir}/ieee1284.h +%{_libdir}/*.a +%{_libdir}/*.so +%{_libdir}/*.la +%{_mandir}/*/* + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%changelog +* Mon Jun 9 2003 Tim Waugh 0.2.8-1 +- Initial Red Hat Linux package. + +* Wed Feb 26 2003 Tim Waugh +- Use the Makefile rule to build the PDF. + +* Sat Aug 24 2002 Tim Waugh +- Ship test program. + +* Sat Aug 3 2002 Tim Waugh +- The archive is now distributed in .tar.bz2 format. + +* Fri Apr 26 2002 Tim Waugh +- No need to create man page symlinks any more. +- Build requires xmlto now, not docbook-utils. + +* Wed Apr 24 2002 Tim Waugh +- The tarball builds its own man pages now; just adjust the symlinks. +- Run ldconfig. + +* Mon Jan 7 2002 Tim Waugh +- Ship the PDF file with the devel package. + +* Thu Nov 15 2001 Tim Waugh +- Initial specfile. diff --git a/sources b/sources index e69de29..9c0c1bb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4bf1d9d15d2ecf0ea797becd29dbae75 libieee1284-0.2.8.tar.bz2