## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global prj_name time-services Name: qcom-time-services Version: 0.1.2 Release: %autorelease Summary: Qualcomm time daemon License: BSD-3-Clause URL: https://github.com/quic/time-services Source0: %{url}/archive/v%{version}/%{prj_name}-%{version}.tar.gz Source1: %{name}.service # https://github.com/quic/time-services/commit/d726bee9b484b0d72150a1f34b2e9781bad78630 Patch0: d726bee9b484b0d72150a1f34b2e9781bad78630.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: libtool BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(qmi-framework) BuildRequires: systemd %description %{name} daemon synchronizes time from the modem to the applications processor and maintains time offsets across reboots, once set from any source. %prep %autosetup -p1 -n %{prj_name}-%{version} %conf autoreconf -fiv %configure %build %make_build %install %make_install mkdir -p %{buildroot}%{_unitdir} install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %license LICENSE %doc README.md %{_bindir}/time_daemon %{_unitdir}/%{name}.service %changelog ## START: Generated by rpmautospec * Mon Aug 17 2026 John Doe - 0.1.2-1 - Uncommitted changes ## END: Generated by rpmautospec