added qt6 subpackages [release 0.1.1-2mamba;Sun Feb 11 2024]
This commit is contained in:
parent
c069f6d381
commit
d22a6d0794
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
Name: futuresql
|
Name: futuresql
|
||||||
Version: 0.1.1
|
Version: 0.1.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A non-blocking database framework for Qt
|
Summary: A non-blocking database framework for Qt
|
||||||
Group: Application/Databases
|
Group: Applications/Databases
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
@ -16,6 +16,7 @@ BuildRequires: glibc-devel
|
|||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt6-qtbase-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: rpm-macros-kde5
|
BuildRequires: rpm-macros-kde5
|
||||||
@ -41,29 +42,52 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%description -n lib%{name}-devel
|
%description -n lib%{name}-devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-qt6
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: A non-blocking database framework for Qt
|
||||||
|
|
||||||
|
%description -n lib%{name}-qt6
|
||||||
|
A non-blocking database framework for Qt.
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-qt6-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}-qt6
|
||||||
|
Requires: lib%{name}-qt6 = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n lib%{name}-qt6-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde5 -d build
|
%cmake -d build \
|
||||||
|
-DQT_MAJOR_VERSION=5
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
%cmake -d build-qt6 \
|
||||||
|
-DQT_MAJOR_VERSION=6
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
%makeinstall -C build-qt6
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -n lib%{name}
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
:
|
|
||||||
|
|
||||||
%postun -n lib%{name}
|
%post -n lib%{name}-qt6 -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
%postun -n lib%{name}-qt6 -p /sbin/ldconfig
|
||||||
:
|
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -78,6 +102,22 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%dir %{_libdir}/cmake/FutureSQL5
|
%dir %{_libdir}/cmake/FutureSQL5
|
||||||
%{_libdir}/cmake/FutureSQL5/Future*.cmake
|
%{_libdir}/cmake/FutureSQL5/Future*.cmake
|
||||||
|
|
||||||
|
%files -n lib%{name}-qt6
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libfuturesql6.so.*
|
||||||
|
%doc LICENSES
|
||||||
|
|
||||||
|
%files -n lib%{name}-qt6-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/FutureSQL6
|
||||||
|
%{_includedir}/FutureSQL6/*
|
||||||
|
%{_libdir}/libfuturesql6.so
|
||||||
|
%dir %{_libdir}/cmake/FutureSQL6
|
||||||
|
%{_libdir}/cmake/FutureSQL6/Future*.cmake
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-2mamba
|
||||||
|
- added qt6 subpackages
|
||||||
|
|
||||||
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user