package created using the webbuild interface [release 0.1.1-1mamba;Sun Aug 27 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 22:35:37 +01:00
parent 245da173dd
commit c069f6d381
2 changed files with 85 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# futuresql # futuresql
A non-blocking database framework for Qt.

83
futuresql.spec Normal file
View File

@ -0,0 +1,83 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: futuresql
Version: 0.1.1
Release: 1mamba
Summary: A non-blocking database framework for Qt
Group: Application/Databases
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org
Source: https://download.kde.org/stable/futuresql/futuresql-%{version}.tar.xz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
A non-blocking database framework for Qt.
%package -n lib%{name}
Group: System/Libraries
Summary: A non-blocking database framework for Qt
%description -n lib%{name}
A non-blocking database framework for Qt.
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
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
:
%postun -n lib%{name}
/sbin/ldconfig
:
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libfuturesql5.so.*
%doc LICENSES
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/FutureSQL5
%{_includedir}/FutureSQL5/*
%{_libdir}/libfuturesql5.so
%dir %{_libdir}/cmake/FutureSQL5
%{_libdir}/cmake/FutureSQL5/Future*.cmake
%changelog
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
- package created using the webbuild interface