cowsql/cowsql.spec

51 lines
1.2 KiB
RPMSpec
Raw Normal View History

2023-10-31 22:00:03 +00:00
%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