From c069f6d381cf93919699657b825fc91ac45ba841 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:35:37 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.1.1-1mamba;Sun Aug 27 2023] --- README.md | 2 ++ futuresql.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 futuresql.spec diff --git a/README.md b/README.md index 559a69f..038ba7c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # futuresql +A non-blocking database framework for Qt. + diff --git a/futuresql.spec b/futuresql.spec new file mode 100644 index 0000000..4f02d30 --- /dev/null +++ b/futuresql.spec @@ -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 +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 0.1.1-1mamba +- package created using the webbuild interface