94febe0
Summary: A library for interfacing IEEE 1284-compatible devices
cvsdist 6e8e3bd
Name: libieee1284
924c7ef
Version: 0.2.11
b8f0104
Release: 20%{?dist}
94febe0
License: GPLv2+
cvsdist 6e8e3bd
Group: System Environment/Libraries
cvsdist 6e8e3bd
URL: http://cyberelk.net/tim/libieee1284/
ddf3298
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
cdcb32e
Patch1: libieee1284-strict-aliasing.patch
eb0428f
Patch2: libieee1284-aarch64.patch
94febe0
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
ddf3298
Summary: Files for developing applications that use libieee1284
ddf3298
Requires: %{name} = %{version}-%{release}
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
403b89d
Summary: Python extension module for libieee1284
cdcb32e
Requires: %{name} = %{version}-%{release}
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
eb0428f
# Fixed strict aliasing warnings (bug #605170).
cdcb32e
%patch1 -p1 -b .strict-aliasing
cvsdist 6e8e3bd
eb0428f
# Add support for building on aarch64 (bug #925774).
eb0428f
%patch2 -p1 -b .aarch64
eb0428f
cvsdist 6e8e3bd
%build
ee678f8
touch doc/interface.xml
cvsdist 6e8e3bd
%configure
ddf3298
make %{?_smp_mflags}
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%install
cvsdist 6e8e3bd
rm -rf %{buildroot}
ddf3298
make DESTDIR=%{buildroot} INSTALL="install -p" install
6161e5c
rm -f %{buildroot}%{_libdir}/python*/*/*a
ddf3298
rm -f %{buildroot}%{_libdir}/*.a
ddf3298
rm -f %{buildroot}%{_libdir}/*.la
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%clean
cvsdist 6e8e3bd
rm -rf %{buildroot}
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%files
cvsdist 6e8e3bd
%defattr(-,root,root)
ddf3298
%doc README COPYING TODO AUTHORS NEWS
cvsdist 6e8e3bd
%{_libdir}/*.so.*
cvsdist 6e8e3bd
%{_bindir}/*
cvsdist 6e8e3bd
cvsdist 6e8e3bd
%files devel
cvsdist 6e8e3bd
%defattr(-,root,root)
cvsdist 6e8e3bd
%{_includedir}/ieee1284.h
cvsdist 6e8e3bd
%{_libdir}/*.so
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
b8f0104
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-20
b8f0104
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b8f0104
df93fcb
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-19
df93fcb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
df93fcb
222c737
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-18
222c737
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
222c737
3636dd0
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-17
3636dd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3636dd0
3eeb593
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-16
3eeb593
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3eeb593
f247664
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-15
f247664
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f247664
eb0428f
* Tue Apr 30 2013 Tim Waugh <twaugh@redhat.com> 0.2.11-14
eb0428f
- Add support for building on aarch64 (bug #925774).
eb0428f
f558e2e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-13
f558e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f558e2e
b998538
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-12
b998538
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b998538
5df24b0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-11
5df24b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5df24b0
67bda6e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-10
67bda6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
67bda6e
79f5f76
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.11-9
79f5f76
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
79f5f76
cdcb32e
* Wed Jun 23 2010 Tim Waugh <twaugh@redhat.com> 0.2.11-9
cdcb32e
- The python sub-package now requires the exactly-matching main
cdcb32e
  package (bug #605169).
cdcb32e
- Fixed strict aliasing warnings (bug #605170).
cdcb32e
ac4e662
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-8
ac4e662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ac4e662
403b89d
* Thu May 14 2009 Tim Waugh <twaugh@redhat.com> 0.2.11-7
403b89d
- Package review fix: removed trailing dot in python package summary
403b89d
  (bug #226031).
403b89d
ddf3298
* Thu May 14 2009 Tim Waugh <twaugh@redhat.com> 0.2.11-6
8e2d1e4
- Package review fixes (bug #226031):
ddf3298
  - Drop prereq on ldconfig.
ddf3298
  - Removed trailing dot in devel package summary.
ddf3298
  - Fixed devel package requirement on main package.
ddf3298
  - Use SMP make flags.
ddf3298
  - Removed static libraries and la files.
ddf3298
  - Fixed source URL.
ddf3298
  - Make sure timestamps are preserved on install.
ddf3298
  - Ship AUTHORS and NEWS.
ddf3298
5dd5f76
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-5
5dd5f76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5dd5f76
37335d4
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.2.11-4
37335d4
- Rebuild for Python 2.6
37335d4
31b79ce
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 0.2.11-3
31b79ce
- Don't build PDF documentation as this creates multilib conflicts.
31b79ce
0294225
* Wed Jan  9 2008 Tim Waugh <twaugh@redhat.com> 0.2.11-2
0294225
- Rebuilt.
0294225
924c7ef
* Tue Sep 18 2007 Tim Waugh <twaugh@redhat.com> 0.2.11-1
924c7ef
- 0.2.11 (bug #246406).
924c7ef
94febe0
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 0.2.9-5
94febe0
- Added dist tag.
94febe0
- Fixed summary.
94febe0
- Better buildroot tag.
94febe0
- More specific license tag.
94febe0
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.