Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37383926
en ru br
Репозитории ALT
S:0.12.0-alt2
5.1: 0.10.0-alt0.M51.1
4.1: 0.7.22-alt3.1
4.0: 0.7.22-alt3
3.0: 0.7.22-alt2
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: libcomedi

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable doc

%define oname comedilib
Name: libcomedi
Version: 0.12.0
Release: alt1
%define oversion %(echo "%version" | sed -e "s|\\.|_|g")

Summary: Data Acquisition library for the Comedi DAQ driver
Summary(ru_RU.UTF-8): п▒п╦п╠п╩п╦п╬я┌п╣п╨п╟ п©п╬п╩я┐я┤п╣п╫п╦я▐ п╢п╟п╫п╫я▀я┘ п╢п╩я▐ п╢я─п╟п╧п╡п╣я─п╟ Comedi DAQ

License: LGPL
Group: Development/Other
Url: http://www.comedi.org

Packager: Vitaly Lipatov <lav at altlinux.ru>
AutoReq: noshell

# Source-url: https://github.com/Linux-Comedi/comedilib/archive/r%oversion.tar.gz

Source: %oname-%version.tar
Source1: http://www.comedi.org/download/comedi_examples.tar.gz
Patch: %name-as-needed.patch

# for correct _localstatedir

BuildRequires: rpm-macros-intro-conflicts

# manually removed: hostinfo eric gcc-g77

# Automatically added by buildreq on Sun Nov 07 2004
BuildRequires: flex gcc-c++ libstdc++-devel python-devel python-modules-encodings swig

%if_enabled doc
BuildRequires: docbook-utils-print xmlto dblatex
%endif

%description
The Linux Control and Measurement Device Interface Library.
Comedilib is the library for the Comedi data acquisition driver
for Linux.  It allows Linux processes to acquire data from
supported DAQ cards, such as those from National Instruments.

%description -l ru_RU.UTF-8
Comedilib -- я█я┌п╬ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╟ п╢п╩я▐ п╢я─п╟п╧п╡п╣я─п╟ п©п╬п╩я┐я┤п╣п╫п╦я▐ п╢п╟п╫п╫я▀я┘ Comedi п©п╬п╢ Linux.
п·п╫п╟ п©п╬п╥п╡п╬п╩я▐п╣я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦п╪ п©я─п╬я├п╣я│я│п╟п╪ п©п╬п╩я┐я┤п╟я┌я▄ п╢п╟п╫п╫я▀п╣ п╬я┌ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀я┘
п╨п╟я─я┌ DAQ, п╫п╟п©я─п╦п╪п╣я─, п©я─п╬п╦п╥п╡п╬п╢п╦п╪я▀я┘ National Instruments.

%package devel
Summary: The files needed for %name application development
Summary(ru_RU.UTF-8): п╓п╟п╧п╩я▀, я┌я─п╣п╠я┐я▌я┴п╦п╣я│я▐ п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п©я─п╦п╩п╬п╤п╣п╫п╦п╧ я│ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣п╪ %name
Group: Development/C
Requires: %name = %version-%release
# https://bugzilla.altlinux.org/show_bug.cgi?id=19191
#Requires: kernel-headers-comedi

%description devel
The %name-devel package contains the necessary include files
for developing applications with %name.

See demo dir in the source repository for examples.

%description devel -l ru_RU.UTF-8
п÷п╟п╨п╣я┌ %name-devel я│п╬п╢п╣я─п╤п╦я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ п╥п╟пЁп╬п╩п╬п╡п╬я┤п╫я▀п╣ я└п╟п╧п╩я▀
п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п©я─п╦п╩п╬п╤п╣п╫п╦п╧, п╨п╬я┌п╬я─я▀п╣ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ %name.

п÷п╬я│п╪п╬я┌я─п╦я┌п╣ п╡ п╨п╟я┌п╟п╩п╬пЁ demo п╡ п╦я│я┘п╬п╢п╫п╦п╨п╟я┘ п©я─п╬п╣п╨я┌п╟, я┌п╟п╪ п╣я│я┌я▄ п©я─п╦п╪п╣я─я▀.

%package -n python-module-comedi
Summary: Python interface for %name
Group: Development/Python
Requires: %name = %version-%release
Provides: %name-python
Obsoletes: %name-python
%setup_python_module comedi

%description -n python-module-comedi
Python interface for %name

%package devel-static
Summary: Static library for %name application development
Summary(ru_RU.UTF-8): п║я┌п╟я┌п╦я┤п╣я│п╨п╟я▐ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╟ п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п©я─п╦п╩п╬п╤п╣п╫п╦п╧ я│ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣п╪ %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
The %name-devel-static package contains the static library
for developing applications with %name
%description devel-static -l ru_RU.UTF-8
п÷п╟п╨п╣я┌ %name-devel-static я│п╬п╢п╣я─п╤п╦я┌ я│я┌п╟я┌п╦я┤п╣я│п╨я┐я▌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐
п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п©я─п╦п╩п╬п╤п╣п╫п╦п╧, п╨п╬я┌п╬я─я▀п╣ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ %name.

%prep
%setup -n %oname-%version
#patch
# unpack examples
#tar xfz %SOURCE1
#__subst 's|comedi_data_read_n|comedi_data_read_n_obsolete|' ./comedi_examples/monitor/sv.c
#__subst 's|demo doc|demo|' Makefile.in

%build
%autoreconf
%configure --disable-ruby-binding
%make_build
#cd comedi_examples/monitor
# make
#cd -

%install
%makeinstall_std
#install -d %buildroot%_datadir/%name/examples
#install -s -D -m 755 comedi_examples/monitor/monitor %buildroot%_bindir/comedi_monitor
#mv %buildroot%_datadir/comedilib %buildroot%_datadir/%name

#cd comedi_examples

#cp --target-directory %buildroot%_datadir/%name/examples/$i * -R
#cd -
#install -d %buildroot%_datadir/%name/demo/perl
#cd demo
#cp --target-directory %buildroot%_datadir/%name/demo/$i $(ls | grep -v \\.o) -R
#cd -

%files
%doc AUTHORS README ChangeLog NEWS doc/FAQ
%_libdir/%name.so.*
%_sbindir/comedi_config
#exclude %_bindir/%{name}_monitor
%_bindir/comedi_board_info
%_bindir/comedi_test
#_sysconfdir/hotplug/usb/*
%dir %_sysconfdir/pcmcia
%config(noreplace) %_sysconfdir/pcmcia/*
#_sysconfdir/pcmcia/*
%_man1dir/*
%_man7dir/*
%_man8dir/*

%files -n python-module-comedi
%python_sitelibdir/*.so
%python_sitelibdir/comedi.py*

%files devel
#doc demo
#_bindir/comedi_monitor
%_includedir/comedi*
%_libdir/%name.so
%_docdir/%oname/
%_pkgconfigdir/*
%if_enabled doc
%_man3dir/*
%endif

%files devel-static
%_libdir/%name.a
#_libdir/_comedi.a
#_libdir/_comedi.la

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin