forked from pool/kwordquiz
Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kwordquiz?expand=0&rev=48
This commit is contained in:
parent
7d9a415c5a
commit
9332f93805
@ -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: kwordquiz
|
Name: kwordquiz
|
||||||
Version: 17.03.90
|
Version: 17.03.90
|
||||||
@ -54,6 +55,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%description
|
%description
|
||||||
A powerful flashcard and vocabulary learning program.
|
A powerful flashcard and vocabulary learning program.
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%lang_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -66,6 +71,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
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -84,4 +93,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|||||||
%{_datadir}/kxmlgui5/kwordquiz/
|
%{_datadir}/kxmlgui5/kwordquiz/
|
||||||
%{_kf5_configdir}/kwordquiz.knsrc
|
%{_kf5_configdir}/kwordquiz.knsrc
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%doc COPYING*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user