# the release profile strips the binary %global debug_package %{nil} Name: ancs-client Version: 1.0.0 Release: 1%{?dist} Summary: iOS & iPadOS notifications on the Linux desktop via Bluetooth LE (ANCS) License: MIT URL: https://codeberg.org/chf/%{name} Source0: %{name}-%{version}.tar.gz BuildRequires: cargo BuildRequires: systemd-rpm-macros Requires: bluez %description Receive iOS and iPadOS notifications on your Linux desktop without jailbreak, using the Apple Notification Center Service (ANCS) over Bluetooth Low Energy. Rust port of https://github.com/pzmarzly/ancs4linux. %prep %autosetup -n %{name}-%{version} %build # dependencies are fetched from crates.io, the Copr project enables network cargo build --release --locked %install install -Dm755 target/release/%{name} %{buildroot}%{_bindir}/%{name} install -Dm644 packaging/%{name}.service %{buildroot}%{_userunitdir}/%{name}.service install -Dm644 packaging/80-%{name}.preset %{buildroot}%{_userpresetdir}/80-%{name}.preset install -Dm644 packaging/de.christianfochler.AncsClient.service %{buildroot}%{_datadir}/dbus-1/services/de.christianfochler.AncsClient.service %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %postun %systemd_user_postun_with_restart %{name}.service %files %license LICENSE %doc docs/README.md %{_bindir}/%{name} %{_userunitdir}/%{name}.service %{_userpresetdir}/80-%{name}.preset %{_datadir}/dbus-1/services/de.christianfochler.AncsClient.service %changelog * Sat Oct 03 2026 Christian - 1.0.0-1 - Add status command and D-Bus status properties - Advertise for reconnect also without LE connection * Sat Oct 03 2026 Christian - 0.1.0-1 - Initial Copr packaging of the Rust port of ancs4linux