mirror of
https://abf.rosa.ru/djam/distribyted.git
synced 2025-02-24 06:42:56 +00:00
Imported from SRPM
This commit is contained in:
commit
b808cb8b6f
2 changed files with 51 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
distribyted-0.5.0.tar.gz: d8a354dfd2831034f16ca4b957bc3d8bf8325e1e
|
49
distribyted.spec
Normal file
49
distribyted.spec
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
%define debug %nil
|
||||||
|
%define debug_package %nil
|
||||||
|
%define _optdir /opt
|
||||||
|
|
||||||
|
Name: distribyted
|
||||||
|
Version: 0.5.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Torrent client with on-demand file downloading as a filesystem
|
||||||
|
URL: https://distribyted.com
|
||||||
|
Source0: https://github.com/distribyted/distribyted/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
License: GPLv3
|
||||||
|
Group: Development/Other
|
||||||
|
BuildRequires: go
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: upx
|
||||||
|
BuildRequires: pkgconfig(fuse)
|
||||||
|
|
||||||
|
%description
|
||||||
|
Distribyted is an alternative torrent client. It can
|
||||||
|
expose torrent files as a standard FUSE mount or webDAV
|
||||||
|
endpoint and download them on demand, allowing random
|
||||||
|
reads using a fixed amount of disk space.
|
||||||
|
|
||||||
|
Distribyted tries to make easier integrations with other
|
||||||
|
applications using torrent files, presenting them as a
|
||||||
|
standard filesystem.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
go build -o bin/%{name} cmd/distribyted/main.go
|
||||||
|
upx bin/%{name}
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -d %{buildroot}%{_optdir}/%{name}
|
||||||
|
install -Dm0755 bin/%{name} %{buildroot}%{_optdir}/%{name}/%{name}
|
||||||
|
cp -a assets templates %{buildroot}%{_optdir}/%{name}/
|
||||||
|
|
||||||
|
####
|
||||||
|
###
|
||||||
|
# patch /etc/fuse.conf
|
||||||
|
# uncomment #user_allow_other
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_optdir}/%{name}
|
||||||
|
|
Loading…
Add table
Reference in a new issue