!5 Upgrade to 3.5

From: @starlet-dx 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2024-01-18 12:44:11 +00:00 committed by Gitee
commit 5b22a9d752
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 18 additions and 17 deletions

Binary file not shown.

BIN
iio-sensor-proxy-3.5.tar.gz Normal file

Binary file not shown.

View File

@ -1,14 +1,15 @@
Name: iio-sensor-proxy
Version: 2.4
Release: 5
Version: 3.5
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: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: make gcc gtk-doc
BuildRequires: pkgconfig(udev) pkgconfig(systemd) pkgconfig(gio-2.0) pkgconfig(gudev-1.0) systemd
BuildRequires: meson pkgconfig(polkit-gobject-1)
%{?systemd_requires}
%description
@ -22,18 +23,14 @@ BuildArch: noarch
The documentation for %{name}.
%prep
%autosetup
%autosetup -p1
%build
%configure \
--disable-silent-rules \
--enable-gtk-doc \
--disable-gtk-tests \ # not really interested in sample progs
%{nil}
%make_build
%meson -Dgtk_doc=true -Dgtk-tests=false
%meson_build
%install
%make_install
%meson_install
%post
%systemd_post %{name}.service
@ -46,16 +43,20 @@ The documentation for %{name}.
%files
%defattr(-,root,root)
%doc README COPYING
%doc README.md COPYING
%{_bindir}/monitor-sensor
%{_sbindir}/%{name}
%{_unitdir}/%{name}.service
%{_libexecdir}/%{name}
%{_udevrulesdir}/*-%{name}.rules
%{_sysconfdir}/dbus-1/system.d/net.hadess.SensorProxy.conf
%{_datadir}/dbus-1/system.d/net.hadess.SensorProxy.conf
%{_datadir}/polkit-1/actions/net.hadess.SensorProxy.policy
%files docs
%{_datadir}/gtk-doc/html/%{name}/
%changelog
* Thu Jan 18 2024 yaoxin <yao_xin001@hoperun.com> - 3.5-1
- Upgrade to 3.5
* Wed Dec 4 2019 Senlin Xia <xiasenlin1@huawei.com> - 2.4.5
- Package init

View File

@ -1,4 +1,4 @@
version_control: github
version_control: gitlab.freedesktop
src_repo: hadess/iio-sensor-proxy
tag_prefix: ^v
tag_prefix: ''
seperator: .