Accepting request 49689 from home:plater

Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/49689
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libraw1394?expand=0&rev=7
This commit is contained in:
Dave Plater 2010-10-03 16:55:49 +00:00 committed by Git OBS Bridge
parent ea0e05e81a
commit 8dca022ec3
4 changed files with 62 additions and 27 deletions

View File

@ -1,7 +1,7 @@
libraw1394 libraw1394
libraw1394-8 libraw1394-11
obsoletes "libraw1394-<targettype> <= <version>" obsoletes "libraw1394-<targettype> <= <version>"
provides "libraw1394-<targettype> = <version>" provides "libraw1394-<targettype> = <version>"
libraw1394-devel libraw1394-devel
requires -libraw1394-<targettype> requires -libraw1394-<targettype>
requires "libraw1394-8-<targettype> = <version>" requires "libraw1394-11-<targettype> = <version>"

3
libraw1394-2.0.5.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Sep 30 10:42:46 UTC 2010 - davejplater@gmail.com
- Update to version 2.0.5
- See https://ieee1394.wiki.kernel.org/index.php/Release_Notes_-_Libraries
for changes since 1.3.0
- Upstream urls changed as http://www.linux1394.org/ is up for sale
and no longer in use.
- Removed patch libraw1394.eventloop-return.patch, already integrated.
- Removed mpg1394grab.patch and mpg1394grab-beautify.patch as the upstream
maintainer says that streaming video support is now integrated.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 24 09:09:20 UTC 2010 - coolo@novell.com Sat Apr 24 09:09:20 UTC 2010 - coolo@novell.com

View File

@ -1,5 +1,5 @@
# #
# spec file for package libraw1394 (Version 1.3.0) # spec file for package libraw1394 (Version 2.0.5)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -19,31 +19,54 @@
Name: libraw1394 Name: libraw1394
Version: 1.3.0 Version: 2.0.5
Release: 44 Release: 0
License: LGPLv2.1+ License: LGPLv2.1+
Summary: A Firewire Interface Summary: A Firewire Interface
Url: http://www.linux1394.org/ Url: http://www.dennedy.org/libraw1394/
Group: System/Kernel Group: System/Kernel
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: libraw1394-64bit Obsoletes: libraw1394-64bit
%endif %endif
# #
BuildRequires: pkg-config BuildRequires: pkg-config openjade-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.linux1394.org/files/libraw1394/%{name}-%{version}.tar.bz2 Source0: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
Patch: libraw1394.no-isodump.patch Patch: libraw1394.no-isodump.patch
Patch1: libraw1394.eventloop-return.patch
Patch10: libraw1394.mpg1394grab.patch
Patch11: libraw1394.mpg1394grab-beautify.patch
%description %description
A library for the Linux IEEE-1394 subsystem, which provides direct The Linux kernel's IEEE 1394 subsystem provides access to the raw 1394
access to the connected 1394 (Firewire) bus. bus through the raw1394 module. This includes the standard 1394
transactions (read, write, lock) on the active side, isochronous
stream receiving and sending and dumps of data written to the
FCP_COMMAND and FCP_RESPONSE registers. raw1394 uses a character
device to communicate to user programs using a special protocol.
%package 8 libraw1394 was created with the intent to hide that protocol from
applications so that
- the protocol has to be implemented correctly only once.
- all work can be done using easy to understand functions instead of
handling a complicated command structure.
- only libraw1394 has to be changed when raw1394's interface changes.
Maintainer: Dan Dennedy <dan@dennedy.org>
Original author: Andreas Bombe <andreas.bombe@munich.netsurf.de>
or <bombe@informatik.tu-muenchen.de>
Contributors:
Manfred Weihs <weihs@ict.tuwien.ac.at>
Christian Toegel <christian.toegel@gmx.at>
Dan Maas <dmaas@maasdigital.com>
Ben Collins <bcollins@debian.org>
Pieter Palmers <pieterp@joow.be>
%package 11
License: LGPLv2.1+ License: LGPLv2.1+
Summary: A Firewire Interface Summary: A Firewire Interface
Group: System/Kernel Group: System/Kernel
@ -53,7 +76,8 @@ Obsoletes: libraw1394-64bit
%endif %endif
# #
%description 8
%description 11
A library for the Linux IEEE-1394 subsystem, which provides direct A library for the Linux IEEE-1394 subsystem, which provides direct
access to the connected 1394 (Firewire) bus. access to the connected 1394 (Firewire) bus.
@ -62,7 +86,7 @@ License: LGPLv2.1+
Summary: Development and Include Files for libraw1394 Summary: Development and Include Files for libraw1394
Summary(pt_BR): Arquivos de desenvolvimento e cabeçalhos para o libraw1394 Summary(pt_BR): Arquivos de desenvolvimento e cabeçalhos para o libraw1394
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name}-8 == %{version} glibc-devel Requires: %{name}-11 == %{version} glibc-devel
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: libraw1394-devel-64bit Obsoletes: libraw1394-devel-64bit
@ -81,12 +105,9 @@ This archive contains the header files for libraw1394 development.
%prep %prep
%setup -q %setup -q
%patch -p1 %patch -p1
%patch1 -p1
%patch10 -p1
%patch11 -p1
%build %build
autoreconf --force --install #autoreconf --force --install
export CFLAGS="%optflags" export CFLAGS="%optflags"
%configure --disable-static --with-pic %configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs} all %{__make} %{?jobs:-j%jobs} all
@ -99,9 +120,9 @@ rm -f %{buildroot}%{_libdir}/libraw1394.la
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post 8 -p /sbin/ldconfig %post 11 -p /sbin/ldconfig
%postun 8 -p /sbin/ldconfig %postun 11 -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -109,12 +130,11 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/testlibraw %{_bindir}/testlibraw
%{_bindir}/dumpiso %{_bindir}/dumpiso
%{_bindir}/sendiso %{_bindir}/sendiso
%{_bindir}/mpg1394grab
%{_mandir}/man*/* %{_mandir}/man*/*
%files 8 %files 11
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libraw1394.so.8* %{_libdir}/libraw1394.so.11*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)