File go-hanwen-usb.spec of Package go-hanwen-usb

#
# spec file for package go-hanwen-usb
#
# 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-hanwen-usb
Version:	0.0.0+git20140903.137fe40
Release:	0
License:	BSD-3-Clause
Summary:	CGO bindings for libusb
Url:	https://github.com/hanwen/usb
Group:	Development/Languages/Other
Source:	usb-%{version}.tar.bz2
BuildRequires:	go-devel
BuildRequires:	pkg-config
BuildRequires:	libusb-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{go_requires}
%{go_provides}
%{go_recommends}

%description
These are CGO bindings for libusb, created and tested on Linux.

%godoc_package

%prep
%setup -q -n usb-%{version}

%build
%goprep github.com/hanwen/usb
%gobuild

%install
%goinstall
%godoc

%files
%defattr(-,root,root)
%doc LICENSE README.md
%{go_contribdir}/*

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

%changelog

openSUSE Build Service is sponsored by