diff --git a/libqaccessibilityclient.spec b/libqaccessibilityclient.spec index 0a4c480..0538141 100644 --- a/libqaccessibilityclient.spec +++ b/libqaccessibilityclient.spec @@ -1,6 +1,6 @@ Name: libqaccessibilityclient Version: 0.6.0 -Release: 1mamba +Release: 2mamba Summary: Library used when writing accessibility clients such as screen readers Group: System/Libraries Vendor: openmamba @@ -12,8 +12,10 @@ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc +BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel BuildRequires: qt5-qtbase-devel +BuildRequires: qt6-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: cmake @@ -36,6 +38,21 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. +%package qt6 +Group: System/Libraries +Summary: Library used when writing accessibility clients such as screen readers + +%description qt6 +This package contains libraries and header files for developing applications that use %{name}. + +%package qt6-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name}-qt6 = %{?epoch:%epoch:}%{version}-%{release} + +%description qt6-devel +This package contains libraries and header files for developing applications that use %{name}. + %debug_package %prep @@ -45,8 +62,16 @@ This package contains utility applications for %{name}. %cmake -d build %make +cd .. +%cmake -d build-qt6 \ + -DQT_MAJOR_VERSION=6 + +%make + %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build-qt6 + %makeinstall -C build %clean @@ -58,6 +83,7 @@ This package contains utility applications for %{name}. %files %defattr(-,root,root) %{_libdir}/libqaccessibilityclient-qt5.so.* +%{_datadir}/qlogging-categories5/libqaccessibilityclient.categories %doc AUTHORS LICENSES %files devel @@ -73,9 +99,25 @@ This package contains utility applications for %{name}. %files tools %defattr(-,root,root) %{_bindir}/dumper -%{_datadir}/qlogging-categories5/libqaccessibilityclient.categories + +%files qt6 +%defattr(-,root,root) +%{_libdir}/libqaccessibilityclient-qt6.so.* +%{_datadir}/qlogging-categories6/libqaccessibilityclient.categories +%doc AUTHORS LICENSES + +%files qt6-devel +%defattr(-,root,root) +%dir %{_includedir}/QAccessibilityClient6/qaccessibilityclient +%{_includedir}/QAccessibilityClient6/qaccessibilityclient/* +%{_libdir}/libqaccessibilityclient-qt6.so +%dir %{_libdir}/cmake/QAccessibilityClient6 +%{_libdir}/cmake/QAccessibilityClient6/QAccessibility*.cmake %changelog +* Mon Feb 05 2024 Silvan Calarco 0.6.0-2mamba +- rebuilt with qt6 subpackages + * Thu Dec 07 2023 Automatic Build System 0.6.0-1mamba - automatic version update by autodist