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