## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 Name: btrfs-assistant Version: 2.1.1 Release: %autorelease Summary: GUI management tool to make managing a Btrfs filesystem easier License: GPL-3.0-or-later URL: https://gitlab.com/%{name}/%{name} Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz Requires: hicolor-icon-theme Requires: polkit BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: btrfs-progs-devel BuildRequires: libbtrfsutil BuildRequires: pkgconfig(Qt6Widgets) BuildRequires: pkgconfig(Qt6Linguist) BuildRequires: desktop-file-utils BuildRequires: libappstream-glib Recommends: btrfsmaintenance Recommends: snapper %description Btrfs Assistant is a GUI management tool to make managing a Btrfs filesystem easier. The primary features it offers are: * An easy to read overview of Btrfs metadata * A simple view of subvolumes with or without Snapper/Timeshift snapshots * Run and monitor scrub and balance operations * A pushbutton method for removing subvolumes * A management front-end for Snapper with enhanced restore functionality * View, create and delete snapshots * Restore snapshots in a variety of situations * When the filesystem is mounted in a different distro * When booted off a snapshot * From a live ISO * View, create, edit, remove Snapper configurations * Browse snapshots and restore individual files * Browse diffs of a single file across snapshot versions * Manage Snapper systemd units * A front-end for Btrfs Maintenance * Manage systemd units * Easily manage configuration for defrag, balance and srub settings %prep %autosetup -p1 # Fix config path for btrfsmaintenance sed -i 's|^bm_config =.*|bm_config = %{_sysconfdir}/sysconfig/btrfsmaintenance|' src/btrfs-assistant.conf %build %cmake %cmake_build %install %cmake_install %check %ctest desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.metainfo.xml %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_bindir}/%{name}-bin %{_bindir}/%{name}-launcher %{_metainfodir}/%{name}.metainfo.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/polkit-1/actions/org.%{name}.pkexec.policy %config(noreplace) %{_sysconfdir}/%{name}.conf %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 16 2024 Arthur Bols - 2.1.1-1 - Update to 2.1.1 (fedora#2281564) * Sun Mar 10 2024 Arthur Bols - 2.0-1 - Update to 2.0 (fedora#2268819) * Tue Jan 23 2024 Fedora Release Engineering - 1.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Jan 16 2024 Arthur Bols - 1.9-1 - Update to 1.9 * Wed Jul 19 2023 Fedora Release Engineering - 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri May 19 2023 Arthur Bols - 1.8-1 - Update to 1.8 * Wed Jan 18 2023 Fedora Release Engineering - 1.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 01 2022 Arthur Bols - 1.6.3-3 - Switch to SPDX licensing * Thu Aug 25 2022 Arthur Bols - 1.6.3-1 - Update to 1.6.3 (#2120071) * Wed Aug 24 2022 Arthur Bols - 1.6.2-1 - Update to 1.6.2 (#2120071) - Add metainfo - Fix summary * Wed Jul 20 2022 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jun 04 2022 Arthur Bols - 1.6.1-1 - Initial package ## END: Generated by rpmautospec