Accepting request 459543 from hardware

- Build lirc plugin
- Rename common and utils subpackages

OBS-URL: https://build.opensuse.org/request/show/459543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libirman?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2017-02-24 23:49:09 +00:00 committed by Git OBS Bridge
commit 5db9985893
2 changed files with 34 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 21 18:56:28 UTC 2017 - mpluskal@suse.com
- Build lirc plugin
- Rename common and utils subpackages
-------------------------------------------------------------------
Sun Nov 27 22:21:22 UTC 2016 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libirman
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -26,7 +26,7 @@ Group: Hardware/Other
Url: https://sourceforge.net/projects/libirman/
Source0: https://downloads.sf.net/libirman/libirman-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig(lirc)
%description
libirman is a general purpose library for programs to use in order to
@ -42,24 +42,37 @@ Requires: %{name}-common = %{version}
libirman is a general purpose library for programs to use in order to
receive infrared signals via irman-compatible hardware.
%package common
%package -n irman-common
Summary: Common files for %{name}
License: LGPL-2.0+
Group: Development/Languages/C and C++
Conflicts: %{name}%{sover} < %{version}
Provides: libirman-common = %{version}
Obsoletes: libirman-common < %{version}
%description common
%description -n irman-common
Common files for %{name}.
%package utils
%package -n irman-utils
Summary: Library for irman access
License: GPL-2.0+
Group: Hardware/Other
Requires: %{name}-common = %{version}
Requires: irman-common = %{version}
Provides: libirman-utils = %{version}
Obsoletes: libirman-utils < %{version}
%description utils
%description -n irman-utils
Utilities from %{name} from the lirc project.
%package -n lirc-irman
Summary: Lirc plugin for irman
License: GPL-2.0+
Group: Hardware/Other
Requires: irman-common = %{version}
%description -n lirc-irman
Lirc plugin for irman.
%package devel
Summary: Development files for %{name}
License: GPL-2.0+
@ -88,7 +101,7 @@ rm -rf %{buildroot}%{_datadir}
%post -n %{name}%{sover} -p /sbin/ldconfig
%postun -n %{name}%{sover} -p /sbin/ldconfig
%files utils
%files -n irman-utils
%defattr(-,root,root)
%doc COPYING
%{_bindir}/test_func
@ -102,10 +115,16 @@ rm -rf %{buildroot}%{_datadir}
%defattr(-,root,root,-)
%{_libdir}/%{name}.so.%{sover}*
%files common
%files -n irman-common
%defattr(-,root,root)
%config %{_sysconfdir}/irman.conf
%files -n lirc-irman
%defattr(-,root,root)
%dir %{_libdir}/lirc
%dir %{_libdir}/lirc/plugins
%{_libdir}/lirc/plugins/irman.so
%files devel
%defattr(-,root,root)
%doc COPYING COPYING.lib NEWS README