2007-01-16 00:22:13 +01:00
|
|
|
#
|
|
|
|
# spec file for package libiec61883 (Version 1.1.0)
|
|
|
|
#
|
2008-01-28 01:15:27 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:22:13 +01:00
|
|
|
#
|
2008-09-13 05:04:06 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:22:13 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:29:42 +02:00
|
|
|
|
2007-01-16 00:22:13 +01:00
|
|
|
Name: libiec61883
|
|
|
|
BuildRequires: libraw1394-devel pkgconfig
|
|
|
|
Version: 1.1.0
|
2008-09-13 05:04:06 +02:00
|
|
|
Release: 119
|
2008-01-28 01:15:27 +01:00
|
|
|
License: GPL v2 or later
|
|
|
|
Summary: Implementation of IEC 61883
|
|
|
|
Url: http://www.linux1394.org/
|
2007-01-16 00:22:13 +01:00
|
|
|
Group: System/Kernel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source0: http://www.linux1394.org/files/libiec61883/%{name}-%{version}.tar.bz2
|
2008-09-13 05:04:06 +02:00
|
|
|
Patch0: libiec61883-1.1.0-lfs.patch
|
2007-01-16 00:22:13 +01:00
|
|
|
|
|
|
|
%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
|
2008-04-10 14:29:42 +02:00
|
|
|
License: GPL v2 or later
|
2008-01-28 01:15:27 +01:00
|
|
|
Summary: Implementation of IEC 61883
|
2007-01-16 00:22:13 +01:00
|
|
|
Group: System/Kernel
|
2008-09-13 05:04:06 +02:00
|
|
|
Requires: %{name} = %{version} libraw1394-devel
|
2007-01-16 00:22:13 +01:00
|
|
|
|
|
|
|
%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
|
2008-09-13 05:04:06 +02:00
|
|
|
%patch0
|
2007-01-16 00:22:13 +01:00
|
|
|
|
|
|
|
%build
|
2008-09-13 05:04:06 +02:00
|
|
|
autoreconf -fiv
|
|
|
|
export CFLAGS="%optflags -fno-strict-aliasing"
|
|
|
|
%configure --disable-static --with-pic
|
2007-01-16 00:22:13 +01:00
|
|
|
%{__make} %{?jobs:-j%jobs} all
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{__make} install DESTDIR=%{buildroot}
|
2008-01-28 01:15:27 +01:00
|
|
|
libtool --mode=install install -m 755 examples/test-mpeg2 %{buildroot}%{_bindir}
|
2008-09-13 05:04:06 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:22:13 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf "${RPM_BUILD_ROOT}"
|
|
|
|
|
2008-09-13 05:04:06 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:22:13 +01:00
|
|
|
|
2008-09-13 05:04:06 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:22:13 +01:00
|
|
|
|
|
|
|
%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*.so
|
|
|
|
%{_libdir}/pkgconfig/lib*.pc
|
|
|
|
|
2008-01-28 01:15:27 +01:00
|
|
|
%changelog
|
2008-09-13 05:04:06 +02:00
|
|
|
* Sat Sep 13 2008 crrodriguez@suse.de
|
|
|
|
- remove "la" files and static libraries
|
|
|
|
- use AC_SYS_LARGEFILE to detect the need of _FILE_OFFSET_BITS=64
|
2008-04-10 14:29:42 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
2008-01-28 01:15:27 +01:00
|
|
|
* Sun Jan 27 2008 aj@suse.de
|
|
|
|
- Do not install libtool wrapper.
|
|
|
|
* Tue Jan 30 2007 jw@suse.de
|
2007-01-31 00:13:28 +01:00
|
|
|
- fixed dependencies, support files > 2GB.
|
2008-01-28 01:15:27 +01:00
|
|
|
* Fri Jan 26 2007 ro@suse.de
|
2007-01-26 23:06:55 +01:00
|
|
|
- added test-mpeg2 to filelist
|
2008-01-28 01:15:27 +01:00
|
|
|
* Mon Oct 16 2006 ro@suse.de
|
2007-01-16 00:22:13 +01:00
|
|
|
- created package (version 1.1.0)
|