forked from pool/ktouch
Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/ktouch?expand=0&rev=47
This commit is contained in:
parent
0f96ec690e
commit
24b8ee37f8
14
ktouch.spec
14
ktouch.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: ktouch
|
Name: ktouch
|
||||||
Version: 17.03.90
|
Version: 17.03.90
|
||||||
@ -64,6 +65,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%description
|
%description
|
||||||
A KDE program that helps you to learn and practice touch typing.
|
A KDE program that helps you to learn and practice touch typing.
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%lang_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -76,6 +81,10 @@ 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.ktouch X-KDE-Edu-Teaching
|
%suse_update_desktop_file org.kde.ktouch X-KDE-Edu-Teaching
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -92,4 +101,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|||||||
%{_kf5_iconsdir}/hicolor/*/apps/ktouch.*
|
%{_kf5_iconsdir}/hicolor/*/apps/ktouch.*
|
||||||
%{_kf5_mandir}/man1/ktouch.1.gz
|
%{_kf5_mandir}/man1/ktouch.1.gz
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%doc COPYING*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user