## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %define sover 3 Name: vsqlitepp Version: 0.3.13 Release: %autorelease Summary: Well designed C++ sqlite 3.x wrapper library License: BSD-3-Clause Group: Development/Libraries/C and C++ URL: https://github.com/vinzenz/vsqlite-- Source: https://github.com/vinzenz/vsqlite--/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: boost-devel BuildRequires: dos2unix BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: perl-base BuildRequires: sqlite-devel %description VSQLite++ is a C++ wrapper for sqlite3 using the C++ standard library and boost. VSQLite++ is designed to be easy to use and focuses on simplicity. %package -n libvsqlitepp Summary: Well designed C++ sqlite 3.x wrapper library Group: System/Libraries %description -n libvsqlitepp VSQLite++ is a C++ wrapper for sqlite3 using the C++ standard library and boost. VSQLite++ is designed to be easy to use and focuses on simplicity. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: libvsqlitepp = %{version} %description devel This package contains development files for %{name}. %prep %autosetup -n vsqlite---%{version} find . -iname "*.[ch]pp" -exec dos2unix -k {} \; %build autoreconf -fiv %configure %make_build %install %make_install # do not ship these find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print %post -n libvsqlitepp -p /sbin/ldconfig %postun -n libvsqlitepp -p /sbin/ldconfig %files devel %{_includedir}/sqlite %{_libdir}/libvsqlitepp.so %files -n libvsqlitepp %doc AUTHORS ChangeLog README.md %license COPYING %{_libdir}/libvsqlitepp.so.%{sover}* %changelog ## START: Generated by rpmautospec * Mon Sep 01 2025 Sandro - 0.3.13-1 - Initial package ## END: Generated by rpmautospec