diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..21abf85 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/btfs-*.tar.gz diff --git a/fuse-btfs.spec b/fuse-btfs.spec new file mode 100644 index 0000000..ed64421 --- /dev/null +++ b/fuse-btfs.spec @@ -0,0 +1,48 @@ +Summary: FUSE filesystem Bittorrent +Name: fuse-btfs +Version: 2.22 +Release: 2%{?dist} + +License: GPLv3 +URL: https://github.com/johang/btfs +Source0: https://github.com/johang/btfs/archive/v%{version}/btfs-%{version}.tar.gz + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(fuse) +BuildRequires: pkgconfig(libtorrent-rasterbar) +BuildRequires: pkgconfig(libcurl) + +%description +With BTFS, you can mount any .torrent file or magnet link and then use it as +any read-only directory in your file tree. The contents of the files will be +downloaded on-demand as they are read by applications. Tools like ls, cat and +cp works as expected. Applications like vlc and mplayer can also work without +changes. + +%prep +%autosetup -n btfs-%{version} + +%build +autoreconf -i +%configure +%make_build + +%install +%{make_install} + +%files +%{_bindir}/* +%{_mandir}/man1/* + +%doc README.md +%license LICENSE + + +%changelog +* Thu Sep 3 2020 Mikel Olasagasti Uranga - 2.22-2 +- Spec changes based on review + +* Sat Aug 15 2020 Mikel Olasagasti Uranga - 2.22-1 +- Initial version of the package diff --git a/sources b/sources new file mode 100644 index 0000000..9eef615 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (btfs-2.22.tar.gz) = bc0fbded3e52cdc0093053762467e7290380a55e116ea2457b2700fe82110c4b6f7a592b9bebef335a14a4ce0fb262fc3dc9c0f4ea3b619d02595e4e74e36fa3