2007-01-16 00:22:13 +01:00
|
|
|
#
|
2011-11-21 12:34:43 +01:00
|
|
|
# spec file for package libiec61883
|
2007-01-16 00:22:13 +01:00
|
|
|
#
|
2015-11-15 09:07:07 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libiec61883
|
2012-12-29 19:34:27 +01:00
|
|
|
Version: 1.2.0
|
|
|
|
Release: 0
|
2008-01-28 01:15:27 +01:00
|
|
|
Summary: Implementation of IEC 61883
|
2015-11-15 09:07:07 +01:00
|
|
|
License: GPL-2.0+ and LGPL-2.1+
|
|
|
|
Group: Hardware/Other
|
|
|
|
Url: https://ieee1394.wiki.kernel.org/index.php/Main_Page
|
|
|
|
|
|
|
|
#Git-Web: https://git.kernel.org/cgit/libs/ieee1394/libiec61883.git
|
|
|
|
#Git-Clone: git://git.kernel.org/pub/scm/libs/ieee1394/libiec61883
|
|
|
|
Source: https://www.kernel.org/pub/linux/libs/ieee1394/%name-%version.tar.xz
|
|
|
|
Source2: https://www.kernel.org/pub/linux/libs/ieee1394/%name-%version.tar.sign
|
|
|
|
Source3: %name.keyring
|
|
|
|
Source4: baselibs.conf
|
|
|
|
BuildRequires: libraw1394-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: xz
|
2007-01-16 00:22:13 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2015-11-15 09:07:07 +01:00
|
|
|
%package -n libiec61883-0
|
|
|
|
Summary: Library implementing IEC 61883
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libiec61883-0
|
|
|
|
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.
|
|
|
|
|
2007-01-16 00:22:13 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
%package devel
|
2015-11-15 09:07:07 +01:00
|
|
|
Summary: Development files for libiec61883
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libiec61883-0 = %version
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1140
|
|
|
|
# already autoderived from libiec61883.pc in new-enough rpm
|
|
|
|
Requires: libraw1394-devel
|
|
|
|
%endif
|
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,
|
2015-11-15 09:07:07 +01:00
|
|
|
MPEG-2 and audio over Linux IEEE 1394.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: Command-line utilities for IEC 61883 devices
|
|
|
|
License: GPL-2.0+ and LGPL-2.1+
|
|
|
|
Group: Hardware/Other
|
|
|
|
# added on 2015-11-14
|
|
|
|
Obsoletes: %name < %version-%release
|
|
|
|
Provides: %name = %version-%release
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
Utilities to inspect and control IEC 61883 hardware.
|
2007-01-16 00:22:13 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2008-09-13 05:04:06 +02:00
|
|
|
export CFLAGS="%optflags -fno-strict-aliasing"
|
2015-11-15 09:07:07 +01:00
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags} all
|
2007-01-16 00:22:13 +01:00
|
|
|
|
|
|
|
%install
|
2015-11-15 09:07:07 +01:00
|
|
|
%make_install
|
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
|
|
|
|
2015-11-15 09:07:07 +01:00
|
|
|
%post -n libiec61883-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libiec61883-0 -p /sbin/ldconfig
|
2007-01-16 00:22:13 +01:00
|
|
|
|
2015-11-15 09:07:07 +01:00
|
|
|
%files tools
|
2007-01-16 00:22:13 +01:00
|
|
|
%defattr(-,root,root)
|
2015-11-15 09:07:07 +01:00
|
|
|
%doc AUTHORS NEWS README
|
2007-01-16 00:22:13 +01:00
|
|
|
%{_bindir}/*
|
2015-11-15 09:07:07 +01:00
|
|
|
%doc %{_mandir}/man1/*%{?ext_man}
|
|
|
|
|
|
|
|
%files -n libiec61883-0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
|
|
|
%{_libdir}/libiec61883.so.*
|
2007-01-16 00:22:13 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libiec61883
|
|
|
|
%{_libdir}/lib*.so
|
2015-11-15 09:07:07 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-01-16 00:22:13 +01:00
|
|
|
|
2008-01-28 01:15:27 +01:00
|
|
|
%changelog
|