forked from pool/kturtle
Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kturtle?expand=0&rev=48
This commit is contained in:
parent
5cf6c009da
commit
c7d6fac402
20
kturtle.spec
20
kturtle.spec
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_without lang
|
||||
|
||||
Name: kturtle
|
||||
Version: 17.03.90
|
||||
@ -46,6 +47,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%description
|
||||
KTurtle is an educational Logo programming environment.
|
||||
|
||||
%if %{with lang}
|
||||
%lang_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@ -58,11 +63,14 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
|
||||
%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.%{name} Education Math
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %lang(en) %{_kf5_htmldir}/en/kturtle/
|
||||
%doc AUTHORS COPYING* README
|
||||
%{_kf5_applicationsdir}/org.kde.kturtle.desktop
|
||||
%{_kf5_bindir}/kturtle
|
||||
@ -71,7 +79,15 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%{_kf5_iconsdir}/hicolor/*/apps/kturtle.*
|
||||
%{_kf5_configdir}/*.knsrc
|
||||
%{_datadir}/kxmlgui5/kturtle/
|
||||
%{_kf5_htmldir}/en/kturtle/
|
||||
%dir %{_datadir}/katepart
|
||||
%{_datadir}/katepart/syntax/
|
||||
%{_datadir}/kturtle
|
||||
%doc %{_kf5_htmldir}/en/kturtle/
|
||||
%dir %{_kf5_appstreamdir}
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%doc COPYING*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user