# the release profile strips the binary %global debug_package %{nil} %global extension_uuid ancs-client@christianfochler.de Name: ancs-client Version: 1.1.1 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: desktop-file-utils 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. Includes a GNOME Shell extension with switches for the types of notifications. %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 desktop-file-install --dir=%{buildroot}%{_datadir}/applications packaging/de.christianfochler.AncsClient.desktop install -Dm644 -t %{buildroot}%{_datadir}/gnome-shell/extensions/%{extension_uuid} gnome-shell-extension/%{extension_uuid}/* %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 %{_datadir}/applications/de.christianfochler.AncsClient.desktop # co-owned, GNOME Shell isn't required %dir %{_datadir}/gnome-shell %dir %{_datadir}/gnome-shell/extensions %{_datadir}/gnome-shell/extensions/%{extension_uuid} %changelog * Mon Oct 05 2026 Christian - 1.1.1-1 - Start a stopped daemon from the quick settings toggle - Show only problems in its menu, highlighted * Mon Oct 05 2026 Christian - 1.1.0-1 - Group notifications under ANCS Client with a desktop file - Configure shown notifications in ~/.config/ancs-client/config.toml - Add GNOME Shell quick settings toggle: pause, types, number of notifications - Fix notifications shown after removal on the phone - No actions for missed calls * 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