SHA256
1
0
forked from pool/kate

Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kate?expand=0&rev=67
This commit is contained in:
Luca Beltrame 2017-04-15 13:28:02 +00:00 committed by Git OBS Bridge
parent d1ccf3c6f0
commit 48ea96a2dc

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_without lang
%define _appstreamkpackage 0%(cat %{_kf5_libdir}/cmake/KF5Package/KF5PackageMacros.cmake | grep -q 'appstream-metainfo' && echo 1)
Name: kate
@ -85,6 +86,10 @@ Obsoletes: kate5-plugins < %{version}
Kate is an advanced text editor for KDE. This package contains
plugins and data files for Kate and KWrite editors.
%if %{with lang}
%lang_package
%endif
%prep
%setup -q
@ -94,6 +99,10 @@ plugins and data files for Kate and KWrite editors.
%install
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -135,4 +144,9 @@ plugins and data files for Kate and KWrite editors.
%{_kf5_sharedir}/plasma/
%{_kf5_servicesdir}/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog