From 296745dc691a13d94a10d3fbe81028c0046b36d7 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:38:05 +0100 Subject: [PATCH] update to 0.2.11 [release 0.2.11-1mamba;Tue Jul 19 2011] --- README.md | 2 + libieee1284.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 libieee1284.spec diff --git a/README.md b/README.md index 196aab1..3c0426e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libieee1284 +This library is intended to be used by applications that need to communicate with (or at least identify) devices that are attached via a parallel port. + diff --git a/libieee1284.spec b/libieee1284.spec new file mode 100644 index 0000000..bc41806 --- /dev/null +++ b/libieee1284.spec @@ -0,0 +1,96 @@ +Name: libieee1284 +Version: 0.2.11 +Release: 1mamba +Summary: A library to communicate with devices that are attached via a parallel port +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://cyberelk.net/tim/libieee1284/ +Source: http://downloads.sourceforge.net/project/libieee1284/libieee1284/%{version}/libieee1284-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This library is intended to be used by applications that need to communicate with (or at least identify) devices that are attached via a parallel port. + +%package devel +Summary: Devel package for libieee1284 +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +This library is intended to be used by applications that need to communicate with (or at least identify) devices that are attached via a parallel port. + +This package contains static libraries and header files need for development. + +%package -n python-%{name} +Summary: Python extension module for libieee1284 +Group: System/Libraries/Python +Requires: %{name} = %{version} + +%description -n python-%{name} +This library is intended to be used by applications that need to communicate with (or at least identify) devices that are attached via a parallel port. + +This package contains the python extension module for libieee1284. +To use libieee1284 with Python, use 'import ieee1284'. + +%prep +%setup -q + +%build +%configure +%make +#make doc/interface.pdf + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +# remove uppackaged files +rm -f %{buildroot}%{_libdir}/python%{pyver}/site-packages/*.{a,la} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_bindir}/libieee1284_test +%{_includedir}/ieee1284.h +%{_libdir}/libieee1284.a +%{_libdir}/libieee1284.la +%{_libdir}/libieee1284.so +%{_mandir}/man3/* +#%doc doc/interface.pdf +%doc ChangeLog NEWS README TODO + +%files -n python-%{name} +%defattr(-,root,root) +%{python_sitearch}/ieee1284module.* + +%changelog +* Tue Jul 19 2011 Automatic Build System 0.2.11-1mamba +- update to 0.2.11 + +* Wed Mar 19 2008 Silvan Calarco 0.2.10-2mamba +- specfile updates + +* Wed Jun 08 2005 Davide Madrisan 0.2.10-1qilnx +- update to version 0.2.10 by autospec +- specfile updates/fixes +- added package with pyhon extensions + +* Thu Jan 08 2004 Silvan Calarco 0.2.8-1qilnx +- first build