%global commit b7d9e1e89b25e76ea19aea746619e72ca6ff36bc Name: pd-mapper Version: 1.0 Release: %autorelease Summary: Service listing daemon for Qualcomm IPC Router License: BSD-3-Clause URL: https://github.com/andersson/pd-mapper Source: %{url}/archive/%{commit}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: systemd-rpm-macros BuildRequires: qrtr-devel BuildRequires: xz-devel Requires: qrtr %description This package provides the userspace component for the Qualcomm IPC Router protocol, which maintains a service listing and allows peforming lookups. %prep %autosetup %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