[mtpfs] Import into Fedora.
Richard W.M. Jones
rjones at fedoraproject.org
Thu May 10 16:02:45 UTC 2012
commit a673284dec1ad13f0a2bfa543c9e3af68f2f1b07
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu May 10 17:02:29 2012 +0100
Import into Fedora.
.gitignore | 1 +
mtpfs.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f3c76c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mtpfs-20120510.tar.gz
diff --git a/mtpfs.spec b/mtpfs.spec
new file mode 100644
index 0000000..0fa89b1
--- /dev/null
+++ b/mtpfs.spec
@@ -0,0 +1,67 @@
+%global svndate 20120510
+
+Name: mtpfs
+Version: 1.1
+Release: 0.2.svn%{svndate}%{?dist}
+Summary: FUSE file system allowing MTP device to be mounted and browsed
+
+License: GPLv3
+URL: https://code.google.com/p/mtpfs/
+
+# Upstream mtpfs does not have releases, so I created this tarball
+# directly from SVN. Here's how:
+# svn checkout http://mtpfs.googlecode.com/svn/trunk/ mtpfs-read-only
+# rm -rf mtpfs-read-only/.svn
+# tar zcf mtpfs-%{svndate}.tar.gz mtpfs-read-only/
+
+Source0: mtpfs-%{svndate}.tar.gz
+
+# autotools are required to build from SVN.
+BuildRequires: autoconf, automake
+
+BuildRequires: libid3tag-devel
+BuildRequires: fuse-devel
+BuildRequires: libmtp-devel
+BuildRequires: glib2-devel
+# configure could use this, but libmad-devel is missing and libmad
+# seems not to have a pkgconfig file.
+#BuildRequires: libmad
+
+# Not strictly required, but hard to see how it's useful without it.
+Requires: %{_bindir}/fusermount
+
+
+%description
+MTPFS is a FUSE file system based on libmtp that allows an MTP device
+to be browsed as if it were a normal external hard disk.
+
+You can use this to mount and browse some Android tablet computers.
+
+
+%prep
+%setup -q -n mtpfs-read-only
+
+
+%build
+autoreconf -i
+%configure --disable-mad
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%files
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{_bindir}/mtpfs
+
+
+%changelog
+* Thu May 10 2012 Richard W.M. Jones <rjones at redhat.com> - 1.1-0.2.svn20120510
+- Use _bindir instead of hard-coding path.
+- Drop buildroot removal from install section.
+- filesystem -> file system (ugh)
+
+* Thu May 10 2012 Richard W.M. Jones <rjones at redhat.com> - 1.1-0.1.svn20120510
+- Initial release for Fedora.
diff --git a/sources b/sources
index e69de29..4c70cc7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2e1fbc712bd4fac23fade3d61eabd82f mtpfs-20120510.tar.gz
More information about the scm-commits
mailing list