From 17a3bec0862d54659a19d9070752cb824c6cd146 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Tue, 31 Oct 2023 18:00:03 -0400 Subject: [PATCH] initial pkg --- cowsql.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 cowsql.spec diff --git a/cowsql.spec b/cowsql.spec new file mode 100644 index 0000000..c7c5d59 --- /dev/null +++ b/cowsql.spec @@ -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