Accepting request 344435 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/344435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiec61883?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2015-11-18 21:32:05 +00:00 committed by Git OBS Bridge
commit b0d89d2e26
7 changed files with 148 additions and 37 deletions

View File

@ -1 +1 @@
libiec61883
libiec61883-0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dfcf6959ae5b9d15c887ebd052f737a5cb66168a8143405c822f858bc35f06c5
size 296960

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
iQIcBAABAgAGBQJPAEYAAAoJEHnzb7JUXXnQStkQALZ4274TvRbMfMFudBm/Vk9/
TDENcx1DCVjzj4pnIlpFddc8leYRfl9Xjdl4MI0y32DLjiKeaaxbpEO+p6w7yFKL
hMoUzsR3G7lP7p5B0tDW7Ewhflb9sg5hmxCtDmV+mC2Yi2t++DHNpzHe9e7+UyTf
fdRYozQjIqiEVafpHjzueGKQ4y6KKf0OY76S67uHJnC+A5ibs+Opc8WSHg/Xkdzs
4ZT/WV110K4K/6tjV2dWZcSgZe8vVh58Up5mrbyqPnHiUUIaWJ2EgbNvIvxCGSdI
30oUDL0p0pMPWT1p4R+elbshI9P0YQZf6kRy74Eu1Mbg/IY/KOfWHtH0TeFEWsYw
5HjuiFHr3LuJzXNPhvvfni7eu7j37T36P10JDOqnYAk4ISk+FUlzT+Si9yxJ7tKq
RjtiRiP8LfHao2OVV4w146PYUrRE3IMHBLVR6VmppIeROA9gDMXb56ZlvHWGAxO3
b72RGft65V3zAf0SxVs5Vf+q/sUKBdTy/RgWjjSfYor4O+OBUFJxKJMLLi0Uc9KY
aPcT7i7T7GFQV8OYsmdiDi1QfV/ZppEOJA+OzdSRWVTqRdD82EY83rSfddBwV4Et
kCG2YO9j0Km6hQJjC4c+SsRJOCpFMKwKJj2xoSRw9y9TSB7MQiax2eM8epL3/D5g
iJwYsXZ8AE2FlYuPsmh/
=xvJ/
-----END PGP SIGNATURE-----

BIN
libiec61883-1.2.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Nov 14 14:49:25 UTC 2015 - jengelh@inai.de
- Use new homepage URL, URL for source archive location, and do
gpgkey verification. Set RPM groups to more appropriate values.
- Heed shared library packaging guideline, spell out license
differences.
- Remove unused --with-pic; we build no static libs, and the
shared library always gets it implicitly anyway.
- Name the utility package -tools as with many other pkgs.
-------------------------------------------------------------------
Wed Jan 2 11:17:33 UTC 2013 - p.drouand@gmail.com

56
libiec61883.keyring Normal file
View File

@ -0,0 +1,56 @@
pub 4096R/0x79F36FB2545D79D0 2011-10-21
Key fingerprint = 955C 0098 E5C4 6EF9 A152 4814 79F3 6FB2 545D 79D0
uid [ unknown] Stefan Richter <stefanr@s5r6.in-berlin.de>
sub 4096R/0x8243C1F5D30851B0 2011-10-21
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBE6hV44BEADusgHdn5C12xzEiqaDlqmidfFN8PSD3pgIq5rDDd8neAwkaVrd
7KVBY4HL3BYKKcWMjdZMdR+0axhcuRQOp74w3F722nUlZna5U9sMbAxbkMvYQbKl
vIkvk+ZR1RpzMLSmiVknD8tsYRtPJjleUV2MZ6FltTghDhXSj/jvdC8hImHpZhjp
lk6gFyUqqdsGXE2xJf6n/PAaZnZnsDnKyUl9tEK1b/HoaZ/jzQVgkm0ErdwsGEOV
jhBedHCTZvYWEvzFm/TSRdWsVwMGv+ugtTpzMYF6WF1WhX2Np2rO3OHZT4odK8xm
5fi5YYw05VIrI6XjxPHXDpa0XMhzeXIvfBL/cijgShp6sm9df8MvRMqk7Vwv14lG
zY32Fh5W+nqbXkIiPR+HPc8g5qBI9S1CxHpjVPSIxAMsHJBABAlxvp5ch71/iEtR
uSF1soulww7xFOKQwyHKhcwWrcpUSUglElMXEcSkElw9mRUWk+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gD26YyTS6bp7ih4bWJjO72X4SQc971bv+vqNVzPWyt1lo2ai
Qs7JU0EbLlWfTJkzi47Sc6DxwEs9k7eSR07lWnZBaEPWsKIblDKp6gAkUyO7JyD2
dJDqb6vBlZuNcpZdMQ0FA08JN5URWDt1NP0AFeQWXkr8iws1P34M6POyaRcgGf8X
W7GIsKk4StftefzA/zo4+shuztSocfukl6ZOlJZI97OkXO9HiY/4VbTr18CDtsSL
wyWCSFixcYxO5YGwWEuaR+Yy5ohxVeU96SzYCXwr9y5ayFzLTDScNY91ZRyELDK7
8fwWIvw2x3j0
=iBf9
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
#
# spec file for package libiec61883
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,19 +15,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libiec61883
BuildRequires: libraw1394-devel libtool pkgconfig
Version: 1.2.0
Release: 0
License: GPL-2.0+
Summary: Implementation of IEC 61883
Url: http://www.linux1394.org/
Group: System/Kernel
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Source1: baselibs.conf
%description
This library is an implementation of IEC 61883, part 1 (CIP, plug
@ -35,6 +42,17 @@ 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.
%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.
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
@ -46,11 +64,14 @@ for plug control registers and connection management that previously
existed in experimental form in an unreleased version of libavc1394.
%package devel
License: GPL-2.0+
Summary: Implementation of IEC 61883
Group: System/Kernel
Requires: %{name} = %{version}
Requires: libraw1394-devel
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
%description devel
This library is an implementation of IEC 61883, part 1 (CIP, plug
@ -59,44 +80,50 @@ registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6
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.
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.
%prep
%setup -q
%build
export CFLAGS="%optflags -fno-strict-aliasing"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs} all
%configure --disable-static
make %{?_smp_mflags} all
%install
%{__make} install DESTDIR=%{buildroot}
%make_install
libtool --mode=install install -m 755 examples/test-mpeg2 %{buildroot}%{_bindir}
rm -f %{buildroot}%{_libdir}/*.la
%post -p /sbin/ldconfig
%post -n libiec61883-0 -p /sbin/ldconfig
%postun -n libiec61883-0 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%files tools
%defattr(-,root,root)
%doc AUTHORS COPYING* NEWS README
%doc AUTHORS NEWS README
%{_bindir}/*
%{_libdir}/lib*.so.*
%doc %{_mandir}/man[1]/*.gz
%doc %{_mandir}/man1/*%{?ext_man}
%files -n libiec61883-0
%defattr(-,root,root)
%doc COPYING*
%{_libdir}/libiec61883.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/libiec61883
%defattr(644,root,root)
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/lib*.pc
%{_libdir}/pkgconfig/*.pc
%changelog