-
Notifications
You must be signed in to change notification settings - Fork 15
/
seedvault-backup-parser.spec
44 lines (33 loc) · 1.02 KB
/
seedvault-backup-parser.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
%define debug_package %{nil}
%define mybuildnumber %{?build_number}%{?!build_number:1}
Name: seedvault-backup-parser
Version: 2020.10.23
Release: %{mybuildnumber}%{?dist}
Summary: Parse Seedvault backups
BuildArch: noarch
License: Apache 2.0
URL: https://github.com/tlambertz/seedvault_backup_parser
Source0: %{name}-%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: python3-rpm-macros
%global pythoninterp %{_bindir}/python3
Requires: python3
Requires: python3-crypto
%description
This program lets you decrypt and reencrypt Seedvault backups.
%prep
%setup -q
%build
true
%install
rm -rf $RPM_BUILD_ROOT
# variables must be kept in sync with build
mkdir -p "$RPM_BUILD_ROOT"/%{_bindir}
cp -f parse.py "$RPM_BUILD_ROOT"/%{_bindir}/%{name}
chmod 755 "$RPM_BUILD_ROOT"/%{_bindir}/%{name}
%files
%attr(0755, root, root) %{_bindir}/%{name}
%doc README.md LICENSE
%changelog
* Fri Oct 23 2020 Manuel Amador (Rudd-O) <[email protected]>
- Initial build