File libraw1394.spec of Package libraw1394

# spec file for package libraw1394
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via

Name:           libraw1394
Version:        2.1.0
Release:        0
Summary:        A Firewire Interface
License:        LGPL-2.1+
Group:          System/Kernel
# bug437293
%ifarch ppc64
Obsoletes:      libraw1394-64bit
BuildRequires:  openjade-devel
BuildRequires:  pkg-config
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source1:        baselibs.conf

The Linux kernel's IEEE 1394 subsystem provides access to the raw 1394
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.

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 <>

Original author: Andreas Bombe <>
                 or <>

Manfred Weihs <>
Christian Toegel <>
Dan Maas <>
Ben Collins <>
Pieter Palmers <>

%package 11
Summary:        A Firewire Interface
Group:          System/Kernel
# bug437293
%ifarch ppc64
Obsoletes:      libraw1394-64bit

%description 11
A library for the Linux IEEE-1394 subsystem, which provides direct
access to the connected 1394 (Firewire) bus.

%package devel
Summary:        Development and Include Files for libraw1394
Group:          Development/Libraries/C and C++
Summary(pt_BR): Arquivos de desenvolvimento e cabeƧalhos para o libraw1394
Requires:       %{name}-11 == %{version}
Requires:       glibc-devel
# bug437293
%ifarch ppc64
Obsoletes:      libraw1394-devel-64bit

%description devel
Libraw1394 is the only supported interface to the kernel side raw1394
of the Linux IEEE-1394 subsystem, which provides the user space direct
access to the connected 1394 buses.  Through libraw1394/raw1394,
applications can directly send to and receive from other nodes without
requiring a kernel driver for the protocol in question.

This archive contains the header files for libraw1394 development.

%setup -q
%patch -p1

#autoreconf --force --install
export CFLAGS="%optflags"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs} all

%{__make} install DESTDIR=%{buildroot}
# empty dependency libs
rm -f %{buildroot}%{_libdir}/


%post 11 -p /sbin/ldconfig

%postun 11 -p /sbin/ldconfig


%files 11

%files devel

openSUSE Build Service is sponsored by