ktextaddons/ktextaddons.spec

183 lines
6.5 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: ktextaddons
Version: 1.5.0
Release: 1mamba
Summary: KDE Frameworks 5 text addons
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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: libX11-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqtkeychain-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsyntax-highlighting-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}/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/textcustomeditor.so
%{_libdir}/qt5/plugins/kf5/translator/translator_*.so
%{_datadir}/qlogging-categories5/ktextaddons.categories
%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
%{_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_text*.pri
%dir %{_kde5_libdir}/cmake/KF5TextAddonsWidgets
%{_kde5_libdir}/cmake/KF5TextAddonsWidgets/*.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/KF5TextCustomEditor
%{_kde5_libdir}/cmake/KF5TextCustomEditor/KF5TextCustomEditor*.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
%dir %{_kde5_libdir}/cmake/KF5TextUtils
%{_kde5_libdir}/cmake/KF5TextUtils/KF5TextUtils*.cmake
%changelog
* Sun Sep 10 2023 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
- automatic version update by autodist
* Tue Aug 08 2023 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Thu Aug 03 2023 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Mon May 22 2023 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic version update by autodist
* Fri May 12 2023 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist
* Mon May 01 2023 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Sun Apr 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- package created using the webbuild interface