Accepting request 750016 from home:StefanBruens:branches:openSUSE:Factory

- Use python3-base BuildRequires instead of full python3
- Drop doxygen BuildRequires, the api-docs are bundled in the
  source tarball and not regenerated, and are not even packaged.
- Move the portaudio based IR receiver driver behind a bcond - the
  alsa based driver does the same, uses less resources, and does
  not need an extra library.

OBS-URL: https://build.opensuse.org/request/show/750016
OBS-URL: https://build.opensuse.org/package/show/vdr/lirc?expand=0&rev=98
This commit is contained in:
Stefan Seyfried 2019-11-30 10:00:25 +00:00 committed by Git OBS Bridge
parent ba32bd2a2b
commit f4a1d57c1e
2 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Nov 20 22:22:04 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Use python3-base BuildRequires instead of full python3
- Drop doxygen BuildRequires, the api-docs are bundled in the
source tarball and not regenerated, and are not even packaged.
- Move the portaudio based IR receiver driver behind a bcond - the
alsa based driver does the same, uses less resources, and does
not need an extra library.
-------------------------------------------------------------------
Sun Nov 18 04:44:21 UTC 2018 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package lirc
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,8 @@
#
%bcond_with portaudio_drv
%define _udevdir %(pkg-config --variable udevdir udev)
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
@ -30,15 +32,14 @@ URL: http://www.lirc.org/
Source0: https://downloads.sourceforge.net/project/lirc/LIRC/%{version}/lirc-%{version}.tar.bz2
Source1: baselibs.conf
Patch0: reproducible.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: kmod-compat
BuildRequires: libxslt-tools
# for hw_atilibusb driver
BuildRequires: pkgconfig
BuildRequires: python3
BuildRequires: python3-PyYAML
BuildRequires: python3-base
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: pkgconfig(alsa)
@ -46,7 +47,9 @@ BuildRequires: pkgconfig(libftdi1)
BuildRequires: pkgconfig(libirman)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libusb)
%if %{with portaudio_drv}
BuildRequires: pkgconfig(portaudio-2.0)
%endif
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
@ -319,9 +322,11 @@ usermod -a -G input lirc &> /dev/null || :
%{_libdir}/pkgconfig/lirc-driver.pc
%{_libdir}/pkgconfig/lirc.pc
%if %{with portaudio_drv}
%files drv-portaudio
%{_libdir}/lirc/plugins/audio.so
%{_datadir}/lirc/configs/audio.conf
%endif
%files drv-ftdi
%{_libdir}/lirc/plugins/ftdi.so