[packages/jmtpfs] - new

baggins baggins at pld-linux.org
Fri Sep 20 17:33:30 CEST 2013


commit 3b2ce0d62231465368e4d7ff010a1d0210073d83
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Sep 20 17:33:06 2013 +0200

    - new

 gcc.patch   | 10 ++++++++++
 jmtpfs.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
---
diff --git a/jmtpfs.spec b/jmtpfs.spec
new file mode 100644
index 0000000..d4ad1fe
--- /dev/null
+++ b/jmtpfs.spec
@@ -0,0 +1,45 @@
+Summary:	FUSE based MTP filesystem
+Name:		jmtpfs
+Version:	0.4
+Release:	1
+License:	GPL v3
+Group:		Applications/System
+Source0:	http://research.jacquette.com/wp-content/uploads/2012/05/%{name}-%{version}.tar.gz
+# Source0-md5:	e6bcade86da701a5d2b6f6bbc9b24e39
+Patch0:		gcc.patch
+URL:		http://research.jacquette.com/jmtpfs-exchanging-files-between-android-devices-and-linux/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libfuse-devel
+BuildRequires:	libmtp-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FUSE based MTP filesystem designed to make exchanging files between
+Android devices and Linux work as well as it did with using USB Mass
+Storage.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/jmtpfs
diff --git a/gcc.patch b/gcc.patch
new file mode 100644
index 0000000..94fd965
--- /dev/null
+++ b/gcc.patch
@@ -0,0 +1,10 @@
+--- jmtpfs-0.4/src/jmtpfs.cpp~	2012-05-12 01:17:33.000000000 +0200
++++ jmtpfs-0.4/src/jmtpfs.cpp	2013-09-20 17:29:28.010201949 +0200
+@@ -32,6 +32,7 @@
+ #include <sstream>
+ #include <iomanip>
+ #include <assert.h>
++#include <unistd.h>
+ 
+ #define JMTPFS_VERSION "0.4"
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jmtpfs.git/commitdiff/3b2ce0d62231465368e4d7ff010a1d0210073d83



More information about the pld-cvs-commit mailing list