[packages/android-file-transfer] add fuse subpackage

glen glen at pld-linux.org
Thu Jul 19 20:46:22 CEST 2018


commit 724bec8800ce8868b5e3f83dee49d2717cdc0e47
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Jul 19 21:44:56 2018 +0300

    add fuse subpackage

 android-file-transfer.spec | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/android-file-transfer.spec b/android-file-transfer.spec
index 178f468..fea6ff6 100644
--- a/android-file-transfer.spec
+++ b/android-file-transfer.spec
@@ -76,9 +76,23 @@ Static %{name} library.
 %description static -l pl.UTF-8
 Statyczna biblioteka %{name}.
 
+%package fuse
+Summary:	aft-mtp-mount fuse wrapper
+Group:		Applications
+%if %{with shared}
+Requires:	%{name}-libs = %{version}-%{release}
+%endif
+
+%description fuse
+FUSE wrapper (If you'd prefer mounting your device), supporting
+partial read/writes, allowing instant access to your files.
+
 %package qt
 Summary:	Qt GUI
 Group:		X11/Applications
+%if %{with shared}
+Requires:	%{name}-libs = %{version}-%{release}
+%endif
 
 %description qt
 Qt GUI.
@@ -106,11 +120,16 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/aft-mtp-cli
+
+%if %{with fuse}
+%files fuse
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/aft-mtp-mount
+%endif
 
+%if %{with qt}
 %files qt
 %defattr(644,root,root,755)
-%if %{with qt}
 %attr(755,root,root) %{_bindir}/android-file-transfer
 %{_desktopdir}/android-file-transfer.desktop
 %{_iconsdir}/hicolor/512x512/apps/android-file-transfer.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/android-file-transfer.git/commitdiff/d8b9bd558603ab734e869be08d9902b459cbd98e



More information about the pld-cvs-commit mailing list