- Build requires python-devel.
- Ship Python extension module.
This commit is contained in:
Tim Waugh 2005-01-20 14:51:27 +00:00
parent a78d7400d2
commit 6161e5c854
3 changed files with 23 additions and 3 deletions

View File

@ -1 +1,2 @@
libieee1284-0.2.8.tar.bz2
libieee1284-0.2.9.tar.bz2

View File

@ -1,14 +1,14 @@
Summary: A library for interfacing IEEE 1284-compatible devices.
Name: libieee1284
Version: 0.2.8
Release: 4
Version: 0.2.9
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
Prereq: /sbin/ldconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRequires: xmlto
BuildRequires: xmlto, python-devel
%description
The libieee1284 library is for communicating with parallel port devices.
@ -22,6 +22,14 @@ Group: Development/Libraries
The header files, static library, libtool library and man pages for
developing applications that use libieee1284.
%package python
Summary: Python extension module for libieee1284.
Group: System Environment/Libraries
%description python
Python extension module for libieee1284. To use libieee1284 with Python,
use 'import ieee1284'.
%prep
%setup -q
@ -34,6 +42,7 @@ make doc/interface.pdf
%install
rm -rf %{buildroot}
%makeinstall
rm -f %{buildroot}%{_libdir}/python*/*/*a
%clean
rm -rf %{buildroot}
@ -53,11 +62,20 @@ rm -rf %{buildroot}
%{_libdir}/*.la
%{_mandir}/*/*
%files python
%defattr(-,root,root)
%{_libdir}/python*/*/*.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Thu Jan 20 2005 Tim Waugh <twaugh@redhat.com> 0.2.9-1
- 0.2.9.
- Build requires python-devel.
- Ship Python extension module.
* Wed Sep 22 2004 Than Ngo <than@redhat.com> 0.2.8-4
- add Prereq: /sbin/ldconfig

View File

@ -1 +1,2 @@
4bf1d9d15d2ecf0ea797becd29dbae75 libieee1284-0.2.8.tar.bz2
83ea1d5463a8f47ba5121cf38973b4a4 libieee1284-0.2.9.tar.bz2