mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
add: cliphist (#2676)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "golang-github-sentriz-cliphist.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
# Generated by go2rpm 1.14.0
|
||||
%bcond check 0
|
||||
%bcond bootstrap 0
|
||||
|
||||
#if %{with bootstrap}
|
||||
%global debug_package %{nil}
|
||||
#endif
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
# https://github.com/sentriz/cliphist
|
||||
%global goipath github.com/sentriz/cliphist
|
||||
Version: 0.6.1
|
||||
|
||||
%gometa -f
|
||||
|
||||
%global common_description %{expand:
|
||||
Wayland clipboard manager with support for multimedia.}
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs CHANGELOG.md readme.md version.txt
|
||||
|
||||
Name: golang-github-sentriz-cliphist
|
||||
Release: %autorelease
|
||||
Summary: Wayland clipboard manager with support for multimedia
|
||||
Provides: cliphist
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
License: GPL-3.0-only
|
||||
URL: %{gourl}
|
||||
Source: %{gosource}
|
||||
BuildRequires: anda-srpm-macros
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
%gopkg
|
||||
|
||||
%prep
|
||||
%goprep -A
|
||||
%autopatch -p1
|
||||
%go_prep_online
|
||||
|
||||
#if %{without bootstrap}
|
||||
#generate_buildrequires
|
||||
#go_generate_buildrequires
|
||||
#endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%build
|
||||
%go_build_online
|
||||
%endif
|
||||
|
||||
%install
|
||||
#gopkginstall
|
||||
%if %{without bootstrap}
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp build/bin/%name %{buildroot}%{_bindir}/cliphist
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%if %{with check}
|
||||
%check
|
||||
%gocheck
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md readme.md
|
||||
%{_bindir}/cliphist
|
||||
%endif
|
||||
|
||||
#gopkgfiles
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("sentriz/cliphist"));
|
||||
Reference in New Issue
Block a user