63 lines
1.4 KiB
RPMSpec
63 lines
1.4 KiB
RPMSpec
Name: iio-sensor-proxy
|
|
Version: 3.5
|
|
Release: 1
|
|
Summary: IIO accelerometer sensor to input device proxy
|
|
|
|
License: GPLv3+
|
|
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
|
|
%{summary}.
|
|
|
|
%package docs
|
|
Summary: Documentation for %{name}
|
|
BuildArch: noarch
|
|
|
|
%description docs
|
|
The documentation for %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson -Dgtk_doc=true -Dgtk-tests=false
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%post
|
|
%systemd_post %{name}.service
|
|
|
|
%preun
|
|
%systemd_preun %{name}.service
|
|
|
|
%postun
|
|
%systemd_postun_with_restart %{name}.service
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README.md COPYING
|
|
%{_bindir}/monitor-sensor
|
|
%{_unitdir}/%{name}.service
|
|
%{_libexecdir}/%{name}
|
|
%{_udevrulesdir}/*-%{name}.rules
|
|
%{_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
|