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/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%bcond_without lang
|
||||||
|
|
||||||
Name: kturtle
|
Name: kturtle
|
||||||
Version: 17.03.90
|
Version: 17.03.90
|
||||||
@ -46,6 +47,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%description
|
%description
|
||||||
KTurtle is an educational Logo programming environment.
|
KTurtle is an educational Logo programming environment.
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%lang_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -58,11 +63,14 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%kf5_makeinstall -C build
|
%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
|
%suse_update_desktop_file org.kde.%{name} Education Math
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %lang(en) %{_kf5_htmldir}/en/kturtle/
|
|
||||||
%doc AUTHORS COPYING* README
|
%doc AUTHORS COPYING* README
|
||||||
%{_kf5_applicationsdir}/org.kde.kturtle.desktop
|
%{_kf5_applicationsdir}/org.kde.kturtle.desktop
|
||||||
%{_kf5_bindir}/kturtle
|
%{_kf5_bindir}/kturtle
|
||||||
@ -71,7 +79,15 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|||||||
%{_kf5_iconsdir}/hicolor/*/apps/kturtle.*
|
%{_kf5_iconsdir}/hicolor/*/apps/kturtle.*
|
||||||
%{_kf5_configdir}/*.knsrc
|
%{_kf5_configdir}/*.knsrc
|
||||||
%{_datadir}/kxmlgui5/kturtle/
|
%{_datadir}/kxmlgui5/kturtle/
|
||||||
%{_kf5_htmldir}/en/kturtle/
|
%dir %{_datadir}/katepart
|
||||||
|
%{_datadir}/katepart/syntax/
|
||||||
|
%{_datadir}/kturtle
|
||||||
|
%doc %{_kf5_htmldir}/en/kturtle/
|
||||||
%dir %{_kf5_appstreamdir}
|
%dir %{_kf5_appstreamdir}
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%doc COPYING*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user