From e190ce5e0fc966934044da2b7d3db3e3d138c6cc Mon Sep 17 00:00:00 2001 From: Paul Gier Date: May 22 2018 12:52:01 +0000 Subject: Initial import (#1578564) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..95c6ced --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/wifi-17fb8383f38adbf6a7f12e6cbd1d461760aabf5c.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 7ff627d..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-github-mdlayher-wifi - -The golang-github-mdlayher-wifi package \ No newline at end of file diff --git a/golang-github-mdlayher-wifi.spec b/golang-github-mdlayher-wifi.spec new file mode 100644 index 0000000..31c0307 --- /dev/null +++ b/golang-github-mdlayher-wifi.spec @@ -0,0 +1,62 @@ +%bcond_without check +%global goipath github.com/mdlayher/wifi +%global commit 17fb8383f38adbf6a7f12e6cbd1d461760aabf5c + +Version: 0 + +%global common_description %{expand: +Package wifi provides access to IEEE 802.11 WiFi device actions and statistics. +} + +%gometa + +Name: %{goname} +Release: 0.1%{?dist} +Summary: Provides access to IEEE 802.11 WiFi device actions and statistics +License: MIT +URL: %{gourl} +Source: %{gosource} + +BuildRequires: golang(github.com/mdlayher/genetlink) +BuildRequires: golang(github.com/mdlayher/netlink) +BuildRequires: golang(github.com/mdlayher/netlink/nlenc) +BuildRequires: golang(golang.org/x/net/bpf) +BuildRequires: golang(golang.org/x/sys/unix) + +%if %{with check} +BuildRequires: golang(github.com/google/go-cmp/cmp) +BuildRequires: golang(github.com/mdlayher/genetlink/genltest) +%endif + +%description +%{common_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +%{common_description} + +This package contains the source code needed for building packages that import +the %{goipath} Go namespace. + +%prep +%gosetup -q +rm -rf vendor + +%install +%goinstall + +%check +%if %{with check} + %gochecks +%endif + +%files devel -f devel.file-list +%license LICENSE.md +%doc README.md + +%changelog +* Thu May 17 2018 Paul Gier - 0-0.1.20180517git17fb838 +- First package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..4c00096 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wifi-17fb8383f38adbf6a7f12e6cbd1d461760aabf5c.tar.gz) = f72831b089bcf56313b16ab6f475004c946e0449fd5d51985961c47e27bb7789a44c7f1503679866f2b6991e39623db93b432634c93d1643480d6f1a11d67b38