mirror of
https://abf.rosa.ru/djam/dolt.git
synced 2025-02-23 08:32:59 +00:00
Imported from SRPM
This commit is contained in:
commit
aff1c3f611
2 changed files with 47 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
dolt-0.51.4.tar.gz: a4ebe2d7b8f7ffb339ac7c6d872f758840c40074
|
45
dolt.spec
Normal file
45
dolt.spec
Normal file
|
@ -0,0 +1,45 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
|
||||
Name: dolt
|
||||
Version: 0.51.4
|
||||
Release: 1
|
||||
Summary: Git for Data
|
||||
URL: https://github.com/dolthub/dolt
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
License: ASL 2.0
|
||||
Group: Development/Other
|
||||
BuildRequires: go
|
||||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
|
||||
%description
|
||||
Dolt is a SQL database that you can fork, clone, branch,
|
||||
merge, push and pull just like a Git repository. Connect
|
||||
to Dolt just like any MySQL database to run queries or
|
||||
update the data using SQL commands. Use the command line
|
||||
interface to import CSV files, commit your changes, push
|
||||
them to a remote, or merge your teammate's changes
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
# fix permissions
|
||||
find . -perm 0755 -type f -exec chmod 0644 {} \;
|
||||
|
||||
%build
|
||||
pushd go
|
||||
go build -o ../bin/%{name} ./cmd/dolt
|
||||
popd
|
||||
|
||||
upx bin/%{name}
|
||||
|
||||
|
||||
%install
|
||||
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE docs
|
||||
%{_bindir}/%{name}
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue