From c4b31c784ada271130d19c2792d4fa5844e2d2f1 Mon Sep 17 00:00:00 2001 From: u Date: May 01 2024 05:17:19 +0000 Subject: update --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31c0532 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.osc +_output_dir diff --git a/_service b/_service new file mode 100644 index 0000000..52d6413 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + git + https://github.com/spion/adbfs-rootless.git + adbfs-rootless + git.%h + 0.0 + + + + *tar + xz + + + diff --git a/adbfs.spec b/adbfs.spec new file mode 100644 index 0000000..ab909b6 --- /dev/null +++ b/adbfs.spec @@ -0,0 +1,59 @@ +# +# spec file for package adbfs +# +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: adbfs +%define _name adbfs-rootless +Version: 0.1 +Release: 0 +Summary: FUSE Filesystem for Android Debugger +License: BSD 3-Clause +Group: System/GUI/GNOME +Url: https://github.com/spion/adbfs-rootless +Source: %{_name}-%{version}.tar.xz + +BuildRequires: fuse-devel +BuildRequires: gcc-c++ +BuildRequires: pkg-config + +Requires: android-tools +#BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This utility creates a FUSE file system based on Android Debugging Bridge +interface. + +This variant of adbfs workous even WITHOUT having root access (busybox) +on your phone! + +%prep +%setup -q -n %{_name}-%{version} +sed -i s/CXXFLAGS=/CXXFLAGS+=/ Makefile + +%build +make %{?_smp_mflags} CXXFLAGS="-O2 %{optflags} -D_FILE_OFFSET_BITS=64" + +%install +mkdir -p %{buildroot}%{_bindir} +install adbfs %{buildroot}%{_bindir}/ + +%files +%defattr(-,root,root) +%doc README.md license +%{_bindir}/adbfs + +%changelog