package created using the webbuild interface [release 3.3.1-1mamba;Sun Mar 03 2024]

This commit is contained in:
Silvan Calarco 2024-03-03 15:42:02 +01:00
parent bd9144abca
commit a801041bca
2 changed files with 84 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# sqlitecpp
SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.

82
sqlitecpp.spec Normal file
View File

@ -0,0 +1,82 @@
Name: sqlitecpp
Version: 3.3.1
Release: 1mamba
Summary: C++ SQLite3 wrapper
Group: Applications/Databases
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://srombauts.github.io/SQLiteCpp
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
* Sun Mar 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.1-1mamba
- package created using the webbuild interface