mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-05 03:12:18 +00:00
@@ -1,5 +0,0 @@
|
|||||||
project pkg {
|
|
||||||
rpm {
|
|
||||||
spec = "golang-github-xyproto-env.spec"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
# Generated by go2rpm 1.8.2
|
|
||||||
%bcond_without check
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
# https://github.com/xyproto/env
|
|
||||||
%global goipath github.com/xyproto/env
|
|
||||||
Version: 2.5.3
|
|
||||||
|
|
||||||
%gometa -f
|
|
||||||
|
|
||||||
%global common_description %{expand:
|
|
||||||
Provide default values when fetching environment variables.}
|
|
||||||
|
|
||||||
%global golicenses LICENSE
|
|
||||||
%global godocs README.md
|
|
||||||
|
|
||||||
Name: golang-%{goname}
|
|
||||||
Release: 1%?dist
|
|
||||||
Summary: Provide default values when fetching environment variables
|
|
||||||
|
|
||||||
License: BSD-3-Clause
|
|
||||||
URL: %{gourl}
|
|
||||||
Source: %{gosource}
|
|
||||||
|
|
||||||
%description %{common_description}
|
|
||||||
|
|
||||||
%gopkg
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%goprep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%go_generate_buildrequires
|
|
||||||
|
|
||||||
%build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%gopkginstall
|
|
||||||
|
|
||||||
%if %{with check}
|
|
||||||
%check
|
|
||||||
%gocheck
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%gopkgfiles
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
rpm.version(gh_tag("xyproto/env"));
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
project pkg {
|
|
||||||
rpm {
|
|
||||||
spec = "golang-github-xyproto-env.spec"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
# Generated by go2rpm 1.8.2
|
|
||||||
%bcond_without check
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
# https://github.com/xyproto/env
|
|
||||||
%global goipath github.com/xyproto/env
|
|
||||||
Version: 1.9.1
|
|
||||||
|
|
||||||
%gometa -f
|
|
||||||
|
|
||||||
%global common_description %{expand:
|
|
||||||
Provide default values when fetching environment variables.}
|
|
||||||
|
|
||||||
%global golicenses LICENSE
|
|
||||||
%global godocs README.md
|
|
||||||
|
|
||||||
Name: golang-%{goname}
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: Provide default values when fetching environment variables
|
|
||||||
|
|
||||||
License: BSD-3-Clause
|
|
||||||
URL: %{gourl}
|
|
||||||
Source: %{gosource}
|
|
||||||
|
|
||||||
%description %{common_description}
|
|
||||||
|
|
||||||
%gopkg
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%goprep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%go_generate_buildrequires
|
|
||||||
|
|
||||||
%build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%gopkginstall
|
|
||||||
|
|
||||||
%if %{with check}
|
|
||||||
%check
|
|
||||||
%gocheck
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%gopkgfiles
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
project pkg {
|
|
||||||
rpm {
|
|
||||||
spec = "golang-github-xyproto-textoutput.spec"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
# Generated by go2rpm 1.8.2
|
|
||||||
%bcond_without check
|
|
||||||
|
|
||||||
# https://github.com/xyproto/textoutput
|
|
||||||
%global goipath github.com/xyproto/textoutput
|
|
||||||
Version: 1.17.1
|
|
||||||
|
|
||||||
%gometa -f
|
|
||||||
|
|
||||||
%global common_description %{expand:
|
|
||||||
:a: Output text, with and without colors.}
|
|
||||||
|
|
||||||
%global golicenses LICENSE
|
|
||||||
%global godocs README.md
|
|
||||||
|
|
||||||
Name: golang-%{goname}
|
|
||||||
Release: 1%?dist
|
|
||||||
Summary: :a: Output text, with and without colors
|
|
||||||
|
|
||||||
License: BSD-3-Clause
|
|
||||||
URL: %{gourl}
|
|
||||||
Source: %{gosource}
|
|
||||||
|
|
||||||
%description %{common_description}
|
|
||||||
|
|
||||||
%gopkg
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%goprep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%go_generate_buildrequires
|
|
||||||
|
|
||||||
%build
|
|
||||||
for cmd in cmd/* ; 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
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
|
||||||
%{_bindir}/*
|
|
||||||
|
|
||||||
%gopkgfiles
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
rpm.version(gh_tag("xyproto/textoutput"));
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
project pkg {
|
|
||||||
rpm {
|
|
||||||
spec = "golang-github-xyproto-vt100.spec"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
# Generated by go2rpm 1.8.2
|
|
||||||
%bcond_without check
|
|
||||||
|
|
||||||
# https://github.com/xyproto/vt100
|
|
||||||
%global goipath github.com/xyproto/vt100
|
|
||||||
Version: 1.16.11
|
|
||||||
|
|
||||||
%gometa -f
|
|
||||||
|
|
||||||
%global common_description %{expand:
|
|
||||||
:computer: VT100 Terminal Package.}
|
|
||||||
|
|
||||||
%global golicenses LICENSE
|
|
||||||
%global godocs README.md cmd/widget/README.md
|
|
||||||
|
|
||||||
Name: golang-%{goname}
|
|
||||||
Release: 1%?dist
|
|
||||||
Summary: VT100 Terminal Package
|
|
||||||
|
|
||||||
License: BSD-3-Clause
|
|
||||||
URL: %{gourl}
|
|
||||||
Source: %{gosource}
|
|
||||||
|
|
||||||
%description %{common_description}
|
|
||||||
|
|
||||||
%gopkg
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%goprep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%go_generate_buildrequires
|
|
||||||
|
|
||||||
%build
|
|
||||||
for cmd in cmd/* ; 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
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
|
||||||
%license LICENSE
|
|
||||||
%doc TODO.md README.md cmd/widget/README.md
|
|
||||||
%{_bindir}/*
|
|
||||||
|
|
||||||
%gopkgfiles
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
rpm.version(gh_tag("xyproto/vt100"));
|
|
||||||
Reference in New Issue
Block a user