Imported from SRPM

This commit is contained in:
Sergey Zhemoytel 2022-09-15 23:45:32 +03:00
commit 2a58d7f2be
2 changed files with 43 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
rclone-1.59.2.tar.gz: a850ac9cdbb06d78378384cc204fdd765e8c951c

41
rclone.spec Normal file
View file

@ -0,0 +1,41 @@
%define debug %nil
%define debug_package %nil
Name: rclone
Version: 1.59.2
Release: 1
Summary: Rsync for cloud storage
URL: https://rclone.org
Source0: https://github.com/rclone/rclone/archive/v%{version}/%{name}-%{version}.tar.gz
License: MIT
Group: Development/Other
BuildRequires: go
BuildRequires: git-core
BuildRequires: upx
%description
"rsync for cloud storage" - Google Drive, S3, Dropbox,
Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google
Cloud Storage, Yandex Files
%prep
%setup -q
%build
%make
upx %{name}
./%{name} genautocomplete bash %{name}_completion
./%{name} gendocs _docs
%install
install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
install -Dm0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
install -Dm0644 %{name}_completion %{buildroot}%{_sysconfdir}/bash_completion/%{name}
%files
%doc README.md COPYING MANUAL.* _docs
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.*
%{_sysconfdir}/bash_completion/%{name}