Accepting request 344457 from home:jengelh:branches:multimedia:libs
- Update groups and trim descriptions. - Remove redundant --with-pic; shared libraries always get it anyway. - Name the utility package -tools as with many other pkgs. Set its license. OBS-URL: https://build.opensuse.org/request/show/344457 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libavc1394?expand=0&rev=13
This commit is contained in:
parent
7fb1c8cd51
commit
de3d059f62
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 14 22:10:12 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update groups and trim descriptions.
|
||||||
|
- Remove redundant --with-pic; shared libraries always get it
|
||||||
|
anyway.
|
||||||
|
- Name the utility package -tools as with many other pkgs.
|
||||||
|
Set its license.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 21 07:35:05 UTC 2015 - mpluskal@suse.com
|
Sat Mar 21 07:35:05 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -19,11 +19,13 @@
|
|||||||
Name: libavc1394
|
Name: libavc1394
|
||||||
Version: 0.5.4
|
Version: 0.5.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Libavc1394--Programming Interface to the AV/C Specification
|
Summary: Programming Interface to the AV/C Specification
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+ and GPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: System/Libraries
|
||||||
Url: http://sourceforge.net/projects/libavc1394/
|
Url: http://sourceforge.net/projects/libavc1394/
|
||||||
Source0: http://sourceforge.net/projects/libavc1394/files/libavc1394/%{name}-%{version}.tar.gz
|
|
||||||
|
#SVN-Clone: svn://svn.code.sf.net/p/libavc1394/code/trunk
|
||||||
|
Source: http://downloads.sf.net/libavc1394/%name-%version.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch0: libavc1394.no-mkrfc2734.patch
|
Patch0: libavc1394.no-mkrfc2734.patch
|
||||||
Patch1: libavc1394.raw1394_set_fcp_handler.patch
|
Patch1: libavc1394.raw1394_set_fcp_handler.patch
|
||||||
@ -32,46 +34,52 @@ BuildRequires: autoconf
|
|||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libraw1394-devel
|
BuildRequires: libraw1394-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkg-config
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libavc1394 is a programming interface to the AV/C specification from
|
libavc1394 is a programming interface to the AV/C (Audio/Video
|
||||||
the 1394 Trade Association. AV/C stands for Audio/Video Control.
|
Control) specification. Applications use the library to control the
|
||||||
Currently, applications use the library to control the tape transport
|
tape transport mechanism on DV camcorders. However, there are many
|
||||||
mechanism on DV camcorders. However, there are many devices and device
|
devices and functions of devices that can be controlled via AV/C.
|
||||||
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.
|
|
||||||
|
|
||||||
%package 0
|
%package 0
|
||||||
Summary: Libavc1394--Programming Interface to the AV/C Specification
|
Summary: Programming Interface to the AV/C Specification
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+ and GPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: System/Libraries
|
||||||
|
|
||||||
%description 0
|
%description 0
|
||||||
Libavc1394 is a programming interface to the AV/C specification from
|
libavc1394 is a programming interface to the AV/C (Audio/Video
|
||||||
the 1394 Trade Association. AV/C stands for Audio/Video Control.
|
Control) specification. Applications use the library to control the
|
||||||
Currently, applications use the library to control the tape transport
|
tape transport mechanism on DV camcorders. However, there are many
|
||||||
mechanism on DV camcorders. However, there are many devices and device
|
devices and functions of devices that can be controlled via AV/C.
|
||||||
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.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Libavc1394 is a programming interface to the AV/C specification
|
Summary: Development files for libavc1394, a library to the AV/C specification
|
||||||
|
License: LGPL-2.1+ and GPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libavc1394-0 = %{version}
|
Requires: libavc1394-0 = %{version}
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} < 1140
|
||||||
|
# already autoderived from libavc1394.pc in new-enough rpm
|
||||||
Requires: libraw1394-devel
|
Requires: libraw1394-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libavc1394 is a programming interface to the AV/C specification from
|
libavc1394 is a programming interface to the AV/C (Audio/Video
|
||||||
the 1394 Trade Association. AV/C stands for Audio/Video Control.
|
Control) specification. Applications use the library to control the
|
||||||
Currently, applications use the library to control the tape transport
|
tape transport mechanism on DV camcorders. However, there are many
|
||||||
mechanism on DV camcorders. However, there are many devices and
|
devices and functions of devices that can be controlled via AV/C.
|
||||||
functions of devices that can be controlled via AV/C. Eventually, the
|
|
||||||
library will be expanded to implement more of the specification and to
|
%package tools
|
||||||
provide high level interfaces to various devices.
|
Summary: Utilities for AV/C 1394
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: Hardware/Other
|
||||||
|
# added on 2015-11-14
|
||||||
|
Obsoletes: %name < %version-%release
|
||||||
|
Provides: %name = %version-%release
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
Command-line utilities to inspect and control AV/C hardware.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -81,20 +89,18 @@ provide high level interfaces to various devices.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ifv
|
autoreconf -ifv
|
||||||
%configure \
|
%configure --disable-static
|
||||||
--disable-static \
|
|
||||||
--with-pic
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install %{?_smp_mflags}
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post 0 -p /sbin/ldconfig
|
%post 0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun 0 -p /sbin/ldconfig
|
%postun 0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README AUTHORS COPYING
|
%doc README AUTHORS COPYING
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
Loading…
Reference in New Issue
Block a user