Accepting request 760918 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/760918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdc1394?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2020-01-07 22:50:52 +00:00 committed by Git OBS Bridge
commit d532721f00
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jan 4 16:05:50 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Drop pkgconfig(sdl), no point in building examples which are
not packaged.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 14 08:31:11 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Wed Aug 14 08:31:11 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libdc1394 # spec file for package libdc1394
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# 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
@ -35,7 +35,6 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(libraw1394) BuildRequires: pkgconfig(libraw1394)
BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(libv4l2) >= 0.8.4 BuildRequires: pkgconfig(libv4l2) >= 0.8.4
BuildRequires: pkgconfig(sdl)
%description %description
This library provides functionality for controlling any camera that This library provides functionality for controlling any camera that
@ -43,11 +42,11 @@ conforms to the 1394-Based Digital Camera Specification. It utilizes
the low-level functionality provided by libraw1394 to communicate with the low-level functionality provided by libraw1394 to communicate with
the camera. the camera.
%package 25 %package -n libdc1394-25
Summary: 1394-based Digital Camera Control library Summary: 1394-based Digital Camera Control library
Group: System/Libraries Group: System/Libraries
%description 25 %description -n libdc1394-25
This library provides functionality for controlling any camera that This library provides functionality for controlling any camera that
conforms to the 1394-Based Digital Camera Specification (which can be conforms to the 1394-Based Digital Camera Specification (which can be
found at http://www.1394ta.org/Download/Technology/Specifications/Camera120.pdf). found at http://www.1394ta.org/Download/Technology/Specifications/Camera120.pdf).
@ -78,6 +77,8 @@ This subpackage contains a 1394 bus reset utility.
%prep %prep
%setup -q %setup -q
%autopatch -p1 %autopatch -p1
# Dummy macro for ignored SDL, autoreconf fails otherwise
echo "AC_DEFUN([AM_PATH_SDL], [])" >> m4/dummy_sdl.m4
%build %build
autoreconf -fvi autoreconf -fvi
@ -93,8 +94,8 @@ rm -f %{buildroot}%{_mandir}/man1/dc1394_multiview.1*
rm -f %{buildroot}%{_mandir}/man1/grab_*_image.1* rm -f %{buildroot}%{_mandir}/man1/grab_*_image.1*
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%post 25 -p /sbin/ldconfig %post -n libdc1394-25 -p /sbin/ldconfig
%postun 25 -p /sbin/ldconfig %postun -n libdc1394-25 -p /sbin/ldconfig
%files tools %files tools
%license COPYING %license COPYING
@ -102,7 +103,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_bindir}/dc1394_reset_bus %{_bindir}/dc1394_reset_bus
%{_mandir}/man1/dc1394_reset_bus.1%{?ext_man} %{_mandir}/man1/dc1394_reset_bus.1%{?ext_man}
%files 25 %files -n libdc1394-25
%{_libdir}/libdc1394.so.25* %{_libdir}/libdc1394.so.25*
%files devel %files devel