File go-go-mtpfs.spec of Package go-go-mtpfs

#
# spec file for package go-go-mtpfs
#
# Copyright (c) 2014 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:           go-go-mtpfs
Version:        0.0.0+git20140903.689b5b4
Release:        0
Summary:        Mount MTP devices over FUSE
License:        BSD-3-Clause
Group:          Productivity/Multimedia/Sound/Players
Url:            https://github.com/hanwen/go-mtpfs
Source:         go-mtpfs-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  go-devel
BuildRequires:  go-go-fuse
BuildRequires:  go-hanwen-usb
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(libmtp)
Requires:       go-go-fuse
Requires:       go-hanwen-usb
Requires:       pkg-config
Requires:       pkgconfig(libmtp)
Provides:       go-mtpfs = 0.0+git6b55d1f9
Obsoletes:      go-mtpfs < 0.0+git6b55d1f9
%{go_requires}
%{go_provides}
%{go_recommends}

%description
Go-mtpfs is a simple FUSE filesystem for mounting Android devices as a
MTP device.

It will expose all storage areas of a device in the mount, and only
reads file metadata as needed, making it mount quickly. It uses
Android extensions to read/write partial data, so manipulating large
files requires no extra space in /tmp.

It has been tested on various flagship devices (Galaxy Nexus, Xoom,
Nexus 7).  As of Jan. 2013, it uses a pure Go implementation of MTP,
which is based on libusb.

%godoc_package

%prep
%setup -q -n go-mtpfs-%{version}

%build
%goprep github.com/hanwen/go-mtpfs
%gobuild 

%install
%goinstall
%godoc

%files
%defattr(-,root,root,-)
%doc README LICENSE
%{_bindir}/go-mtpfs
%{go_contribdir}/*

%files doc
%defattr(-,root,root,-)
%{go_contribsrcdir}/*

%changelog
openSUSE Build Service is sponsored by