1d50762
Summary: A library for interfacing IEEE 1284-compatible devices
cvsdist 6e8e3bd
Name: libieee1284
1d50762
Version: 0.2.11
1d50762
Release: 1%{?dist}
1d50762
License: GPLv2+
cvsdist 6e8e3bd
Group: System Environment/Libraries
cvsdist 6e8e3bd
URL: http://cyberelk.net/tim/libieee1284/
cvsdist 6e8e3bd
Source0: ftp://cyberelk.net/tim/data/%{name}/devel/%{name}-%{version}.tar.bz2
a78d740
Prereq: /sbin/ldconfig
1d50762
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6161e5c
BuildRequires: xmlto, python-devel
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%description
cvsdist 6e8e3bd
The libieee1284 library is for communicating with parallel port devices.
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%package devel
cvsdist 6e8e3bd
Summary: Files for developing applications that use libieee1284.
cvsdist 6e8e3bd
Requires: %{name} = %{version}
cvsdist 6e8e3bd
Group: Development/Libraries
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%description devel
cvsdist 6e8e3bd
The header files, static library, libtool library and man pages for
cvsdist 6e8e3bd
developing applications that use libieee1284.
cvsdist 6e8e3bd
6161e5c
%package python
6161e5c
Summary: Python extension module for libieee1284.
6161e5c
Group: System Environment/Libraries
6161e5c
6161e5c
%description python
6161e5c
Python extension module for libieee1284.  To use libieee1284 with Python,
6161e5c
use 'import ieee1284'.
6161e5c
cvsdist 6e8e3bd
%prep
cvsdist 6e8e3bd
%setup -q
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%build
ee678f8
touch doc/interface.xml
cvsdist 6e8e3bd
%configure
cvsdist 6e8e3bd
make CFLAGS="$RPM_OPT_FLAGS"
cvsdist 6e8e3bd
# Also make the documentation in PDF format
cvsdist 6e8e3bd
make doc/interface.pdf
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%install
cvsdist 6e8e3bd
rm -rf %{buildroot}
cvsdist 6e8e3bd
%makeinstall
6161e5c
rm -f %{buildroot}%{_libdir}/python*/*/*a
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%clean
cvsdist 6e8e3bd
rm -rf %{buildroot}
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%files
cvsdist 6e8e3bd
%defattr(-,root,root)
cvsdist 6e8e3bd
%doc README COPYING TODO
cvsdist 6e8e3bd
%{_libdir}/*.so.*
cvsdist 6e8e3bd
%{_bindir}/*
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%files devel
cvsdist 6e8e3bd
%defattr(-,root,root)
cvsdist 6e8e3bd
%doc doc/interface.pdf
cvsdist 6e8e3bd
%{_includedir}/ieee1284.h
cvsdist 6e8e3bd
%{_libdir}/*.a
cvsdist 6e8e3bd
%{_libdir}/*.so
cvsdist 6e8e3bd
%{_libdir}/*.la
cvsdist 6e8e3bd
%{_mandir}/*/*
cvsdist 6e8e3bd
6161e5c
%files python
6161e5c
%defattr(-,root,root)
6161e5c
%{_libdir}/python*/*/*.so
6161e5c
cvsdist 6e8e3bd
%post -p /sbin/ldconfig
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%postun -p /sbin/ldconfig
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%changelog
1d50762
* Tue Sep 18 2007 Tim Waugh <twaugh@redhat.com> 0.2.11-1
1d50762
- 0.2.11 (bug #246406).
1d50762
1d50762
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 0.2.9-5
1d50762
- Added dist tag.
1d50762
- Fixed summary.
1d50762
- Better buildroot tag.
1d50762
- More specific license tag.
1d50762
75abaf2
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 0.2.9-4
75abaf2
- rebuild against python 2.5
75abaf2
7546229
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.2.9-3.2.2
7546229
- rebuild
7546229
2a34f15
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.2.9-3.2.1
2a34f15
- bump again for double-long bug on ppc(64)
2a34f15
6730c71
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.2.9-3.2
6730c71
- rebuilt for new gcc4.1 snapshot and glibc changes
6730c71
45f97f2
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
45f97f2
- rebuilt
45f97f2
ee678f8
* Tue Jul 19 2005 Tim Waugh <twaugh@redhat.com> 0.2.9-3
ee678f8
- Rebuild man pages.
ee678f8
2e0f3e8
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 0.2.9-2
2e0f3e8
- Rebuild for new GCC.
2e0f3e8
6161e5c
* Thu Jan 20 2005 Tim Waugh <twaugh@redhat.com> 0.2.9-1
6161e5c
- 0.2.9.
6161e5c
- Build requires python-devel.
6161e5c
- Ship Python extension module.
6161e5c
a78d740
* Wed Sep 22 2004 Than Ngo <than@redhat.com> 0.2.8-4 
a78d740
- add Prereq: /sbin/ldconfig
a78d740
cvsdist 29451f2
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 29451f2
- rebuilt
cvsdist 29451f2
cvsdist bd7e0f3
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist bd7e0f3
- rebuilt
cvsdist bd7e0f3
cvsdist bd7e0f3
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist bd7e0f3
- rebuilt
cvsdist bd7e0f3
cvsdist 6e8e3bd
* Mon Jun  9 2003 Tim Waugh <twaugh@redhat.com> 0.2.8-1
cvsdist 6e8e3bd
- Initial Red Hat Linux package.
cvsdist 6e8e3bd
cvsdist 6e8e3bd
* Wed Feb 26 2003 Tim Waugh <twaugh@redhat.com>
cvsdist 6e8e3bd
- Use the Makefile rule to build the PDF.
cvsdist 6e8e3bd
cvsdist 6e8e3bd
* Sat Aug 24 2002 Tim Waugh <twaugh@redhat.com>
cvsdist 6e8e3bd
- Ship test program.
cvsdist 6e8e3bd
cvsdist 6e8e3bd
* Sat Aug  3 2002 Tim Waugh <twaugh@redhat.com>
cvsdist 6e8e3bd
- The archive is now distributed in .tar.bz2 format.
cvsdist 6e8e3bd
cvsdist 6e8e3bd
* Fri Apr 26 2002 Tim Waugh <twaugh@redhat.com>
cvsdist 6e8e3bd
- No need to create man page symlinks any more.
cvsdist 6e8e3bd
- Build requires xmlto now, not docbook-utils.
cvsdist 6e8e3bd
cvsdist 6e8e3bd
* Wed Apr 24 2002 Tim Waugh <twaugh@redhat.com>
cvsdist 6e8e3bd
- The tarball builds its own man pages now; just adjust the symlinks.
cvsdist 6e8e3bd
- Run ldconfig.
cvsdist 6e8e3bd
cvsdist 6e8e3bd
* Mon Jan  7 2002 Tim Waugh <twaugh@redhat.com>
cvsdist 6e8e3bd
- Ship the PDF file with the devel package.
cvsdist 6e8e3bd
cvsdist 6e8e3bd
* Thu Nov 15 2001 Tim Waugh <twaugh@redhat.com>
cvsdist 6e8e3bd
- Initial specfile.