initial pkg

This commit is contained in:
Neil Hanlon 2023-10-31 18:00:03 -04:00 committed by Neil Hanlon
commit 17a3bec086
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

50
cowsql.spec Normal file
View File

@ -0,0 +1,50 @@
%global gittagversion 1.15.3
%global gittag v%{?gittagversion}
Name: cowsql
Version: %{gittagversion}
Release: %autorelease
Summary: Embeddable, replicated and fault tolerant SQL engine
License: GPL-3.0-only
URL: https://github.com/cowsql/cowsql/
Source: %{url}/archive/%{gittag}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
%description
cowsql (/ˈkaʊ,siːkwəl/ listen) is a C library that implements an embeddable and
replicated SQL database engine with high availability and automatic failover.
cowsql extends SQLite with a network protocol that can connect together various
instances of your application and have them act as a highly-available cluster,
with no dependency on external databases.
The name "cowsql" loosely refers to the "pets vs. cattle" concept, since it's
generaly fine to delete or rebuild a particular node of an application that
uses cowsql for data storage.
%package libs
Summary: Libraries for %{name}
%description libs
Libraries for %{name}
%prep
%autosetup -p1 -n %{name}-%{version}
%build
%configure
%make_build
%install
%make_install
%files
%doc README docs/
%license LICENSE
%{_bindir}/%{name}
%changelog
%autochangelog