%define majver %(echo %version | cut -d. -f1-2) Name: ktextaddons Version: 1.0.2 Release: 1mamba Summary: KDE Frameworks 5 text addons Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org Source: https://download.kde.org/stable/ktextaddons/ktextaddons-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libQt5TextToSpeech-devel BuildRequires: libgcc BuildRequires: libkarchive-devel BuildRequires: libkauth-devel BuildRequires: libkcodecs-devel BuildRequires: libkconfig-devel BuildRequires: libkconfigwidgets-devel BuildRequires: libkcoreaddons-devel BuildRequires: libki18n-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: libkxmlgui-devel BuildRequires: libqtkeychain-devel 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 KDE Frameworks 5 text addons. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} 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 %find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -n lib%{name} #-f %{name}5_qt.lang %defattr(-,root,root) #%{_kde5_libdir}/libKF5TextAddonsWidgets.so.* %{_kde5_libdir}/libKF5TextAutoCorrection.so.* #%{_kde5_libdir}/libKF5TextAutoCorrectionCore.so.* #%{_kde5_libdir}/libKF5TextAutoCorrectionWidgets.so.* %{_kde5_libdir}/libKF5TextEditTextToSpeech.so.* #%{_kde5_libdir}/libKF5TextEmoticonsCore.so.* #%{_kde5_libdir}/libKF5TextEmoticonsWidgets.so.* %{_kde5_libdir}/libKF5TextGrammarCheck.so.* %{_kde5_libdir}/libKF5TextTranslator.so.* %{_libdir}/qt5/plugins/designer/texttranslatorwidgets.so #%{_libdir}/qt5/plugins/designer/texttranslatorwidgets5.so %{_libdir}/qt5/plugins/kf5/translator/translator_*.so %doc LICENSES %files -n lib%{name}-devel %defattr(-,root,root) #%dir %{_kde5_includedir}/TextAddonsWidgets #%{_kde5_includedir}/TextAddonsWidgets/* %dir %{_kde5_includedir}/TextAutoCorrection %{_kde5_includedir}/TextAutoCorrection/* #%dir %{_kde5_includedir}/TextAutoCorrectionCore #%{_kde5_includedir}/TextAutoCorrectionCore/* #%dir %{_kde5_includedir}/TextAutoCorrectionWidgets #%{_kde5_includedir}/TextAutoCorrectionWidgets/* %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/* #%{_kde5_libdir}/libKF5TextAddonsWidgets.so %{_kde5_libdir}/libKF5TextAutoCorrection.so #%{_kde5_libdir}/libKF5TextAutoCorrectionCore.so #%{_kde5_libdir}/libKF5TextAutoCorrectionWidgets.so %{_kde5_libdir}/libKF5TextEditTextToSpeech.so #%{_kde5_libdir}/libKF5TextEmoticonsCore.so #%{_kde5_libdir}/libKF5TextEmoticonsWidgets.so %{_kde5_libdir}/libKF5TextGrammarCheck.so %{_kde5_libdir}/libKF5TextTranslator.so #%dir %{_kde5_libdir}/cmake/KF5TextAddonsWidgets #%{_kde5_libdir}/cmake/KF5TextAddonsWidgets/*.cmake %dir %{_kde5_libdir}/cmake/KF5TextAutoCorrection %{_kde5_libdir}/cmake/KF5TextAutoCorrection/*.cmake #%dir %{_kde5_libdir}/cmake/KF5TextAutoCorrectionCore #%{_kde5_libdir}/cmake/KF5TextAutoCorrectionCore/*.cmake #%dir %{_kde5_libdir}/cmake/KF5TextAutoCorrectionWidgets #%{_kde5_libdir}/cmake/KF5TextAutoCorrectionWidgets/*.cmake %dir %{_kde5_libdir}/cmake/KF5TextEditTextToSpeech %{_kde5_libdir}/cmake/KF5TextEditTextToSpeech/*.cmake #%dir %{_kde5_libdir}/cmake/KF5TextEmoticonsCore #%{_kde5_libdir}/cmake/KF5TextEmoticonsCore/*.cmake #%dir %{_kde5_libdir}/cmake/KF5TextEmoticonsWidgets #%{_kde5_libdir}/cmake/KF5TextEmoticonsWidgets/*.cmake %dir %{_kde5_libdir}/cmake/KF5TextGrammarCheck %{_kde5_libdir}/cmake/KF5TextGrammarCheck/*.cmake %dir %{_kde5_libdir}/cmake/KF5TextTranslator %{_kde5_libdir}/cmake/KF5TextTranslator/*.cmake %{_libdir}/qt5/mkspecs/modules/qt_TextAutoCorrection.pri #%{_libdir}/qt5/mkspecs/modules/qt_TextAutoCorrectionCore.pri #%{_libdir}/qt5/mkspecs/modules/qt_TextAutoCorrectionWidgets.pri %{_libdir}/qt5/mkspecs/modules/qt_TextEditTextToSpeech.pri %{_libdir}/qt5/mkspecs/modules/qt_TextGrammarCheck.pri %{_libdir}/qt5/mkspecs/modules/qt_TextTranslator.pri #%{_libdir}/qt5/mkspecs/modules/qt_textaddonswidgets.pri #%{_libdir}/qt5/mkspecs/modules/qt_textemoticonscore.pri #%{_libdir}/qt5/mkspecs/modules/qt_textemoticonswidgets.pri %changelog * Sun Apr 30 2023 Silvan Calarco 1.0.2-1mamba - update to 1.0.2 * Sat Apr 29 2023 Silvan Calarco 1.3.0-1mamba - package created using the webbuild interface