# # spec file for package oatpp-sqlite # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: oatpp-sqlite Version: 1.3.0 Release: 0 Summary: SQLite adapter for Oat++ ORM License: Apache-2.0 Group: Development/Libraries/C and C++ URL: https://github.com/oatpp/oatpp-sqlite/ Source: https://github.com/oatpp/oatpp-sqlite/archive/%{version}/oatpp-sqlite-%{version}.tar.gz BuildRequires: cmake >= 3.14 BuildRequires: gcc-c++ BuildRequires: oatpp-devel BuildRequires: sqlite3-devel %description This package provides the SQLite adapter for the Oat++ ORM. %package -n lib%{name} Summary: SQLite adapter for Oat++ ORM Group: System/Libraries %description -n lib%{name} This package provides the SQLite adapter for the Oat++ ORM. %package devel Summary: Header files for the Oat++ SQLite adapter Group: Development/Libraries/C and C++ Requires: libstdc++-devel Requires: oatpp-devel Requires: lib%{name} = %{version}-%{release} %description devel Development files for the oatpp SQLite module. %prep %autosetup %build %cmake -DBUILD_SHARED_LIBS=ON -DOATPP_BUILD_TESTS=OFF %install %cmake_install %files -n lib%{name} %{_libdir}/oatpp-%{version}/lib%{name}.so %files devel %license LICENSE %doc README.md %{_includedir}/oatpp-%{version}/%{name} %{_libdir}/cmake/%{name}-%{version} %changelog