rebuilt with -qt6 subpackages [release 1.5.3-2mamba;Wed Mar 06 2024]

This commit is contained in:
Silvan Calarco 2024-03-06 23:29:17 +01:00
parent ea2f537cfd
commit 8d65b0aba1

View File

@ -2,8 +2,8 @@
Name: ktextaddons
Version: 1.5.3
Release: 1mamba
Summary: KDE Frameworks 5 text addons
Release: 2mamba
Summary: KDE Frameworks text addons
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
@ -16,6 +16,7 @@ BuildRequires: glibc-devel
BuildRequires: libQt5TextToSpeech-devel
BuildRequires: libX11-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
@ -23,6 +24,20 @@ BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkf6-karchive-devel
BuildRequires: libkf6-kcolorscheme-devel
BuildRequires: libkf6-kcompletion-devel
BuildRequires: libkf6-kconfig-devel
BuildRequires: libkf6-kconfigwidgets-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-kio-devel
BuildRequires: libkf6-kjobwidgets-devel
BuildRequires: libkf6-kservice-devel
BuildRequires: libkf6-kwidgetsaddons-devel
BuildRequires: libkf6-solid-devel
BuildRequires: libkf6-sonnet-devel
BuildRequires: libkf6-syntax-highlighting-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
@ -30,11 +45,15 @@ BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libqtkeychain-devel
BuildRequires: libqtkeychain-qt6-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsyntax-highlighting-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtmultimedia-devel
BuildRequires: qt6-qtspeech-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
@ -46,9 +65,10 @@ KDE Frameworks 5 text addons.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Summary: KDE Frameworks 5 text addons
%description -n lib%{name}
KDE Frameworks 5 text addons.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
@ -59,20 +79,43 @@ 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}.
%package -n lib%{name}-qt6
Group: System/Libraries
Summary: KDE Frameworks 6 text addons
%description -n lib%{name}-qt6
KDE Frameworks 6 text addons.
This package contains shared libraries for %{name}.
%package -n lib%{name}-qt6-devel
Group: Development/Libraries
Summary: Development files for %{name}
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
%prep
%setup -q
%build
%cmake_kde5 -d build
%cmake_kde5 -d build-qt5
%make
cd ..
%cmake_kf6 \
-DQT_MAJOR_VERSION=6
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build-qt5
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -80,79 +123,50 @@ This package contains libraries and header files for developing applications tha
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name} -f %{name}5_qt.lang
%post -n lib%{name}-qt6 -p /sbin/ldconfig
%postun -n lib%{name}-qt6 -p /sbin/ldconfig
%files -n lib%{name} -f %{name}.lang
%defattr(-,root,root)
%{_kde5_libdir}/libKF5TextAddonsWidgets.so.*
%{_kde5_libdir}/libKF5TextAutoCorrectionCore.so.*
%{_kde5_libdir}/libKF5TextAutoCorrectionWidgets.so.*
%{_kde5_libdir}/libKF5TextCustomEditor.so.*
%{_kde5_libdir}/libKF5TextEditTextToSpeech.so.*
%{_kde5_libdir}/libKF5TextEmoticonsCore.so.*
%{_kde5_libdir}/libKF5TextEmoticonsWidgets.so.*
%{_kde5_libdir}/libKF5TextGrammarCheck.so.*
%{_kde5_libdir}/libKF5TextTranslator.so.*
%{_kde5_libdir}/libKF5TextUtils.so.*
%{_kde5_libdir}/libKF5Text*.so.*
%{_libdir}/qt5/plugins/designer/texttranslatorwidgets5.so
%{_libdir}/qt5/plugins/designer/textcustomeditor.so
%{_libdir}/qt5/plugins/kf5/translator/translator_*.so
%{_datadir}/qlogging-categories5/ktextaddons.categories
%{_datadir}/qlogging-categories5/ktextaddons.renamecategories
%doc LICENSES
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_kde5_includedir}/TextAddonsWidgets
%{_kde5_includedir}/TextAddonsWidgets/*
%dir %{_kde5_includedir}/TextAutoCorrectionCore
%{_kde5_includedir}/TextAutoCorrectionCore/*
%dir %{_kde5_includedir}/TextAutoCorrectionWidgets
%{_kde5_includedir}/TextAutoCorrectionWidgets/*
%dir %{_kde5_includedir}/TextCustomEditor
%{_kde5_includedir}/TextCustomEditor/*
%dir %{_kde5_includedir}/TextEditTextToSpeech
%{_kde5_includedir}/TextEditTextToSpeech/*
%dir %{_kde5_includedir}/TextEmoticonsCore
%{_kde5_includedir}/TextEmoticonsCore/*
%dir %{_kde5_includedir}/TextEmoticonsWidgets
%{_kde5_includedir}/TextEmoticonsWidgets/*
%dir %{_kde5_includedir}/TextGrammarCheck
%{_kde5_includedir}/TextGrammarCheck/*
%dir %{_kde5_includedir}/TextTranslator
%{_kde5_includedir}/TextTranslator/*
%dir %{_kde5_includedir}/TextUtils
%{_kde5_includedir}/TextUtils/*
%{_kde5_libdir}/libKF5TextAddonsWidgets.so
%{_kde5_libdir}/libKF5TextAutoCorrectionCore.so
%{_kde5_libdir}/libKF5TextAutoCorrectionWidgets.so
%{_kde5_libdir}/libKF5TextCustomEditor.so
%{_kde5_libdir}/libKF5TextEditTextToSpeech.so
%{_kde5_libdir}/libKF5TextEmoticonsCore.so
%{_kde5_libdir}/libKF5TextEmoticonsWidgets.so
%{_kde5_libdir}/libKF5TextGrammarCheck.so
%{_kde5_libdir}/libKF5TextTranslator.so
%{_kde5_libdir}/libKF5TextUtils.so
%{_datadir}/qlogging-categories5/ktextaddons.renamecategories
%dir %{_libdir}/cmake/KF5TextAddonsWidgets
%{_libdir}/cmake/KF5TextAddonsWidgets/*.cmake
%dir %{_libdir}/cmake/KF5TextAutoCorrectionCore
%{_libdir}/cmake/KF5TextAutoCorrectionCore/*.cmake
%dir %{_libdir}/cmake/KF5TextAutoCorrectionWidgets
%{_libdir}/cmake/KF5TextAutoCorrectionWidgets/*.cmake
%dir %{_libdir}/cmake/KF5TextCustomEditor
%{_libdir}/cmake/KF5TextCustomEditor/KF5TextCustomEditor*.cmake
%dir %{_libdir}/cmake/KF5TextEditTextToSpeech
%{_libdir}/cmake/KF5TextEditTextToSpeech/*.cmake
%dir %{_libdir}/cmake/KF5TextEmoticonsCore
%{_libdir}/cmake/KF5TextEmoticonsCore/*.cmake
%dir %{_libdir}/cmake/KF5TextEmoticonsWidgets
%{_libdir}/cmake/KF5TextEmoticonsWidgets/*.cmake
%dir %{_libdir}/cmake/KF5TextGrammarCheck
%{_libdir}/cmake/KF5TextGrammarCheck/*.cmake
%dir %{_libdir}/cmake/KF5TextTranslator
%{_libdir}/cmake/KF5TextTranslator/*.cmake
%dir %{_libdir}/cmake/KF5TextUtils
%{_libdir}/cmake/KF5TextUtils/KF5TextUtils*.cmake
%dir %{_kde5_includedir}/Text*
%{_kde5_includedir}/Text*/*
%{_kde5_libdir}/libKF5Text*.so
%dir %{_libdir}/cmake/KF5Text*
%{_libdir}/cmake/KF5Text*/*.cmake
%files -n lib%{name}-qt6 -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libKF6Text*.so.*
%{_qt6_plugindir}/designer/textcustomeditor.so
%{_qt6_plugindir}/designer/texttranslatorwidgets6.so
%{_kf6_plugindir}/translator/translator_*.so
%{_datadir}/qlogging-categories6/ktextaddons.categories
%{_datadir}/qlogging-categories6/ktextaddons.renamecategories
%doc LICENSES
%files -n lib%{name}-qt6-devel
%defattr(-,root,root)
%dir %{_kf6_includedir}/Text*
%{_kf6_includedir}/Text*/*
%{_libdir}/libKF6Text*.so
%dir %{_libdir}/cmake/KF6Text*
%{_libdir}/cmake/KF6Text*/KF6Text*.cmake
%{_qt6_docdir}/KF6Text*.*
%changelog
* Wed Mar 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.3-2mamba
- rebuilt with -qt6 subpackages
* Sun Jan 14 2024 Automatic Build System <autodist@openmamba.org> 1.5.3-1mamba
- automatic version update by autodist