From 9da7196fe9df092e9c86a46a72fcb24f6776c0d9 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Mar 05 2019 20:45:21 +0000 Subject: Initial import (#1648595) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7b74489 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/term-aa71e9d9e942418fbb97d80895dcea70efed297c.tar.gz diff --git a/golang-github-pkg-term.spec b/golang-github-pkg-term.spec new file mode 100644 index 0000000..9707dfb --- /dev/null +++ b/golang-github-pkg-term.spec @@ -0,0 +1,70 @@ +# Run tests in check section +# Tests fails on these arches +%ifarch ppc ppc64 ppc64le s390x +%bcond_with check +%else +%bcond_without check +%endif + +# https://github.com/pkg/term +%global goipath github.com/pkg/term +%global commit aa71e9d9e942418fbb97d80895dcea70efed297c + +%global common_description %{expand: +Package term manages POSIX terminals. As POSIX terminals are connected to, or +emulate, a UART, this package also provides control over the various UART and +serial line parameters.} + +%gometa + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Manages POSIX terminals +# Detected licences +# - BSD 2-clause "Simplified" License at 'LICENSE' +License: BSD +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(golang.org/x/sys/unix) + +%description +%{summary} + + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +%{summary} + +This package contains library source intended for +building other packages which use import path with +%{goipath} prefix. + + +%prep +%forgeautosetup + + +%install +%goinstall + + +%if %{with check} +%check +%gochecks +%endif + + +%files devel -f devel.file-list +%license LICENSE +%doc README.md + + +%changelog +* Tue Mar 05 2019 Robert-André Mauchin - 0-0.1.20190305gitaa71e9d +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..a5ebece --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (term-aa71e9d9e942418fbb97d80895dcea70efed297c.tar.gz) = a90ca8b4134bf9e03d1e12c663d5d878f99b005d65324c58e569488f3d7657db2d076cf504dee081fad17b607460373ad681bc50c68bad88ff440384054b74e6