Skip to content

Instantly share code, notes, and snippets.

@ZaWertun
Created October 24, 2019 13:36
Show Gist options
  • Save ZaWertun/3186f40e05ee5f7078d9062d23271e7b to your computer and use it in GitHub Desktop.
Save ZaWertun/3186f40e05ee5f7078d9062d23271e7b to your computer and use it in GitHub Desktop.
diff --git a/kate/kate.spec b/kate/kate.spec
index 91d6300..3f53db8 100644
--- a/kate/kate.spec
+++ b/kate/kate.spec
@@ -90,6 +90,14 @@ Requires: %{name} = %{version}-%{release}
%description plugins
%{summary}.
+%package plugin-konsole
+Summary: Kate Konsole plugin
+License: LGPLv2
+Requires: %{name} = %{version}-%{release}
+Requires: konsole5-part%{?_isa} = %{version}-%{release}
+%description plugin-konsole
+%{summary}.
+
%package -n kwrite
Summary: Text Editor
License: LGPLv2+
@@ -121,6 +129,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
grep plugin all.lang > plugins.lang
grep kwrite all.lang > kwrite.lang
+grep konsole all.lang > konsole.lang
cat all.lang plugins.lang kwrite.lang | sort | uniq -u > kate.lang
@@ -152,6 +161,9 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
%{_kf5_datadir}/kservices5/plasma-dataengine-katesessions.desktop
%{_kf5_datadir}/plasma/services/org.kde.plasma.katesessions.operations
+%files plugin-konsole -f konsole.lang
+%{_kf5_qtplugindir}/ktexteditor/katekonsoleplugin.so
+
%files plugins -f plugins.lang
%{_kf5_qtplugindir}/ktexteditor/katebacktracebrowserplugin.so
%{_kf5_qtplugindir}/ktexteditor/katebuildplugin.so
@@ -160,7 +172,6 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
%{_kf5_qtplugindir}/ktexteditor/katefilebrowserplugin.so
%{_kf5_qtplugindir}/ktexteditor/katefiletreeplugin.so
%{_kf5_qtplugindir}/ktexteditor/kategdbplugin.so
-%{_kf5_qtplugindir}/ktexteditor/katekonsoleplugin.so
%{_kf5_qtplugindir}/ktexteditor/kateopenheaderplugin.so
%{_kf5_qtplugindir}/ktexteditor/kateprojectplugin.so
%{_kf5_qtplugindir}/ktexteditor/katesearchplugin.so
@tim77
Copy link

tim77 commented Oct 24, 2019

👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment