From 9df14efa793f53ba3a4a8a78721a2869080d6368 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Aug 03 2019 14:53:01 +0000 Subject: Initial import (#1733267) Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..35afcdd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/cmdflag-0.0.2.tar.gz diff --git a/golang-github-pierrec-cmdflag.spec b/golang-github-pierrec-cmdflag.spec new file mode 100644 index 0000000..ab93174 --- /dev/null +++ b/golang-github-pierrec-cmdflag.spec @@ -0,0 +1,50 @@ +# Generated by go2rpm 1 +%bcond_without check + +# https://github.com/pierrec/cmdflag +%global goipath github.com/pierrec/cmdflag +Version: 0.0.2 + +%gometa + +%global common_description %{expand: +Building on top of the excellent flag package from the standard library, cmdflag +adds a simple way of specifying nested commands. Its intent is to blend with the +usage of flag by keeping its idioms and simply augment it with commands.} + +%global golicenses LICENSE +%global godocs examples README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Augment the flag package with commands + +# Upstream license specification: BSD-3-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/lib/pq) +BuildRequires: golang(github.com/xo/dburl) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Thu Jul 25 15:49:19 CEST 2019 Robert-André Mauchin - 0.0.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..d95ae22 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cmdflag-0.0.2.tar.gz) = de85ed6c2b1ac19c3369d6b161f59142e4221a72311ac3210d0b0986a2625fed0b9582c21a9045a22a7f121efe41a7179588e3ee05aa738549df854699bb8e5e