libiec61883/libiec61883.spec

128 lines
3.7 KiB
RPMSpec

#
# spec file for package libiec61883 (Version 1.1.0)
#
# Copyright (c) 2008 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: 87
License: GPL v2 or later
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
License: GPL v2 or later
Summary: Implementation of IEC 61883
Group: System/Kernel
Requires: %{name} == %{version} libraw1394-devel
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 -fno-strict-aliasing -D_FILE_OFFSET_BITS=64"
./configure --prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir}
%{__make} %{?jobs:-j%jobs} all
%install
%{__make} install DESTDIR=%{buildroot}
libtool --mode=install install -m 755 examples/test-mpeg2 %{buildroot}%{_bindir}
%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
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Sun Jan 27 2008 aj@suse.de
- Do not install libtool wrapper.
* Tue Jan 30 2007 jw@suse.de
- fixed dependencies, support files > 2GB.
* Fri Jan 26 2007 ro@suse.de
- added test-mpeg2 to filelist
* Mon Oct 16 2006 ro@suse.de
- created package (version 1.1.0)