c4f24f
Summary: A library for interfacing IEEE 1284-compatible devices
c4f24f
Name: libieee1284
c4f24f
Version: 0.2.11
c4f24f
Release: 15%{?dist}
c4f24f
License: GPLv2+
c4f24f
Group: System Environment/Libraries
c4f24f
URL: http://cyberelk.net/tim/libieee1284/
c4f24f
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
c4f24f
Patch1: libieee1284-strict-aliasing.patch
c4f24f
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c4f24f
BuildRequires: xmlto, python-devel
c4f24f
c4f24f
%description
c4f24f
The libieee1284 library is for communicating with parallel port devices.
c4f24f
c4f24f
%package devel
c4f24f
Summary: Files for developing applications that use libieee1284
c4f24f
Requires: %{name} = %{version}-%{release}
c4f24f
Group: Development/Libraries
c4f24f
c4f24f
%description devel
c4f24f
The header files, static library, libtool library and man pages for
c4f24f
developing applications that use libieee1284.
c4f24f
c4f24f
%package python
c4f24f
Summary: Python extension module for libieee1284
c4f24f
Requires: %{name} = %{version}-%{release}
c4f24f
Group: System Environment/Libraries
c4f24f
c4f24f
%description python
c4f24f
Python extension module for libieee1284.  To use libieee1284 with Python,
c4f24f
use 'import ieee1284'.
c4f24f
c4f24f
%prep
c4f24f
%setup -q
c4f24f
%patch1 -p1 -b .strict-aliasing
c4f24f
c4f24f
%build
c4f24f
touch doc/interface.xml
c4f24f
%configure
c4f24f
make %{?_smp_mflags}
c4f24f
c4f24f
%install
c4f24f
rm -rf %{buildroot}
c4f24f
make DESTDIR=%{buildroot} INSTALL="install -p" install
c4f24f
rm -f %{buildroot}%{_libdir}/python*/*/*a
c4f24f
rm -f %{buildroot}%{_libdir}/*.a
c4f24f
rm -f %{buildroot}%{_libdir}/*.la
c4f24f
c4f24f
%clean
c4f24f
rm -rf %{buildroot}
c4f24f
c4f24f
%files
c4f24f
%defattr(-,root,root)
c4f24f
%doc README COPYING TODO AUTHORS NEWS
c4f24f
%{_libdir}/*.so.*
c4f24f
%{_bindir}/*
c4f24f
c4f24f
%files devel
c4f24f
%defattr(-,root,root)
c4f24f
%{_includedir}/ieee1284.h
c4f24f
%{_libdir}/*.so
c4f24f
%{_mandir}/*/*
c4f24f
c4f24f
%files python
c4f24f
%defattr(-,root,root)
c4f24f
%{_libdir}/python*/*/*.so
c4f24f
c4f24f
%post -p /sbin/ldconfig
c4f24f
c4f24f
%postun -p /sbin/ldconfig
c4f24f
c4f24f
%changelog
c4f24f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.2.11-15
c4f24f
- Mass rebuild 2014-01-24
c4f24f
c4f24f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.2.11-14
c4f24f
- Mass rebuild 2013-12-27
c4f24f
c4f24f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-13
c4f24f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c4f24f
c4f24f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-12
c4f24f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c4f24f
c4f24f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-11
c4f24f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c4f24f
c4f24f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-10
c4f24f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c4f24f
c4f24f
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.11-9
c4f24f
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
c4f24f
c4f24f
* Wed Jun 23 2010 Tim Waugh <twaugh@redhat.com> 0.2.11-9
c4f24f
- The python sub-package now requires the exactly-matching main
c4f24f
  package (bug #605169).
c4f24f
- Fixed strict aliasing warnings (bug #605170).
c4f24f
c4f24f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-8
c4f24f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c4f24f
c4f24f
* Thu May 14 2009 Tim Waugh <twaugh@redhat.com> 0.2.11-7
c4f24f
- Package review fix: removed trailing dot in python package summary
c4f24f
  (bug #226031).
c4f24f
c4f24f
* Thu May 14 2009 Tim Waugh <twaugh@redhat.com> 0.2.11-6
c4f24f
- Package review fixes (bug #226031):
c4f24f
  - Drop prereq on ldconfig.
c4f24f
  - Removed trailing dot in devel package summary.
c4f24f
  - Fixed devel package requirement on main package.
c4f24f
  - Use SMP make flags.
c4f24f
  - Removed static libraries and la files.
c4f24f
  - Fixed source URL.
c4f24f
  - Make sure timestamps are preserved on install.
c4f24f
  - Ship AUTHORS and NEWS.
c4f24f
c4f24f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-5
c4f24f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c4f24f
c4f24f
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.2.11-4
c4f24f
- Rebuild for Python 2.6
c4f24f
c4f24f
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 0.2.11-3
c4f24f
- Don't build PDF documentation as this creates multilib conflicts.
c4f24f
c4f24f
* Wed Jan  9 2008 Tim Waugh <twaugh@redhat.com> 0.2.11-2
c4f24f
- Rebuilt.
c4f24f
c4f24f
* Tue Sep 18 2007 Tim Waugh <twaugh@redhat.com> 0.2.11-1
c4f24f
- 0.2.11 (bug #246406).
c4f24f
c4f24f
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 0.2.9-5
c4f24f
- Added dist tag.
c4f24f
- Fixed summary.
c4f24f
- Better buildroot tag.
c4f24f
- More specific license tag.
c4f24f
c4f24f
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 0.2.9-4
c4f24f
- rebuild against python 2.5
c4f24f
c4f24f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.2.9-3.2.2
c4f24f
- rebuild
c4f24f
c4f24f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.2.9-3.2.1
c4f24f
- bump again for double-long bug on ppc(64)
c4f24f
c4f24f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.2.9-3.2
c4f24f
- rebuilt for new gcc4.1 snapshot and glibc changes
c4f24f
c4f24f
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c4f24f
- rebuilt
c4f24f
c4f24f
* Tue Jul 19 2005 Tim Waugh <twaugh@redhat.com> 0.2.9-3
c4f24f
- Rebuild man pages.
c4f24f
c4f24f
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 0.2.9-2
c4f24f
- Rebuild for new GCC.
c4f24f
c4f24f
* Thu Jan 20 2005 Tim Waugh <twaugh@redhat.com> 0.2.9-1
c4f24f
- 0.2.9.
c4f24f
- Build requires python-devel.
c4f24f
- Ship Python extension module.
c4f24f
c4f24f
* Wed Sep 22 2004 Than Ngo <than@redhat.com> 0.2.8-4 
c4f24f
- add Prereq: /sbin/ldconfig
c4f24f
c4f24f
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
c4f24f
- rebuilt
c4f24f
c4f24f
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
c4f24f
- rebuilt
c4f24f
c4f24f
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
c4f24f
- rebuilt
c4f24f
c4f24f
* Mon Jun  9 2003 Tim Waugh <twaugh@redhat.com> 0.2.8-1
c4f24f
- Initial Red Hat Linux package.
c4f24f
c4f24f
* Wed Feb 26 2003 Tim Waugh <twaugh@redhat.com>
c4f24f
- Use the Makefile rule to build the PDF.
c4f24f
c4f24f
* Sat Aug 24 2002 Tim Waugh <twaugh@redhat.com>
c4f24f
- Ship test program.
c4f24f
c4f24f
* Sat Aug  3 2002 Tim Waugh <twaugh@redhat.com>
c4f24f
- The archive is now distributed in .tar.bz2 format.
c4f24f
c4f24f
* Fri Apr 26 2002 Tim Waugh <twaugh@redhat.com>
c4f24f
- No need to create man page symlinks any more.
c4f24f
- Build requires xmlto now, not docbook-utils.
c4f24f
c4f24f
* Wed Apr 24 2002 Tim Waugh <twaugh@redhat.com>
c4f24f
- The tarball builds its own man pages now; just adjust the symlinks.
c4f24f
- Run ldconfig.
c4f24f
c4f24f
* Mon Jan  7 2002 Tim Waugh <twaugh@redhat.com>
c4f24f
- Ship the PDF file with the devel package.
c4f24f
c4f24f
* Thu Nov 15 2001 Tim Waugh <twaugh@redhat.com>
c4f24f
- Initial specfile.