103 lines
3.0 KiB
RPMSpec
103 lines
3.0 KiB
RPMSpec
Name: libieee1284
|
|
Version: 0.2.11
|
|
Release: 2mamba
|
|
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
|
|
BuildRequires: ldconfig
|
|
BuildRequires: python3
|
|
## 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'.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
|
|
|
%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}/libieee1284.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
|
|
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.11-2mamba
|
|
- rebuilt with debug package and aarch64 build fix
|
|
|
|
* 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
|