This commit is contained in:
parent
ed10e054ac
commit
615be4e569
15
lskat.spec
15
lskat.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: lskat
|
Name: lskat
|
||||||
Version: 17.07.90
|
Version: 17.07.90
|
||||||
@ -54,6 +55,7 @@ BuildRequires: pkgconfig(Qt5Widgets)
|
|||||||
Requires: kdegames-carddecks-default
|
Requires: kdegames-carddecks-default
|
||||||
Obsoletes: lskat5 < %{version}
|
Obsoletes: lskat5 < %{version}
|
||||||
Provides: lskat5 = %{version}
|
Provides: lskat5 = %{version}
|
||||||
|
Recommends: %{name}-lang
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -62,6 +64,10 @@ for the German game (Offiziers)-Skat. The program includes many
|
|||||||
different carddecks to choose. A computer opponent can play for any of
|
different carddecks to choose. A computer opponent can play for any of
|
||||||
the players.
|
the players.
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%lang_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -71,6 +77,10 @@ the players.
|
|||||||
|
|
||||||
%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.lskat Game CardGame
|
%suse_update_desktop_file -r org.kde.lskat Game CardGame
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -84,4 +94,9 @@ the players.
|
|||||||
%{_kf5_iconsdir}/hicolor/*/apps/lskat.*
|
%{_kf5_iconsdir}/hicolor/*/apps/lskat.*
|
||||||
%{_kf5_kxmlguidir}/lskat/
|
%{_kf5_kxmlguidir}/lskat/
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%doc COPYING*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user