2024-01-06 04:38:05 +01:00
|
|
|
Name: libieee1284
|
|
|
|
Version: 0.2.11
|
2024-01-06 04:38:05 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 04:38:05 +01:00
|
|
|
Summary: A library to communicate with devices that are attached via a parallel port
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
2024-01-06 04:38:05 +01:00
|
|
|
BuildRequires: ldconfig
|
|
|
|
BuildRequires: python3
|
2024-01-06 04:38:05 +01:00
|
|
|
## 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'.
|
|
|
|
|
2024-01-06 04:38:05 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:38:05 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 04:38:05 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
2024-01-06 04:38:05 +01:00
|
|
|
|
|
|
|
%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)
|
2024-01-06 04:38:05 +01:00
|
|
|
%{_libdir}/libieee1284.so.*
|
2024-01-06 04:38:05 +01:00
|
|
|
%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
|
2024-01-06 04:38:05 +01:00
|
|
|
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.11-2mamba
|
|
|
|
- rebuilt with debug package and aarch64 build fix
|
|
|
|
|
2024-01-06 04:38:05 +01:00
|
|
|
* Tue Jul 19 2011 Automatic Build System <autodist@mambasoft.it> 0.2.11-1mamba
|
|
|
|
- update to 0.2.11
|
|
|
|
|
|
|
|
* Wed Mar 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.10-2mamba
|
|
|
|
- specfile updates
|
|
|
|
|
|
|
|
* Wed Jun 08 2005 Davide Madrisan <davide.madrisan@qilinux.it> 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 <silvan.calarco@mambasoft.it> 0.2.8-1qilnx
|
|
|
|
- first build
|