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