## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global debug_package %{nil} %global _description %{expand: This library makes the SQLite3 API more friendly to C++ users. It supports almost all of SQLite3 features using C++ classes such as database, command, query, and transaction. The query class supports iterator concept for fetching records. With ext::function class, it's also easy to use the sqlite3's functions and aggregations in C++.} Name: sqlite3pp Version: 1.0.9 Release: %autorelease Summary: C++ wrapper of SQLite3 API License: MIT URL: https://github.com/iwongu/sqlite3pp Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: sqlite-devel %description %_description %package devel Summary: %{summary} Provides: %{name}-static%{?_isa} = %{version}-%{release} Requires: sqlite-devel %description devel %_description %prep %autosetup -p1 %build mkdir build for f in test/*; do $CXX -I headeronly_src $CXXFLAGS -o "build/$(basename "$f" .cpp)" $f -lsqlite3 $LDFLAGS done %install install -Dpm0644 -t %{buildroot}%{_includedir}/%{name} headeronly_src/* %check for f in build/*; do echo "Running $(basename "$f")" ./$f done %files devel %license LICENSE %doc README.md %{_includedir}/%{name}/ %changelog ## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 1.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat May 18 2024 Davide Cavalca - 1.0.9-1 - Initial import; Fixes: RHBZ#2255882 ## END: Generated by rpmautospec