2024-03-03 15:42:02 +01:00
|
|
|
Name: sqlitecpp
|
2024-08-18 22:58:08 +02:00
|
|
|
Version: 3.3.2
|
2024-03-03 15:42:02 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: C++ SQLite3 wrapper
|
|
|
|
Group: Applications/Databases
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-08-18 22:58:08 +02:00
|
|
|
URL: http://srombauts.github.io/SQLiteCpp/
|
2024-03-03 15:42:02 +01:00
|
|
|
Source: https://github.com/SRombauts/SQLiteCpp.git/%{version}/SQLiteCpp-%{version}.tar.bz2
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libsqlite-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: A smart and easy to use C++ SQLite3 wrapper
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n SQLiteCpp-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake \
|
|
|
|
-DSQLITECPP_INCLUDE_SCRIPT=OFF \
|
|
|
|
-DSQLITECPP_INTERNAL_SQLITE='false' \
|
|
|
|
-DSQLITECPP_RUN_CPPLINT='false' \
|
|
|
|
-DSQLITECPP_RUN_CPPCHECK='false'
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libSQLiteCpp.so.0
|
|
|
|
%doc LICENSE.txt
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/SQLiteCpp
|
|
|
|
%{_includedir}/SQLiteCpp/*
|
|
|
|
%{_libdir}/libSQLiteCpp.so
|
|
|
|
%dir %{_libdir}/cmake/SQLiteCpp
|
|
|
|
%{_libdir}/cmake/SQLiteCpp/SQLiteCpp*.cmake
|
|
|
|
%{_datadir}/SQLiteCpp/package.xml
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-08-18 22:58:08 +02:00
|
|
|
* Sat Aug 17 2024 Automatic Build System <autodist@openmamba.org> 3.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-03 15:42:02 +01:00
|
|
|
* Sun Mar 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.1-1mamba
|
|
|
|
- package created using the webbuild interface
|