Name: timeshift Version: 25.12.1 Release: 1%{?dist} Summary: System restore utility. License: GPL-2.0-or-later URL: https://github.com/linuxmint/timeshift Source0: %{url}/archive/refs/tags/%{version}.tar.gz # Disable automatic debug package generation %global debug_package %{nil} BuildRequires: meson BuildRequires: help2man BuildRequires: gettext BuildRequires: vala BuildRequires: vte291-devel BuildRequires: libgee-devel BuildRequires: json-glib-devel BuildRequires: xapps-devel Requires: cronie Requires: hicolor-icon-theme Requires: polkit Requires: psmisc Requires: rsync %description Timeshift for Linux is an application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. %prep %setup -q # Modify desktop file to launch with dark theme sed 's/timeshift-launcher/GTK_THEME=adw-gtk3-dark timeshift-launcher/' \ src/timeshift-gtk.desktop %build %meson %meson_build %install # Install timeshift.json to /etc/timeshift build sucessfuly mkdir -p %{buildroot}/etc/%{name} install -m 644 files/%{name}.json %{buildroot}/etc/%{name}/ %meson_install %files %license LICENSES/GPL-2.0-or-later.txt %doc AUTHORS README.md %{_bindir}/* %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/pixmaps/%{name}.png %{_datadir}/polkit-1/actions/in.teejeetech.pkexec.%{name}.policy %{_datadir}/%{name}/images/* %{_datadir}/applications/%{name}-gtk.desktop %{_datadir}/metainfo/com.linuxmint.%{name}.metainfo.xml %{_mandir}/man1/%{name}.1* %{_mandir}/man1/%{name}-gtk.1* %config(noreplace) %{_sysconfdir}/%{name}/%{name}.json %{_sysconfdir}/%{name}/default.json %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo %changelog %autochangelog