2024-01-06 04:01:21 +01:00
|
|
|
Name: libcomedi
|
2024-01-06 04:01:22 +01:00
|
|
|
Version: 0.12.0
|
2024-01-06 04:01:21 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A user-space library that provides a developer-friendly interface to Comedi devices
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:01:22 +01:00
|
|
|
URL: https://www.comedi.org
|
2024-01-06 04:01:21 +01:00
|
|
|
Source: http://www.comedi.org/download//comedilib-%{version}.tar.gz
|
|
|
|
License: LGPL
|
|
|
|
BuildRequires: swig
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: docbook2X
|
|
|
|
BuildRequires: docbook-utils
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
# FIXME
|
|
|
|
#checking for /usr/lib/ruby/1.8/i586-linux/ruby.h... [no build...]
|
|
|
|
#configure: WARNING: ruby.h not found, disabling Ruby binding
|
|
|
|
#configure: WARNING: No hotplug mechanism will we installed. Consult ./configure --help if you want hotplug.
|
|
|
|
# ?????
|
|
|
|
# --enable-etc-hotplug enable old hotplug in /etc/hotplug
|
|
|
|
# --with-udev-hotplug=[/lib] enable udev hotplug
|
2024-01-06 04:01:22 +01:00
|
|
|
|
2024-01-06 04:01:21 +01:00
|
|
|
%description
|
|
|
|
Comedilib is a user-space library that provides a developer-friendly interface to Comedi devices.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
2024-01-06 04:01:22 +01:00
|
|
|
%description devel
|
2024-01-06 04:01:21 +01:00
|
|
|
Comedilib is a user-space library that provides a developer-friendly interface to Comedi devices.
|
2024-01-06 04:01:22 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:01:21 +01:00
|
|
|
|
|
|
|
SCXI convenience library
|
|
|
|
%package -n libscxi
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: SCXI is a National Instruments standard for signal conditioning.
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description -n libscxi
|
2024-01-06 04:01:22 +01:00
|
|
|
SCXI is a National Instruments standard for signal conditioning. It encompasses a set of hardware that has the capability of reading and writing multiple types of channels via a regular data acqusition card.
|
|
|
|
A SCXI system consists of a chassis with one or more SCXI modules located inside. The system is connected via a cable to the data acquisition system, which communicates with the modules This package contains %{name}'s SCXI support.
|
2024-01-06 04:01:21 +01:00
|
|
|
|
|
|
|
%package -n libscxi-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for libscxi
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description -n libscxi-devel
|
2024-01-06 04:01:22 +01:00
|
|
|
SCXI is a National Instruments standard for signal conditioning. It encompasses a set of hardware that has the capability of reading and writing multiple types of channels via a regular data acqusition card.
|
|
|
|
A SCXI system consists of a chassis with one or more SCXI modules located inside. The system is connected via a cable to the data acquisition system, which communicates with the modules
|
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:01:21 +01:00
|
|
|
|
|
|
|
%package -n python-comedilib
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description -n python-comedilib
|
|
|
|
Comedilib is a user-space library that provides a developer-friendly interface to Comedi devices.
|
|
|
|
This package contains python bindings for %{name}.
|
|
|
|
|
|
|
|
%package docs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description docs
|
|
|
|
Comedilib is a user-space library that provides a developer-friendly interface to Comedi devices.
|
|
|
|
This package contains documentation for %{name}.
|
2024-01-06 04:01:22 +01:00
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:01:21 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n comedilib-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-scxi
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeoldinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libscxi -p /sbin/ldconfig
|
|
|
|
%postun -n libscxi -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
#%{_sysconfdir}/hotplug/usb/usbdux
|
|
|
|
%{_sysconfdir}/pcmcia/*
|
|
|
|
%{_bindir}/comedi_board_info
|
|
|
|
%{_bindir}/comedi_test
|
|
|
|
#%{_datadir}/comedilib/*.conf
|
|
|
|
#%{_datadir}/usb/usbdux_firmware.hex
|
|
|
|
%{_sbindir}/comedi_config
|
|
|
|
#%{_libdir}/libcomedi-*.so
|
|
|
|
%{_libdir}/libcomedi.so.*
|
|
|
|
%{_mandir}/man1/comedi_board_info.1.gz
|
|
|
|
%{_mandir}/man7/comedi.7.gz
|
|
|
|
%{_mandir}/man8/comedi_config.8.gz
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%exclude %{_includedir}/comedilib_scxi.h
|
|
|
|
%{_includedir}/*.hpp
|
|
|
|
%{_libdir}/libcomedi.a
|
|
|
|
%{_libdir}/libcomedi.la
|
|
|
|
%{_libdir}/libcomedi.so
|
2024-01-06 04:01:22 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2024-01-06 04:01:21 +01:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%files -n libscxi
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libscxi.so.*
|
|
|
|
|
|
|
|
%files -n libscxi-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/comedilib_scxi.h
|
|
|
|
%{_libdir}/libscxi.a
|
|
|
|
%{_libdir}/libscxi.la
|
|
|
|
%{_libdir}/libscxi.so
|
|
|
|
|
|
|
|
%files -n python-comedilib
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python_sitearch}/_comedi.a
|
|
|
|
%{python_sitearch}/_comedi.la
|
|
|
|
%{python_sitearch}/_comedi.so
|
|
|
|
%{python_sitearch}/comedi.py
|
|
|
|
|
|
|
|
%files docs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_docdir}/comedilib
|
|
|
|
%{_docdir}/comedilib/comedilib.pdf
|
|
|
|
%{_docdir}/comedilib/*.conf
|
|
|
|
%{_docdir}/comedilib/html/comedilib.css
|
|
|
|
%{_docdir}/comedilib/html/*.gif
|
|
|
|
%{_docdir}/comedilib/html/*.html
|
|
|
|
%doc INSTALL README
|
|
|
|
%doc scxi/README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:01:22 +01:00
|
|
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:21 +01:00
|
|
|
* Thu Sep 06 2012 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 23 2012 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 19 2008 gil <puntogil@libero.it> 0.8.1-1mamba
|
|
|
|
- update to 0.8.1
|
|
|
|
- added packges: docs; python-comedilib
|
|
|
|
- WARNING NOT TESTED
|
|
|
|
|
|
|
|
* Wed Jul 13 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.22-1qilnx
|
|
|
|
- package created by autospec
|