libraw1394/libraw1394.spec
OBS User autobuild 54ebcf57fa Accepting request 27745 from multimedia:libs
Copy from multimedia:libs/libraw1394 based on submit request 27745 from user tiwai

OBS-URL: https://build.opensuse.org/request/show/27745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libraw1394?expand=0&rev=10
2009-12-29 23:26:53 +00:00

164 lines
4.1 KiB
RPMSpec
Raw Blame History

#
# spec file for package libraw1394 (Version 1.3.0)
#
# Copyright (c) 2009 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: libraw1394
Version: 1.3.0
Release: 43
License: LGPLv2.1+
Summary: A Firewire Interface
Url: http://www.linux1394.org/
Group: System/Kernel
# bug437293
%ifarch ppc64
Obsoletes: libraw1394-64bit
%endif
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.linux1394.org/files/libraw1394/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
Patch: libraw1394.no-isodump.patch
Patch1: libraw1394.eventloop-return.patch
Patch10: libraw1394.mpg1394grab.patch
Patch11: libraw1394.mpg1394grab-beautify.patch
%description
A library for the Linux IEEE-1394 subsystem, which provides direct
access to the connected 1394 (Firewire) bus.
Authors:
--------
Dan Dennedy <dan@dennedy.org>
Manfred Weihs <weihs@ict.tuwien.ac.at>
Christian Toegel <christian.toegel@gmx.at>
Dan Maas <dmaas@maasdigital.com>
Ben Collins <bcollins@debian.org>
Andreas Bombe <andreas.bombe@munich.netsurf.de>
%package 8
License: LGPLv2.1+
Summary: A Firewire Interface
Group: System/Kernel
# bug437293
%ifarch ppc64
Obsoletes: libraw1394-64bit
%endif
#
%description 8
A library for the Linux IEEE-1394 subsystem, which provides direct
access to the connected 1394 (Firewire) bus.
Authors:
--------
Dan Dennedy <dan@dennedy.org>
Manfred Weihs <weihs@ict.tuwien.ac.at>
Christian Toegel <christian.toegel@gmx.at>
Dan Maas <dmaas@maasdigital.com>
Ben Collins <bcollins@debian.org>
Andreas Bombe <andreas.bombe@munich.netsurf.de>
%package devel
License: LGPLv2.1+
Summary: Development and Include Files for libraw1394
Summary(pt_BR): Arquivos de desenvolvimento e cabe<EFBFBD>alhos para o libraw1394
Group: Development/Libraries/C and C++
Requires: %{name}-8 == %{version} glibc-devel
# bug437293
%ifarch ppc64
Obsoletes: libraw1394-devel-64bit
%endif
#
%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.
Authors:
--------
Dan Dennedy <dan@dennedy.org>
Manfred Weihs <weihs@ict.tuwien.ac.at>
Christian Toegel <christian.toegel@gmx.at>
Dan Maas <dmaas@maasdigital.com>
Ben Collins <bcollins@debian.org>
Andreas Bombe <andreas.bombe@munich.netsurf.de>
%prep
%setup -q
%patch -p1
%patch1 -p1
%patch10 -p1
%patch11 -p1
%build
autoreconf --force --install
export CFLAGS="%optflags"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs} all
%install
%{__make} install DESTDIR=%{buildroot}
# empty dependency libs
rm -f %{buildroot}%{_libdir}/libraw1394.la
%clean
rm -rf $RPM_BUILD_ROOT
%post 8 -p /sbin/ldconfig
%postun 8 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING* NEWS README
%{_bindir}/testlibraw
%{_bindir}/dumpiso
%{_bindir}/sendiso
%{_bindir}/mpg1394grab
%{_mandir}/man*/*
%files 8
%defattr(-,root,root)
%{_libdir}/libraw1394.so.8*
%files devel
%defattr(-,root,root)
%{_includedir}/libraw1394
%{_libdir}/libraw1394.so
%{_libdir}/pkgconfig/libraw1394.pc
%changelog