SHA256
1
0
forked from pool/kmines

Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kmines?expand=0&rev=46
This commit is contained in:
Luca Beltrame 2017-04-15 13:28:30 +00:00 committed by Git OBS Bridge
parent 2caf4a8df6
commit c1660f4f52

View File

@ -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: kmines Name: kmines
Version: 17.03.90 Version: 17.03.90
@ -74,6 +75,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
KMines is the classical Minesweeper game where you have to find mines KMines is the classical Minesweeper game where you have to find mines
by logical deduction. by logical deduction.
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q -n kmines-%{version} %setup -q -n kmines-%{version}
@ -83,6 +88,10 @@ by logical deduction.
%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 -r org.kde.kmines Game LogicGame %suse_update_desktop_file -r org.kde.kmines Game LogicGame
%files %files
@ -97,4 +106,9 @@ by logical deduction.
%{_kf5_kxmlguidir}/ %{_kf5_kxmlguidir}/
%{_kf5_appstreamdir}/ %{_kf5_appstreamdir}/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog