From c1ff5f9364629ddcf8f1a7024bb678e6f51b727c Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 23 2019 22:37:46 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5e293a4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/xgb-27f122750802c950b2c869a5b63dafcf590ced95.tar.gz diff --git a/golang-github-burntsushi-xgb.spec b/golang-github-burntsushi-xgb.spec new file mode 100644 index 0000000..09d285c --- /dev/null +++ b/golang-github-burntsushi-xgb.spec @@ -0,0 +1,74 @@ +# 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 diff --git a/sources b/sources new file mode 100644 index 0000000..3213a5c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xgb-27f122750802c950b2c869a5b63dafcf590ced95.tar.gz) = 889ff39e4e5614faf7ef49a9fbae3efdd0dd9232b8652c34f621208b4d136ff76864ceb61e2b6cb3796fbf51309b0c74e50e7f2444927e0e99072c65c4892cd5