%global forgeurl https://github.com/cowsql/cowsql Version: 1.15.4 %forgemeta Name: cowsql Release: %autorelease Summary: Embeddable, replicated and fault tolerant SQL engine License: LGPL-3.0-only WITH LGPL-3.0-linking-exception URL: %{forgeurl} Source0: %{forgesource} BuildRequires: gcc BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(libuv) BuildRequires: pkgconfig(raft) %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 devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains development files for %{name}. %prep %forgeautosetup -p1 %build autoreconf -i %configure --disable-static %make_build %install %make_install %check # https://koji.fedoraproject.org/koji/taskinfo?taskID=111955118 %ifnarch aarch64 make check %endif %files %license LICENSE %doc README.md %{_libdir}/libcowsql.so.0* %files devel %{_libdir}/libcowsql.so %{_libdir}/pkgconfig/cowsql.pc %{_includedir}/cowsql.h %changelog %autochangelog