mirror of
https://abf.rosa.ru/djam/rclone.git
synced 2025-02-23 09:32:55 +00:00
Imported from SRPM
This commit is contained in:
commit
2a58d7f2be
2 changed files with 43 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
rclone-1.59.2.tar.gz: a850ac9cdbb06d78378384cc204fdd765e8c951c
|
41
rclone.spec
Normal file
41
rclone.spec
Normal 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}
|
||||
|
Loading…
Add table
Reference in a new issue