summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2021-06-29 16:36:35 -0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2021-06-29 16:36:35 -0700
commit5b1333c4638ddee87cb63ff5a272a040586aa7f0 (patch)
tree2a77ea170e184bb7460d7eb1c237dd90f72fd3b8
parent46603cf2ec20c5d1b7fa09b3073014eafeb959d9 (diff)
downloadspecs-5b1333c4638ddee87cb63ff5a272a040586aa7f0.tar.gz
specs-5b1333c4638ddee87cb63ff5a272a040586aa7f0.tar.xz
specs-5b1333c4638ddee87cb63ff5a272a040586aa7f0.zip
- buttermanager
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--admin/buttermanager.spec57
1 files changed, 0 insertions, 57 deletions
diff --git a/admin/buttermanager.spec b/admin/buttermanager.spec
deleted file mode 100644
index a195203..0000000
--- a/admin/buttermanager.spec
+++ /dev/null
@@ -1,57 +0,0 @@
-Name: buttermanager
-Version: 2.4.1
-Release: 1%{?dist}
-Summary: Tool for managing Btrfs snapshots, balancing filesystems and more
-
-License: GPLv3
-URL: https://github.com/egara/buttermanager
-Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
-# https://github.com/egara/buttermanager/pull/35
-Patch0: %{name}-2.4.1-fix_setup.patch
-# https://github.com/egara/buttermanager/pull/36
-Patch1: %{name}-2.4.1-noexec.patch
-# https://github.com/egara/buttermanager/pull/37
-Patch2: %{name}-2.4.1-no_shebangs.patch
-
-BuildArch: noarch
-BuildRequires: python3-devel
-BuildRequires: python3dist(setuptools)
-Requires: btrfs-progs
-# Recommends: grub2-btrfs
-
-%description
-ButterManager is a BTRFS tool for managing snapshots, balancing filesystems
-and upgrading the system safely.
-
-%prep
-%autosetup -p1
-
-
-%build
-%py3_build
-
-
-%install
-%py3_install
-
-install -Dpm644 packaging/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
-install -Dpm644 packaging/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/%{name}.svg
-
-# Fix the desktop file
-sed \
- -e "s/Icon=.*/Icon=%{name}/" \
- -i %{buildroot}%{_datadir}/applications/%{name}.desktop
-
-
-%files
-%license LICENSE
-%doc README.md doc
-%{_bindir}/buttermanager
-%{python3_sitelib}/buttermanager*
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/scalable/%{name}.svg
-
-
-%changelog
-* Tue Jun 22 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2.4.1-1
-- Initial package