Accepting request 476991 from hardware
- Make building of lirc plugin conditional (boo#1027687) OBS-URL: https://build.opensuse.org/request/show/476991 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libirman?expand=0&rev=6
This commit is contained in:
commit
bc86c9f2fa
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 5 10:03:04 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Make building of lirc plugin conditional (boo#1027687)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 18:56:28 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_with lirc_plugin
|
||||
%define sover 0
|
||||
Name: libirman
|
||||
Version: 0.5.2
|
||||
@ -26,7 +27,9 @@ Group: Hardware/Other
|
||||
Url: https://sourceforge.net/projects/libirman/
|
||||
Source0: https://downloads.sf.net/libirman/libirman-%{version}.tar.gz
|
||||
BuildRequires: pkgconfig
|
||||
%if %{with lirc_plugin}
|
||||
BuildRequires: pkgconfig(lirc)
|
||||
%endif
|
||||
|
||||
%description
|
||||
libirman is a general purpose library for programs to use in order to
|
||||
@ -64,6 +67,7 @@ Obsoletes: libirman-utils < %{version}
|
||||
%description -n irman-utils
|
||||
Utilities from %{name} from the lirc project.
|
||||
|
||||
%if %{with lirc_plugin}
|
||||
%package -n lirc-irman
|
||||
Summary: Lirc plugin for irman
|
||||
License: GPL-2.0+
|
||||
@ -72,6 +76,7 @@ Requires: irman-common = %{version}
|
||||
|
||||
%description -n lirc-irman
|
||||
Lirc plugin for irman.
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
@ -119,11 +124,13 @@ rm -rf %{buildroot}%{_datadir}
|
||||
%defattr(-,root,root)
|
||||
%config %{_sysconfdir}/irman.conf
|
||||
|
||||
%if %{with lirc_plugin}
|
||||
%files -n lirc-irman
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/lirc
|
||||
%dir %{_libdir}/lirc/plugins
|
||||
%{_libdir}/lirc/plugins/irman.so
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user