Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for pool-leap-15.4:ppc64le
devel:languages:go
golang-github-mattn-isatty
golang-github-mattn-isatty.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File golang-github-mattn-isatty.spec of Package golang-github-mattn-isatty
# # spec file for package golang-github-mattn-isatty # # Copyright (c) 2017 SUSE LINUX 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/ # %global provider github %global provider_tld com %global project mattn %global repo go-isatty # https://github.com/mattn/go-isatty %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider_prefix} Name: golang-%{provider}-%{project}-isatty Version: 0.0.12 Release: 0 Summary: Golang package which implements interface to isatty License: MIT Group: Development/Languages/Other URL: https://%{provider_prefix} Source: https://github.com/mattn/go-isatty/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: golang-packaging BuildArch: noarch %{go_provides} %description The isatty golang package can be used to check if a file descriptor is a tty. %prep %setup -q -n %{repo}-%{version} %build %{goprep} %{import_path} %install %if 0%{?suse_version} < 1330 install -d -p %{buildroot}%{go_contribsrcdir}/%{import_path}/ for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do install -d -p %{buildroot}%{go_contribsrcdir}/%{import_path}/$(dirname $file) cp -pav $file %{buildroot}%{go_contribsrcdir}/%{import_path}/$file done %else %{gosrc} %endif %files %doc README.md LICENSE %{go_contribsrcdir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor