1 Summary: Data Acquisition library for the Comedi DAQ driver.
6 Group: System Environment/Kernel
7 URL: http://www.comedi.org/
8 Source: http://www.comedi.org/comedi/download/comedilib-@VERSION@.tar.gz
9 BuildRoot: /var/tmp/%{name}-buildroot
10 Prereq: /sbin/ldconfig
15 Comedilib is the library for the Comedi data acquisition driver
16 for Linux. It allows Linux processes to acquire data from
17 supported DAQ cards, such as those from National Instruments.
20 Summary: Libraries/include files for Comedi
21 Group: Development/Libraries
24 Comedilib is a library for using Comedi, a driver interface for data
31 #called when the rpm is built
32 CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
36 --datadir=%{_datadir} \
37 --sysconfdir=%{_sysconfdir} \
38 --disable-dependency-tracking
44 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
48 # Clean out files that should not be part of the rpm.
49 # This is the recommended way of dealing with it for RH8
50 #rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
51 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
54 mv $RPM_BUILD_ROOT%{_datadir}/comedilib $RPM_BUILD_ROOT%{_datadir}/comedilib-devel
63 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
66 %defattr(-,root,root,-)
67 %doc AUTHORS COPYING README TODO ChangeLog NEWS
68 %{_libdir}/libcomedi.so
69 %{_libdir}/libcomedi.so.*
70 %{_libdir}/python2.2/site-packages/*.so
71 %{_libdir}/python2.2/site-packages/comedi.py
78 %defattr(-,root,root,-)
79 %{_libdir}/libcomedi.a
80 %{_includedir}/comedi*.h
82 %{_datadir}/comedilib-devel/html/*
85 * Tue Jun 03 2002 David Schleef <ds@schleef.org>
86 - update for new build system
88 * Wed Feb 21 2002 Tim Ousley <tim.ousley@ni.com>
89 - initial build of comedilib RPM