From 0d99481ea658b0fd5524345354f2c3ddf58b4be4fa07ae08a5e55bcc5f4c1d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 15:09:06 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libirman revision d399ddfe24a3f7dc9f27b901f8c28e82 --- .gitattributes | 23 ++++++++ libirman-0.5.2.tar.gz | 3 + libirman.changes | 72 +++++++++++++++++++++++ libirman.spec | 131 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 229 insertions(+) create mode 100644 .gitattributes create mode 100644 libirman-0.5.2.tar.gz create mode 100644 libirman.changes create mode 100644 libirman.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/libirman-0.5.2.tar.gz b/libirman-0.5.2.tar.gz new file mode 100644 index 0000000..a958a3c --- /dev/null +++ b/libirman-0.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43e58d7cd22b3a4c4dc8dcf8542a269ebcb4d8f6ceea0577b9fc882898f09a47 +size 374770 diff --git a/libirman.changes b/libirman.changes new file mode 100644 index 0000000..533cbc5 --- /dev/null +++ b/libirman.changes @@ -0,0 +1,72 @@ +------------------------------------------------------------------- +Mon Feb 24 12:05:35 UTC 2020 - Martin Pluskal + +- Small package cleanup + +------------------------------------------------------------------- +Mon Nov 5 10:21:26 UTC 2018 - olaf@aepfle.de + +- Correct upgrate path from libirman-common to irman-common + +------------------------------------------------------------------- +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 + +- Build lirc plugin +- Rename common and utils subpackages + +------------------------------------------------------------------- +Sun Nov 27 22:21:22 UTC 2016 - jengelh@inai.de + +- Update descriptions + +------------------------------------------------------------------- +Thu Nov 24 09:57:29 UTC 2016 - mpluskal@suse.com + +- Update to version 0.5.2: + * Plugin: Fix logging issues. + * Configure the sys/file.h header (Debian #436563). + * Build: Fix parallel make glitch. +- Changes for version 0.5.1: + * Fix FTBS bug for --enable-swtest + * Clean up plugin installation. +- Update project and download url +- Move config file to subpackage + +------------------------------------------------------------------- +Sat Oct 24 21:18:45 UTC 2015 - mpluskal@suse.com + +- Update to 0.5.0 + * Always build the irman.test* tools. + * If compiled with lirc > 0.9.3, builds the irman lirc plugin + (i. e., driver). + * Add ChangeLog, AUTHORS + INSTALL to make package GNU-compatible + * Using a GNU make extension $(shell ...). + +------------------------------------------------------------------- +Mon Sep 7 08:36:28 UTC 2015 - p.drouand@gmail.com + +- Update to version 0.4.6 + * Refreshing automake files and installation + * Add a pkgconfig file +- Remove obsolete dependencies + * autoconf + * automake + * libtool +- Add a dependency to pkg-config + +------------------------------------------------------------------- +Tue Aug 18 08:14:37 UTC 2015 - mpluskal@suse.com + +- Update license + +------------------------------------------------------------------- +Mon Aug 17 08:26:35 UTC 2015 - mpluskal@suse.com + +- Initial package for version 0.4.5 (based on + home:wolfi323:irman/libirman) + diff --git a/libirman.spec b/libirman.spec new file mode 100644 index 0000000..e8a1763 --- /dev/null +++ b/libirman.spec @@ -0,0 +1,131 @@ +# +# spec file for package libirman +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define sover 0 +%bcond_with lirc_plugin +Name: libirman +Version: 0.5.2 +Release: 0 +Summary: Library for irman access +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} +BuildRequires: pkgconfig(lirc) +%endif + +%description +libirman is a general purpose library for programs to use in order to +receive infrared signals via irman-compatible hardware. + +%package -n %{name}%{sover} +Summary: Library for irman access +License: LGPL-2.0-or-later +Requires: %{name}-common = %{version} + +%description -n %{name}%{sover} +libirman is a general purpose library for programs to use in order to +receive infrared signals via irman-compatible hardware. + +%package -n irman-common +Summary: Common files for %{name} +License: LGPL-2.0-or-later +Conflicts: %{name}%{sover} < %{version} +Provides: libirman-common = %{version}-%{release} +Obsoletes: libirman-common < %{version}-%{release} + +%description -n irman-common +Common files for %{name}. + +%package -n irman-utils +Summary: Library for irman access +License: GPL-2.0-or-later +Requires: irman-common = %{version} +Provides: libirman-utils = %{version} +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-or-later +Requires: irman-common = %{version} + +%description -n lirc-irman +Lirc plugin for irman. +%endif + +%package devel +Summary: Development files for %{name} +License: GPL-2.0-or-later +Requires: %{name}%{sover} = %{version} + +%description devel +libirman is a general purpose library for programs to use in order to +receive infrared signals via irman-compatible hardware. + +Devel files for %{name} from the lirc project. + +%prep +%setup -q + +%build +%configure \ + --disable-static +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +rm -rf %{buildroot}%{_datadir} + +%post -n %{name}%{sover} -p /sbin/ldconfig +%postun -n %{name}%{sover} -p /sbin/ldconfig + +%files -n irman-utils +%license COPYING +%{_bindir}/test_func +%{_bindir}/test_io +%{_bindir}/test_name +%{_bindir}/workmanir + +%files -n %{name}%{sover} +%license COPYING.lib +%{_libdir}/%{name}.so.%{sover}* + +%files -n irman-common +%config %{_sysconfdir}/irman.conf + +%if %{with lirc_plugin} +%files -n lirc-irman +%dir %{_libdir}/lirc +%dir %{_libdir}/lirc/plugins +%{_libdir}/lirc/plugins/irman.so +%endif + +%files devel +%license COPYING COPYING.lib +%doc NEWS README +%{_includedir}/irman.h +%{_libdir}/libirman.so +%{_libdir}/pkgconfig/libirman.pc + +%changelog