Dominique Leuenberger 3 years ago committed by Git OBS Bridge
commit 0912967610

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 24 12:05:35 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Small package cleanup
-------------------------------------------------------------------
Mon Nov 5 10:21:26 UTC 2018 - olaf@aepfle.de

@ -1,7 +1,7 @@
#
# spec file for package libirman
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,19 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_with lirc_plugin
%define sover 0
%bcond_with lirc_plugin
Name: libirman
Version: 0.5.2
Release: 0
Summary: Library for irman access
License: GPL-2.0+
Group: Hardware/Other
Url: https://sourceforge.net/projects/libirman/
License: GPL-2.0-or-later
URL: https://sourceforge.net/projects/libirman/
Source0: https://downloads.sf.net/libirman/libirman-%{version}.tar.gz
BuildRequires: pkgconfig
%if %{with lirc_plugin}
@ -37,8 +36,7 @@ receive infrared signals via irman-compatible hardware.
%package -n %{name}%{sover}
Summary: Library for irman access
License: LGPL-2.0+
Group: System/Libraries
License: LGPL-2.0-or-later
Requires: %{name}-common = %{version}
%description -n %{name}%{sover}
@ -47,8 +45,7 @@ receive infrared signals via irman-compatible hardware.
%package -n irman-common
Summary: Common files for %{name}
License: LGPL-2.0+
Group: Development/Languages/C and C++
License: LGPL-2.0-or-later
Conflicts: %{name}%{sover} < %{version}
Provides: libirman-common = %{version}-%{release}
Obsoletes: libirman-common < %{version}-%{release}
@ -58,8 +55,7 @@ Common files for %{name}.
%package -n irman-utils
Summary: Library for irman access
License: GPL-2.0+
Group: Hardware/Other
License: GPL-2.0-or-later
Requires: irman-common = %{version}
Provides: libirman-utils = %{version}
Obsoletes: libirman-utils < %{version}
@ -70,8 +66,7 @@ Utilities from %{name} from the lirc project.
%if %{with lirc_plugin}
%package -n lirc-irman
Summary: Lirc plugin for irman
License: GPL-2.0+
Group: Hardware/Other
License: GPL-2.0-or-later
Requires: irman-common = %{version}
%description -n lirc-irman
@ -80,8 +75,7 @@ Lirc plugin for irman.
%package devel
Summary: Development files for %{name}
License: GPL-2.0+
Group: Development/Libraries/C and C++
License: GPL-2.0-or-later
Requires: %{name}%{sover} = %{version}
%description devel
@ -96,7 +90,7 @@ Devel files for %{name} from the lirc project.
%build
%configure \
--disable-static
make %{?_smp_mflags}
%make_build
%install
%make_install
@ -107,35 +101,29 @@ rm -rf %{buildroot}%{_datadir}
%postun -n %{name}%{sover} -p /sbin/ldconfig
%files -n irman-utils
%defattr(-,root,root)
%doc COPYING
%license COPYING
%{_bindir}/test_func
%{_bindir}/test_io
%{_bindir}/test_name
%{_bindir}/workmanir
%files -n %{name}%{sover}
%defattr(-,root,root)
%doc COPYING.lib
%defattr(-,root,root,-)
%license COPYING.lib
%{_libdir}/%{name}.so.%{sover}*
%files -n irman-common
%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)
%doc COPYING COPYING.lib NEWS README
%defattr(-,root,root,-)
%license COPYING COPYING.lib
%doc NEWS README
%{_includedir}/irman.h
%{_libdir}/libirman.so
%{_libdir}/pkgconfig/libirman.pc

Loading…
Cancel
Save