diff --git a/iio-sensor-proxy-2.4.tar.xz b/iio-sensor-proxy-2.4.tar.xz deleted file mode 100644 index 0b933d406221a63403c20fbbc74c004af78f8503..0000000000000000000000000000000000000000 Binary files a/iio-sensor-proxy-2.4.tar.xz and /dev/null differ diff --git a/iio-sensor-proxy-3.4.tar.gz b/iio-sensor-proxy-3.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b8158266cfb6a0f84a0d0d2c6edc4e9b43137df7 Binary files /dev/null and b/iio-sensor-proxy-3.4.tar.gz differ diff --git a/iio-sensor-proxy.spec b/iio-sensor-proxy.spec index 68e4e5903946de1e42ea15025e69840927abdedd..a5ec9c332ccb19d45a015466758099f40d9e034d 100644 --- a/iio-sensor-proxy.spec +++ b/iio-sensor-proxy.spec @@ -1,13 +1,13 @@ Name: iio-sensor-proxy -Version: 2.4 -Release: 5 +Version: 3.4 +Release: 1 Summary: IIO accelerometer sensor to input device proxy License: GPLv3+ -URL: https://github.com/hadess/iio-sensor-proxy -Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz +URL: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy +Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: make gcc gtk-doc +BuildRequires: meson gcc gtk-doc BuildRequires: pkgconfig(udev) pkgconfig(systemd) pkgconfig(gio-2.0) pkgconfig(gudev-1.0) systemd %{?systemd_requires} @@ -25,15 +25,13 @@ The documentation for %{name}. %autosetup %build -%configure \ - --disable-silent-rules \ - --enable-gtk-doc \ - --disable-gtk-tests \ # not really interested in sample progs - %{nil} -%make_build +%meson -Dgtk-tests=false \ + -Dgtk_doc=true \ + -Dgeoclue-user=srvGeoClue +%meson_build %install -%make_install +%meson_install %post %systemd_post %{name}.service @@ -46,16 +44,20 @@ The documentation for %{name}. %files %defattr(-,root,root) -%doc README COPYING +%doc README.md COPYING %{_bindir}/monitor-sensor -%{_sbindir}/%{name} +%{_libexecdir}/%{name} %{_unitdir}/%{name}.service %{_udevrulesdir}/*-%{name}.rules %{_sysconfdir}/dbus-1/system.d/net.hadess.SensorProxy.conf +%{_datadir}/polkit-1/actions/net.hadess.SensorProxy.policy %files docs %{_datadir}/gtk-doc/html/%{name}/ %changelog +* Fri Jul 22 2022 YukariChiba - 3.4-1 +- Upgrade version to 3.4 and change source url + * Wed Dec 4 2019 Senlin Xia - 2.4.5 - Package init