Accepting request 245620 from KDE:Distro:Factory
Update to KDE 4.14.0 and make the python-addon subpackage a real package that contains the python plugin. OBS-URL: https://build.opensuse.org/request/show/245620 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kate?expand=0&rev=52
This commit is contained in:
committed by
Git OBS Bridge
parent
c12f59a81a
commit
5194c4e047
42
kate.spec
42
kate.spec
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: kate
|
||||
Version: 4.13.80
|
||||
Version: 4.14.0
|
||||
Release: 0
|
||||
Summary: Advanced Text Editor
|
||||
License: GPL-2.0+
|
||||
@@ -33,6 +33,7 @@ BuildRequires: python-qt4-devel
|
||||
BuildRequires: python-sip-devel
|
||||
BuildRequires: xz
|
||||
Requires: libktexteditor = %{version}
|
||||
Recommends: %{name}-python-plugins = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%kde4_runtime_requires
|
||||
|
||||
@@ -97,6 +98,24 @@ Obsoletes: go-kate <= 1.0.3
|
||||
%description -n libktexteditor
|
||||
The libraries shared by kwrite and kate editors.
|
||||
|
||||
%package python-plugins
|
||||
Summary: Additional python plugins for %{name}
|
||||
Group: Productivity/Editors/Other
|
||||
Recommends: IPython
|
||||
Recommends: python-jedi
|
||||
Recommends: python-Jinja2
|
||||
Recommends: python-ply
|
||||
Recommends: python-pyplete
|
||||
Recommends: python-simplejson
|
||||
|
||||
%description python-plugins
|
||||
This package pulls in optional dependencies that provide
|
||||
additional functionality for kate python plugins.
|
||||
|
||||
You can still use python plugins with kate without these
|
||||
dependencies, but some plugins will not work or will
|
||||
have limited functionality.
|
||||
|
||||
%post -n libktexteditor -p /sbin/ldconfig
|
||||
|
||||
%postun -n libktexteditor -p /sbin/ldconfig
|
||||
@@ -112,13 +131,32 @@ The libraries shared by kwrite and kate editors.
|
||||
|
||||
%files -f filelists/kate
|
||||
%defattr(-,root,root)
|
||||
%dir %{_kde4_libdir}/python*/site-packages/PyKate4/
|
||||
%dir %{_kde4_appsdir}/kate/
|
||||
%dir %{_kde4_appsdir}/kate/*
|
||||
%dir %{_kde4_appsdir}/kate/*/*
|
||||
%dir %{_kde4_appsdir}/kate/*/*/*
|
||||
%dir %{_kde4_appsdir}/kate/*/*/*/*
|
||||
%dir %{_kde4_appsdir}/katexmltools/
|
||||
%exclude %{_kde4_libdir}/python*/site-packages/PyKate4
|
||||
%exclude %{_kde4_appsdir}/kate/plugins/pate
|
||||
%exclude %{_kde4_appsdir}/kate/pate
|
||||
%exclude %{_kde4_appsdir}/kate/plugins/katepateplugin
|
||||
%exclude %{_kde4_modulesdir}/katepateplugin.so
|
||||
%exclude %{_kde4_servicetypesdir}/katepythonplugin.desktop
|
||||
%exclude %{_kde4_servicesdir}/pate.desktop
|
||||
%exclude %{_kde4_servicesdir}/katepate_*.desktop
|
||||
|
||||
%files python-plugins
|
||||
%defattr(-,root,root)
|
||||
%doc addons/kate/pate/README.txt
|
||||
%{_kde4_libdir}/python*/site-packages/PyKate4/
|
||||
%{_kde4_appsdir}/kate/plugins/pate/
|
||||
%{_kde4_appsdir}/kate/pate/
|
||||
%{_kde4_appsdir}/kate/plugins/katepateplugin/
|
||||
%{_kde4_modulesdir}/katepateplugin.so
|
||||
%{_kde4_servicetypesdir}/katepythonplugin.desktop
|
||||
%{_kde4_servicesdir}/pate.desktop
|
||||
%{_kde4_servicesdir}/katepate_*.desktop
|
||||
|
||||
%package -n kwrite
|
||||
Summary: KDE Text Editor
|
||||
|
Reference in New Issue
Block a user