Name: rmtfs Version: 1.0 Release: %autorelease Summary: Qualcomm Remote Filesystem Service Implementation License: BSD-3-Clause URL: https://github.com/andersson/rmtfs Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # Add "modem_tng" alias for tunning partition Patch: %{url}/commit/7a5ae7e0a57be3e09e0256b51b9075ee6b860322.patch BuildRequires: gcc BuildRequires: make BuildRequires: systemd-devel BuildRequires: qrtr-devel Requires: qrtr %description Qualcomm Remote Filesystem Service Implementation. %prep %autosetup -p1 %build %make_build prefix="%{_prefix}" %install %make_install prefix="%{_prefix}" %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %license LICENSE %{_bindir}/%{name} %{_unitdir}/%{name}.service %changelog %autochangelog