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 Name: ktextaddons
Version: 1.5.3 Version: 1.5.3
Release: 1mamba Release: 2mamba
Summary: KDE Frameworks 5 text addons Summary: KDE Frameworks text addons
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
@ -16,6 +16,7 @@ BuildRequires: glibc-devel
BuildRequires: libQt5TextToSpeech-devel BuildRequires: libQt5TextToSpeech-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkarchive-devel BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel BuildRequires: libkcodecs-devel
@ -23,6 +24,20 @@ BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-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: libki18n-devel
BuildRequires: libkio-devel BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel BuildRequires: libkjobwidgets-devel
@ -30,11 +45,15 @@ BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel BuildRequires: libkwindowsystem-devel
BuildRequires: libqtkeychain-devel BuildRequires: libqtkeychain-devel
BuildRequires: libqtkeychain-qt6-devel
BuildRequires: libsolid-devel BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libsyntax-highlighting-devel BuildRequires: libsyntax-highlighting-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtmultimedia-devel
BuildRequires: qt6-qtspeech-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: rpm-macros-kde5 BuildRequires: rpm-macros-kde5
@ -46,9 +65,10 @@ KDE Frameworks 5 text addons.
%package -n lib%{name} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
Summary: Shared libraries for %{name} Summary: KDE Frameworks 5 text addons
%description -n lib%{name} %description -n lib%{name}
KDE Frameworks 5 text addons.
This package contains shared libraries for %{name}. This package contains shared libraries for %{name}.
%package -n lib%{name}-devel %package -n lib%{name}-devel
@ -59,20 +79,43 @@ 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: 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 %debug_package
%prep %prep
%setup -q %setup -q
%build %build
%cmake_kde5 -d build %cmake_kde5 -d build-qt5
%make %make
cd ..
%cmake_kf6 \
-DQT_MAJOR_VERSION=6
%cmake_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build-qt5
%makeinstall -C build %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 %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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 %post -n lib%{name} -p /sbin/ldconfig
%postun -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) %defattr(-,root,root)
%{_kde5_libdir}/libKF5TextAddonsWidgets.so.* %{_kde5_libdir}/libKF5Text*.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.*
%{_libdir}/qt5/plugins/designer/texttranslatorwidgets5.so %{_libdir}/qt5/plugins/designer/texttranslatorwidgets5.so
%{_libdir}/qt5/plugins/designer/textcustomeditor.so %{_libdir}/qt5/plugins/designer/textcustomeditor.so
%{_libdir}/qt5/plugins/kf5/translator/translator_*.so %{_libdir}/qt5/plugins/kf5/translator/translator_*.so
%{_datadir}/qlogging-categories5/ktextaddons.categories %{_datadir}/qlogging-categories5/ktextaddons.categories
%{_datadir}/qlogging-categories5/ktextaddons.renamecategories
%doc LICENSES %doc LICENSES
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_kde5_includedir}/TextAddonsWidgets %dir %{_kde5_includedir}/Text*
%{_kde5_includedir}/TextAddonsWidgets/* %{_kde5_includedir}/Text*/*
%dir %{_kde5_includedir}/TextAutoCorrectionCore %{_kde5_libdir}/libKF5Text*.so
%{_kde5_includedir}/TextAutoCorrectionCore/* %dir %{_libdir}/cmake/KF5Text*
%dir %{_kde5_includedir}/TextAutoCorrectionWidgets %{_libdir}/cmake/KF5Text*/*.cmake
%{_kde5_includedir}/TextAutoCorrectionWidgets/*
%dir %{_kde5_includedir}/TextCustomEditor %files -n lib%{name}-qt6 -f %{name}.lang
%{_kde5_includedir}/TextCustomEditor/* %defattr(-,root,root)
%dir %{_kde5_includedir}/TextEditTextToSpeech %{_libdir}/libKF6Text*.so.*
%{_kde5_includedir}/TextEditTextToSpeech/* %{_qt6_plugindir}/designer/textcustomeditor.so
%dir %{_kde5_includedir}/TextEmoticonsCore %{_qt6_plugindir}/designer/texttranslatorwidgets6.so
%{_kde5_includedir}/TextEmoticonsCore/* %{_kf6_plugindir}/translator/translator_*.so
%dir %{_kde5_includedir}/TextEmoticonsWidgets %{_datadir}/qlogging-categories6/ktextaddons.categories
%{_kde5_includedir}/TextEmoticonsWidgets/* %{_datadir}/qlogging-categories6/ktextaddons.renamecategories
%dir %{_kde5_includedir}/TextGrammarCheck %doc LICENSES
%{_kde5_includedir}/TextGrammarCheck/*
%dir %{_kde5_includedir}/TextTranslator %files -n lib%{name}-qt6-devel
%{_kde5_includedir}/TextTranslator/* %defattr(-,root,root)
%dir %{_kde5_includedir}/TextUtils %dir %{_kf6_includedir}/Text*
%{_kde5_includedir}/TextUtils/* %{_kf6_includedir}/Text*/*
%{_kde5_libdir}/libKF5TextAddonsWidgets.so %{_libdir}/libKF6Text*.so
%{_kde5_libdir}/libKF5TextAutoCorrectionCore.so %dir %{_libdir}/cmake/KF6Text*
%{_kde5_libdir}/libKF5TextAutoCorrectionWidgets.so %{_libdir}/cmake/KF6Text*/KF6Text*.cmake
%{_kde5_libdir}/libKF5TextCustomEditor.so %{_qt6_docdir}/KF6Text*.*
%{_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
%changelog %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 * Sun Jan 14 2024 Automatic Build System <autodist@openmamba.org> 1.5.3-1mamba
- automatic version update by autodist - automatic version update by autodist