116 lines
3.3 KiB
RPMSpec
116 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package libiec61883 (Version 1.1.0)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: libiec61883
|
|
BuildRequires: libraw1394-devel pkgconfig
|
|
Version: 1.1.0
|
|
Release: 1
|
|
License: GPL
|
|
Summary: implementation of IEC 61883
|
|
URL: http://www.linux1394.org/
|
|
Group: System/Kernel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Source0: http://www.linux1394.org/files/libiec61883/%{name}-%{version}.tar.bz2
|
|
|
|
%description
|
|
This library is an implementation of IEC 61883, part 1 (CIP, plug
|
|
registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6
|
|
(AMDTP). Outside of IIDC, nearly all FireWire multimedia devices use
|
|
IEC 61883 protocols.
|
|
|
|
The libiec61883 library provides a higher level API for streaming DV,
|
|
MPEG-2 and audio over Linux IEEE 1394. This includes both reception and
|
|
transmission. It uses the new "rawiso" API of libraw1394, which
|
|
transparently provides mmap-ed DMA for efficient data transfer. It also
|
|
represents the third generation of I/O technology for Linux 1394 for
|
|
these media types thereby removing the complexities of additional
|
|
kernel modules, /dev nodes, and procfs. It also consolidates features
|
|
for plug control registers and connection management that previously
|
|
existed in experimental form in an unreleased version of libavc1394.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dan Dennedy
|
|
|
|
%package devel
|
|
Summary: implementation of IEC 61883
|
|
Group: System/Kernel
|
|
Requires: %{name} == %{version}
|
|
AutoProv: no
|
|
|
|
%description devel
|
|
This library is an implementation of IEC 61883, part 1 (CIP, plug
|
|
registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6
|
|
(AMDTP). Outside of IIDC, nearly all FireWire multimedia devices use
|
|
IEC 61883 protocols.
|
|
|
|
The libiec61883 library provides a higher level API for streaming DV,
|
|
MPEG-2 and audio over Linux IEEE 1394. This includes both reception and
|
|
transmission. It uses the new "rawiso" API of libraw1394, which
|
|
transparently provides mmap-ed DMA for efficient data transfer. It also
|
|
represents the third generation of I/O technology for Linux 1394 for
|
|
these media types thereby removing the complexities of additional
|
|
kernel modules, /dev nodes, and procfs. It also consolidates features
|
|
for plug control registers and connection management that previously
|
|
existed in experimental form in an unreleased version of libavc1394.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dan Dennedy
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf --force --install
|
|
export CFLAGS="%optflags"
|
|
./configure --prefix=/usr \
|
|
--libdir=%{_libdir} \
|
|
--mandir=%{_mandir}
|
|
%{__make} %{?jobs:-j%jobs} all
|
|
|
|
%install
|
|
%{__make} install DESTDIR=%{buildroot}
|
|
|
|
%clean
|
|
rm -rf "${RPM_BUILD_ROOT}"
|
|
|
|
%post
|
|
%run_ldconfig
|
|
|
|
%postun
|
|
%run_ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING* NEWS README
|
|
%{_bindir}/*
|
|
%{_libdir}/lib*.so.*
|
|
%doc %{_mandir}/man[1]/*.gz
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/libiec61883
|
|
%defattr(644,root,root)
|
|
%{_libdir}/lib*.la
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/lib*.pc
|
|
|
|
%changelog -n libiec61883
|
|
* Mon Oct 16 2006 - ro@suse.de
|
|
- created package (version 1.1.0)
|