mirror of
https://abf.rosa.ru/djam/lazysql.git
synced 2025-02-23 06:42:46 +00:00
Imported from SRPM
This commit is contained in:
commit
54a903e64d
2 changed files with 36 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
lazysql-0.1.0.tar.gz: 0f64500585981f75a236415f8fbb80d24d86892e
|
34
lazysql.spec
Normal file
34
lazysql.spec
Normal file
|
@ -0,0 +1,34 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
|
||||
Name: lazysql
|
||||
Version: 0.1.0
|
||||
Release: 1
|
||||
Summary: TUI database management tool
|
||||
URL: https://github.com/jorgerojas26/lazysql
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
License: MIT
|
||||
Group: Development/Other
|
||||
BuildRequires: go
|
||||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
|
||||
%description
|
||||
A cross-platform TUI database management tool written in Go
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export GOPROXY=direct
|
||||
go build --ldflags="-s -w" -o bin/%{name} .
|
||||
|
||||
upx bin/%{name}
|
||||
|
||||
%install
|
||||
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE*
|
||||
%{_bindir}/%{name}
|
||||
|
Loading…
Add table
Reference in a new issue