# Generated by go2rpm %bcond_without check # https://github.com/BurntSushi/xgb %global goipath github.com/BurntSushi/xgb %global commit 27f122750802c950b2c869a5b63dafcf590ced95 %gometa %global common_description %{expand: XGB is the X Go Binding, which is a low-level API to communicate with the core X protocol and many of the X extensions. It is closely modeled after XCB and xpyb.} %global golicenses LICENSE xgbgen/COPYING %global godocs examples AUTHORS CONTRIBUTORS README Name: %{goname} Version: 0 Release: 0.6%{?dist} Summary: Low-level api to communicate with the X server License: WTFPL URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in xgbgen; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck -d xproto %endif %files %license %{golicenses} %doc %{godocs} %{_bindir}/* %gopkgfiles %changelog * Thu Apr 25 00:33:47 CEST 2019 Robert-André Mauchin - 0-0.6.20181113git27f1227 - Update to new macros * Thu Jan 31 2019 Fedora Release Engineering - 0-0.5.git27f1227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Nov 12 2018 Robert-André Mauchin - 0-0.4.20181113git27f1227 - Update to new Go packaging * Fri Jul 13 2018 Fedora Release Engineering - 0-0.3.git27f1227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.2.git27f1227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Aug 11 2017 mosquito - 0-0.1.git27f1227 - Initial package