diff --git a/lirc.changes b/lirc.changes index 0bfd982..dba2cc6 100644 --- a/lirc.changes +++ b/lirc.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Jul 31 17:59:10 UTC 2015 - jengelh@inai.de + +- Do not hard depend on systemd - all macro uses support soft + +------------------------------------------------------------------- +Fri Jul 31 09:51:51 UTC 2015 - dimstar@opensuse.org + +- Ignore absence of systemd-tmpfiles, it won't be present in the + build env. + ------------------------------------------------------------------- Mon Mar 23 02:52:35 UTC 2015 - p.drouand@gmail.com diff --git a/lirc.spec b/lirc.spec index 41ee06d..3c6b46d 100644 --- a/lirc.spec +++ b/lirc.spec @@ -1,7 +1,7 @@ # # spec file for package lirc # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -50,17 +50,16 @@ BuildRequires: pkgconfig(alsa) %if 0%{?suse_version} > 1320 BuildRequires: pkgconfig(libftdi1) %endif +BuildRequires: python3 +BuildRequires: python3-PyYAML BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(x11) -BuildRequires: python3 -BuildRequires: python3-PyYAML Requires: udev Recommends: lirc-remotes Suggests: lirc-kmp Supplements: lirc-kmp -%{?systemd_requires} %ifnarch s390 s390x # i2c-dev.h now moved to that package BuildRequires: i2c-tools @@ -77,6 +76,7 @@ control your computer with a remote control. %package core Summary: LIRC core, always needed to run LIRC +License: GPL-2.0+ Group: Hardware/Other Provides: %{name} = %{version} Obsoletes: %{name} < %{version} @@ -87,12 +87,13 @@ default driver and most of the applications. %package config Summary: LIRC Configuration Tools and Data +License: GPL-2.0+ Group: Hardware/Other Requires: lirc-core = %{version} Provides: %{name}-remotes = %{version} Obsoletes: %{name}-remotes < %{version} -Requires: python3-gobject Requires: python3-PyYAML +Requires: python3-gobject BuildArch: noarch %description config @@ -101,10 +102,11 @@ LIRC configuration process. %package devel Summary: LIRC development files +License: GPL-2.0+ Group: Development/Libraries/C and C++ +Requires: liblirc0 = %{version} Requires: liblirc_client0 = %{version} Requires: liblirc_driver0 = %{version} -Requires: liblirc0 = %{version} # files were in lirc package previously Conflicts: lirc <= 0.8.4 @@ -117,6 +119,7 @@ control your computer with a remote control. %package -n liblirc_client0 Summary: LIRC client library +License: GPL-2.0+ Group: Hardware/Other # files were in lirc package previously Conflicts: lirc <= 0.8.4 @@ -127,6 +130,7 @@ the 'lirc' package has to be configured and started. %package -n liblirc_driver0 Summary: LIRC driver library +License: GPL-2.0+ Group: Hardware/Other %description -n liblirc_driver0 @@ -134,6 +138,7 @@ The LIRC driver library. To actually use the lirc plugins. %package -n liblirc0 Summary: LIRC driver library +License: GPL-2.0+ Group: Hardware/Other %description -n liblirc0 @@ -142,6 +147,7 @@ and sending IR signals with the most common IR remote controls. %package disable-kernel-rc Summary: Disable kernel ir device handling in favor of lirc +License: GPL-2.0+ Group: Hardware/Other Requires: %{name}-core = %{version}-%{release} Recommends: lirc-core = %{version} @@ -153,6 +159,7 @@ Udev rule which disables the kernel built-in handling of infrared devices %if 0%{?suse_version} > 1320 %package drv-ftdi Summary: Ftdi LIRC User-Space Driver +License: GPL-2.0+ Group: Hardware/Other Requires: lirc-core = %{version} @@ -163,9 +170,9 @@ full support for the ftdi device. %package drv-portaudio Summary: Portaudio LIRC User-Space Driver +License: LGPL-2.0 Group: Hardware/Other Requires: lirc-core = %{version} -License: LGPL-2.0 %description drv-portaudio LIRC user space driver which supports a IR receiver in microphone input @@ -173,6 +180,8 @@ using the portaudio library. %package tools-gui Summary: LIRC GUI tools +License: GPL-2.0+ +Group: Hardware/Other Requires: lirc-core = %{version} Requires: xorg-x11-fonts-core @@ -257,7 +266,7 @@ rm -rf %{buildroot}%{_datadir}/lirc/contrib %post core %service_add_post lircd.service lircmd.service lircd.socket -systemd-tmpfiles --create %{_tmpfilesdir}/lirc.conf +systemd-tmpfiles --create %{_tmpfilesdir}/lirc.conf || : # config files moved to /etc/lirc in 0.8.6 for file in lircd.conf lircmd.conf lircrc; do if [ -e %{_sysconfdir}/$file -a ! -L %{_sysconfdir}/$file ]; then