- 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.8.tar.bz2
libieee1284-0.2.9.tar.bz2

View File

@ -1,14 +1,14 @@
Summary: A library for interfacing IEEE 1284-compatible devices. Summary: A library for interfacing IEEE 1284-compatible devices.
Name: libieee1284 Name: libieee1284
Version: 0.2.8 Version: 0.2.9
Release: 4 Release: 1
License: GPL License: GPL
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://cyberelk.net/tim/libieee1284/ URL: http://cyberelk.net/tim/libieee1284/
Source0: ftp://cyberelk.net/tim/data/%{name}/devel/%{name}-%{version}.tar.bz2 Source0: ftp://cyberelk.net/tim/data/%{name}/devel/%{name}-%{version}.tar.bz2
Prereq: /sbin/ldconfig Prereq: /sbin/ldconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRequires: xmlto BuildRequires: xmlto, python-devel
%description %description
The libieee1284 library is for communicating with parallel port devices. 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 The header files, static library, libtool library and man pages for
developing applications that use libieee1284. 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 %prep
%setup -q %setup -q
@ -34,6 +42,7 @@ make doc/interface.pdf
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
%makeinstall %makeinstall
rm -f %{buildroot}%{_libdir}/python*/*/*a
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -53,11 +62,20 @@ rm -rf %{buildroot}
%{_libdir}/*.la %{_libdir}/*.la
%{_mandir}/*/* %{_mandir}/*/*
%files python
%defattr(-,root,root)
%{_libdir}/python*/*/*.so
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%changelog %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 * Wed Sep 22 2004 Than Ngo <than@redhat.com> 0.2.8-4
- add Prereq: /sbin/ldconfig - add Prereq: /sbin/ldconfig

View File

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