97 lines
2.8 KiB
RPMSpec
97 lines
2.8 KiB
RPMSpec
|
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 <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: 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 <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
|