Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kapptemplate?expand=0&rev=44
This commit is contained in:
parent
70552ef569
commit
7b586dfd30
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_without lang
|
||||
|
||||
Name: kapptemplate
|
||||
Version: 17.03.90
|
||||
@ -48,6 +49,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
This package contains templates to start the development of a new KDE
|
||||
application/part/plugin.
|
||||
|
||||
%if %{with lang}
|
||||
%lang_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i 's|Categories=Qt;KDE;Development;|Categories=Qt;KDE;Development;IDE;X-KDE-KDevelopIDE;|g' src/application/org.kde.kapptemplate.desktop
|
||||
@ -58,6 +63,10 @@ sed -i 's|Categories=Qt;KDE;Development;|Categories=Qt;KDE;Development;IDE;X-KDE
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%find_lang %{name} --with-man --all-name
|
||||
%kf5_find_htmldocs
|
||||
%endif
|
||||
%suse_update_desktop_file org.kde.kapptemplate
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
@ -75,4 +84,9 @@ sed -i 's|Categories=Qt;KDE;Development;|Categories=Qt;KDE;Development;IDE;X-KDE
|
||||
%dir %{_kf5_appstreamdir}
|
||||
%{_kf5_appstreamdir}/org.kde.kapptemplate.appdata.xml
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%doc COPYING*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user