From e557bd310b7dca7e01015b6754f847edae9232f3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:53:10 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.4-1mamba;Thu Sep 13 2018] --- README.md | 2 ++ iio-sensor-proxy.spec | 50 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 iio-sensor-proxy.spec diff --git a/README.md b/README.md index d106fb5..5e4a2fc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # iio-sensor-proxy +IIO accelerometer sensor to input device proxy. + diff --git a/iio-sensor-proxy.spec b/iio-sensor-proxy.spec new file mode 100644 index 0000000..ea00cd7 --- /dev/null +++ b/iio-sensor-proxy.spec @@ -0,0 +1,50 @@ +Name: iio-sensor-proxy +Version: 2.4 +Release: 1mamba +Summary: IIO accelerometer sensor to input device proxy +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/hadess/iio-sensor-proxy +## GITSOURCE https://github.com/hadess/iio-sensor-proxy.git 2.4 +Source: https://github.com/hadess/iio-sensor-proxy.git/%{version}/iio-sensor-proxy-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libglib-devel +BuildRequires: libgudev-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +IIO accelerometer sensor to input device proxy. + +%debug_package + +%prep +%setup -q + +%build +./autogen.sh +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sysconfdir}/dbus-1/system.d/net.hadess.SensorProxy.conf +%{_bindir}/monitor-sensor +%{_sbindir}/iio-sensor-proxy +%{_unitdir}/iio-sensor-proxy.service +%{_udevrulesdir}/80-iio-sensor-proxy.rules + +%changelog +* Thu Sep 13 2018 Silvan Calarco 2.4-1mamba +- package created using the webbuild interface