Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37715243
en ru br
Репозитории ALT

Группа :: Система/Ядро и оборудование
Пакет: iio-sensor-proxy

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: iio-sensor-proxy-3.4-alt1.patch
Скачать


 .gear/rules                                        |   3 +
 .../tags/46c9f715c85875046e56b97fa65d23a95e3ac018  |   6 +
 .gear/tags/list                                    |   1 +
 iio-sensor-proxy.spec                              | 152 +++++++++++++++++++++
 4 files changed, 162 insertions(+)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..2cce167
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+tar: @version@:.
+diff: @version@:. .
+
diff --git a/.gear/tags/46c9f715c85875046e56b97fa65d23a95e3ac018 b/.gear/tags/46c9f715c85875046e56b97fa65d23a95e3ac018
new file mode 100644
index 0000000..4247f51
--- /dev/null
+++ b/.gear/tags/46c9f715c85875046e56b97fa65d23a95e3ac018
@@ -0,0 +1,6 @@
+object cd6d5e653ef33f6e824e2f7f2ee61e330d4932ac
+type commit
+tag 3.4
+tagger Bastien Nocera <hadess@hadess.net> 1657891772 +0200
+
+3.4
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..a6a41f1
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+46c9f715c85875046e56b97fa65d23a95e3ac018 3.4
diff --git a/iio-sensor-proxy.spec b/iio-sensor-proxy.spec
new file mode 100644
index 0000000..18b07c0
--- /dev/null
+++ b/iio-sensor-proxy.spec
@@ -0,0 +1,152 @@
+%define ver_major 3
+%define api_ver 1.0
+%define _libexecdir %_prefix/libexec
+%define rdn_name net.hadess.SensorProxy
+
+%def_enable gtk_doc
+%def_disable gtk_tests
+# tests passed in hasher on basalt for i586/x86_64 with -j16
+# 1/1 iio-sensor-proxy-integration-test OK 17.21s
+# but fail in girar for all architectures
+# [x86_64] 1/1 iio-sensor-proxy-integration-test TIMEOUT 60.11s
+%def_disable check
+
+Name: iio-sensor-proxy
+Version: %ver_major.4
+Release: alt1
+
+Summary: IIO sensors to input device proxy
+Group: System/Kernel and hardware
+License: GPL-3.0
+Url: https://github.com/hadess/%name
+
+Vcs: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy.git
+Source: %name-%version.tar
+Patch: %name-%version-%release.patch
+
+%define meson_ver 0.54
+%define glib_ver 2.56
+%define gudev_ver 237
+
+BuildRequires(pre): rpm-macros-meson
+BuildRequires: meson >= %meson_ver libgio-devel >= %glib_ver pkgconfig(systemd)
+BuildRequires: libudev-devel libgudev-devel >= %gudev_ver
+BuildRequires: libpolkit-devel
+%{?_enable_gtk_doc:BuildRequires: gtk-doc}
+%{?_enable_gtk_tests:BuildRequires: libgtk+3-devel}
+%{?_enable_check:
+BuildRequires: /proc /dev/pts dbus-tools-gui python3-module-psutil
+BuildRequires: python3-module-pygobject3 python3-module-dbusmock typelib(UMockdev) = 1.0}
+
+%description
+%name is a framework for accessing the various environmental sensors
+(e.g., accelerometer, magnetometer, proximity, or ambient-light sensors)
+built in to recent laptops. The proxy is a daemon that listens to the
+Industrial I/O (IIO) subsystem and provides access to the sensor readings
+over D-Bus.
+
+As of right now, support for ambient-light sensors and accelerometers is
+working; other sensor types are in development. The current API is based
+on those used by Android and iOS, but may be expanded in the future. "For
+future versions, we'll want to export the raw accelerometer readings, so
+that applications, including games, can make use of them, which might
+bring up security issues. SDL, Firefox, WebKit could all do with being
+adapted, in the near future."
+
+
+%package devel-doc
+Summary: Developer documentation for %name
+Group: Development/C
+Conflicts: %name < %version
+BuildArch: noarch
+
+%description devel-doc
+Developer documentation for %name.
+
+%prep
+%setup
+%patch -p1
+
+%build
+%meson \
+	%{?_enable_gtk_doc:-Dgtk_doc=true} \
+	%{?_enable_check:-Dtests=true} \
+	%{?_disable_gtk_tests:-Dgtk-tests=false}
+%nil
+%meson_build
+
+%install
+%meson_install
+
+%check
+dbus-run-session %__meson_test -t 2
+
+%files
+%_libexecdir/%name
+%_bindir/monitor-sensor
+%_unitdir/%name.service
+%_udevrulesdir/80-%name.rules
+%_sysconfdir/dbus-1/system.d/%rdn_name.conf
+%_datadir/polkit-1/actions/%rdn_name.policy
+%doc README.md NEWS
+
+%if_enabled gtk_doc
+%files devel-doc
+%_datadir/gtk-doc/html/%name/
+%endif
+
+
+%changelog
+* Sun Jul 17 2022 Yuri N. Sedunov <aris@altlinux.org> 3.4-alt1
+- 3.4
+
+* Fri Dec 10 2021 Yuri N. Sedunov <aris@altlinux.org> 3.3-alt1.1
+- rebuilt from git
+
+* Tue Aug 17 2021 Yuri N. Sedunov <aris@altlinux.org> 3.3-alt1
+- 3.3
+
+* Tue Jun 15 2021 Yuri N. Sedunov <aris@altlinux.org> 3.1-alt1
+- 3.1 (ported to Meson build system)
+- fixed License tag
+- disabled check due timeout on girar infrastructure
+
+* Wed Mar 25 2020 Yuri N. Sedunov <aris@altlinux.org> 3.0-alt1
+- 3.0
+
+* Sun Sep 08 2019 Yuri N. Sedunov <aris@altlinux.org> 2.8-alt1
+- 2.8
+
+* Sat May 25 2019 Yuri N. Sedunov <aris@altlinux.org> 2.7-alt1
+- 2.7
+
+* Thu Oct 25 2018 Yuri N. Sedunov <aris@altlinux.org> 2.5-alt1
+- updated to 2.5-6-gbb35319
+
+* Mon Nov 06 2017 Yuri N. Sedunov <aris@altlinux.org> 2.4-alt1
+- 2.4
+
+* Sun Sep 24 2017 Yuri N. Sedunov <aris@altlinux.org> 2.3-alt1
+- 2.3
+
+* Fri Feb 17 2017 Yuri N. Sedunov <aris@altlinux.org> 2.2-alt1
+- 2.2
+
+* Sun Feb 05 2017 Yuri N. Sedunov <aris@altlinux.org> 2.1-alt1
+- 2.1
+
+* Thu Dec 15 2016 Yuri N. Sedunov <aris@altlinux.org> 2.0-alt1
+- 2.0
+
+* Mon Sep 26 2016 Yuri N. Sedunov <aris@altlinux.org> 1.3-alt1
+- 1.3
+
+* Wed Aug 17 2016 Yuri N. Sedunov <aris@altlinux.org> 1.1-alt2
+- updated to 1.1-28-gae82958
+
+* Mon Jul 27 2015 Yuri N. Sedunov <aris@altlinux.org> 1.1-alt1
+- 1.1
+
+* Sat May 23 2015 Yuri N. Sedunov <aris@altlinux.org> 1.0-alt1
+- first build for Sisyphus
+
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin