Accepting request 723228 from multimedia:libs

- Freshen a bit

OBS-URL: https://build.opensuse.org/request/show/723228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libavc1394?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2019-08-16 13:31:32 +00:00 committed by Git OBS Bridge
commit 33691e0585
2 changed files with 21 additions and 26 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 14 08:23:26 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Freshen a bit
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 14 22:10:12 UTC 2015 - jengelh@inai.de Sat Nov 14 22:10:12 UTC 2015 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libavc1394 # spec file for package libavc1394
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -20,12 +20,10 @@ Name: libavc1394
Version: 0.5.4 Version: 0.5.4
Release: 0 Release: 0
Summary: Programming Interface to the AV/C Specification Summary: Programming Interface to the AV/C Specification
License: LGPL-2.1+ and GPL-2.0+ License: LGPL-2.1-or-later AND GPL-2.0-or-later
Group: System/Libraries Group: System/Libraries
Url: http://sourceforge.net/projects/libavc1394/ URL: https://sourceforge.net/projects/libavc1394/
Source: https://downloads.sf.net/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
@ -34,8 +32,7 @@ BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libraw1394-devel BuildRequires: libraw1394-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
libavc1394 is a programming interface to the AV/C (Audio/Video libavc1394 is a programming interface to the AV/C (Audio/Video
@ -45,7 +42,7 @@ devices and functions of devices that can be controlled via AV/C.
%package 0 %package 0
Summary: Programming Interface to the AV/C Specification Summary: Programming Interface to the AV/C Specification
License: LGPL-2.1+ and GPL-2.0+ License: LGPL-2.1-or-later AND GPL-2.0-or-later
Group: System/Libraries Group: System/Libraries
%description 0 %description 0
@ -56,13 +53,9 @@ devices and functions of devices that can be controlled via AV/C.
%package devel %package devel
Summary: Development files for libavc1394, a library 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+ License: LGPL-2.1-or-later AND GPL-2.0-or-later
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
%endif
%description devel %description devel
libavc1394 is a programming interface to the AV/C (Audio/Video libavc1394 is a programming interface to the AV/C (Audio/Video
@ -72,11 +65,11 @@ devices and functions of devices that can be controlled via AV/C.
%package tools %package tools
Summary: Utilities for AV/C 1394 Summary: Utilities for AV/C 1394
License: GPL-2.0+
Group: Hardware/Other
# added on 2015-11-14 # added on 2015-11-14
Obsoletes: %name < %version-%release License: GPL-2.0-or-later
Provides: %name = %version-%release Group: Hardware/Other
Obsoletes: %{name} < %{version}-%{release}
Provides: %{name} = %{version}-%{release}
%description tools %description tools
Command-line utilities to inspect and control AV/C hardware. Command-line utilities to inspect and control AV/C hardware.
@ -88,7 +81,7 @@ Command-line utilities to inspect and control AV/C hardware.
%patch2 -p1 %patch2 -p1
%build %build
autoreconf -ifv autoreconf -fvi
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
@ -97,22 +90,19 @@ make %{?_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 tools %files tools
%defattr(-,root,root) %license COPYING
%doc README AUTHORS COPYING %doc README AUTHORS
%{_mandir}/man1/* %{_mandir}/man1/*
%attr(755,root,root)%{_bindir}/* %{_bindir}/*
%files 0 %files 0
%defattr(-,root,root)
%{_libdir}/libavc1394.so.* %{_libdir}/libavc1394.so.*
%{_libdir}/librom1394.so.* %{_libdir}/librom1394.so.*
%files devel %files devel
%defattr(-,root,root)
%{_libdir}/*.so %{_libdir}/*.so
%{_includedir}/libavc1394 %{_includedir}/libavc1394
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc