2007-01-16 00:21:27 +01:00
|
|
|
#
|
2011-12-08 12:26:16 +01:00
|
|
|
# spec file for package libavc1394
|
2007-01-16 00:21:27 +01:00
|
|
|
#
|
2015-03-22 07:45:27 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:21:27 +01:00
|
|
|
#
|
2008-10-06 17:55:37 +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:21:27 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2014-09-10 17:54:14 +02:00
|
|
|
|
2007-01-16 00:21:27 +01:00
|
|
|
Name: libavc1394
|
2010-10-07 22:38:08 +02:00
|
|
|
Version: 0.5.4
|
2011-12-08 12:26:16 +01:00
|
|
|
Release: 0
|
2007-01-16 00:21:27 +01:00
|
|
|
Summary: Libavc1394--Programming Interface to the AV/C Specification
|
2014-09-10 17:54:14 +02:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/C and C++
|
2008-04-10 14:22:41 +02:00
|
|
|
Url: http://sourceforge.net/projects/libavc1394/
|
2015-03-22 07:45:27 +01:00
|
|
|
Source0: http://sourceforge.net/projects/libavc1394/files/libavc1394/%{name}-%{version}.tar.gz
|
2009-12-29 19:04:44 +01:00
|
|
|
Source2: baselibs.conf
|
2015-03-22 07:45:27 +01:00
|
|
|
Patch0: libavc1394.no-mkrfc2734.patch
|
2008-10-06 17:55:37 +02:00
|
|
|
Patch1: libavc1394.raw1394_set_fcp_handler.patch
|
2014-09-10 17:54:14 +02:00
|
|
|
Patch2: libavc-fix-symbolexports.patch
|
2015-03-22 07:45:27 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libraw1394-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:21:27 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Libavc1394 is a programming interface to the AV/C specification from
|
2010-10-07 22:38:08 +02:00
|
|
|
the 1394 Trade Association. AV/C stands for Audio/Video Control.
|
|
|
|
Currently, applications use the library to control the tape transport
|
|
|
|
mechanism on DV camcorders. However, there are many devices and device
|
|
|
|
functions that can be controlled via AV/C. Eventually, the library will
|
|
|
|
be expanded to implement more of the specification and to provide a
|
|
|
|
high level interface to various devices.
|
|
|
|
|
2007-08-05 11:41:49 +02:00
|
|
|
%package 0
|
|
|
|
Summary: Libavc1394--Programming Interface to the AV/C Specification
|
2014-09-10 17:54:14 +02:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/C and C++
|
2007-08-05 11:41:49 +02:00
|
|
|
|
|
|
|
%description 0
|
|
|
|
Libavc1394 is a programming interface to the AV/C specification from
|
2010-10-07 22:38:08 +02:00
|
|
|
the 1394 Trade Association. AV/C stands for Audio/Video Control.
|
|
|
|
Currently, applications use the library to control the tape transport
|
|
|
|
mechanism on DV camcorders. However, there are many devices and device
|
|
|
|
functions that can be controlled via AV/C. Eventually, the library will
|
|
|
|
be expanded to implement more of the specification and to provide a
|
|
|
|
high level interface to various devices.
|
|
|
|
|
2007-01-16 00:21:27 +01:00
|
|
|
%package devel
|
2015-03-22 07:45:27 +01:00
|
|
|
Summary: Libavc1394 is a programming interface to the AV/C specification
|
2014-09-10 17:54:14 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-08-05 11:41:49 +02:00
|
|
|
Requires: libavc1394-0 = %{version}
|
2010-10-07 22:38:08 +02:00
|
|
|
Requires: libraw1394-devel
|
2007-01-16 00:21:27 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libavc1394 is a programming interface to the AV/C specification from
|
2010-10-07 22:38:08 +02:00
|
|
|
the 1394 Trade Association. AV/C stands for Audio/Video Control.
|
2007-01-16 00:21:27 +01:00
|
|
|
Currently, applications use the library to control the tape transport
|
|
|
|
mechanism on DV camcorders. However, there are many devices and
|
|
|
|
functions of devices that can be controlled via AV/C. Eventually, the
|
|
|
|
library will be expanded to implement more of the specification and to
|
|
|
|
provide high level interfaces to various devices.
|
|
|
|
|
|
|
|
%prep
|
2015-03-22 07:45:27 +01:00
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
2008-10-06 17:55:37 +02:00
|
|
|
%patch1 -p1
|
2014-09-10 17:54:14 +02:00
|
|
|
%patch2 -p1
|
2007-01-16 00:21:27 +01:00
|
|
|
|
|
|
|
%build
|
2009-01-12 02:01:10 +01:00
|
|
|
autoreconf -ifv
|
2015-03-22 07:45:27 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--with-pic
|
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:21:27 +01:00
|
|
|
|
|
|
|
%install
|
2015-03-22 07:45:27 +01:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-16 00:21:27 +01:00
|
|
|
|
2007-08-05 11:41:49 +02:00
|
|
|
%post 0 -p /sbin/ldconfig
|
2007-01-16 00:21:27 +01:00
|
|
|
|
2007-08-05 11:41:49 +02:00
|
|
|
%postun 0 -p /sbin/ldconfig
|
2007-01-16 00:21:27 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README AUTHORS COPYING
|
2015-03-22 07:45:27 +01:00
|
|
|
%{_mandir}/man1/*
|
|
|
|
%attr(755,root,root)%{_bindir}/*
|
2007-08-05 11:41:49 +02:00
|
|
|
|
|
|
|
%files 0
|
|
|
|
%defattr(-,root,root)
|
2015-03-22 07:45:27 +01:00
|
|
|
%{_libdir}/libavc1394.so.*
|
|
|
|
%{_libdir}/librom1394.so.*
|
2007-01-16 00:21:27 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2015-03-22 07:45:27 +01:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_includedir}/libavc1394
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-01-16 00:21:27 +01:00
|
|
|
|
2007-08-05 11:41:49 +02:00
|
|
|
%changelog
|