File bovo.spec of Package bovo4
#
# spec file for package bovo
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: bovo
BuildRequires: libkdegames-devel
BuildRequires: xz
Summary: Five-in-a-row Board Game
License: GPL-2.0+
Group: Amusements/Games/Board/Other
Url: http://www.kde.org
Version: 14.12.3
Release: 0
Source0: bovo-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
Bovo is a Gomoku (Connect Five, Five in a row, X and O, etc) game for
KDE.
%prep
%setup -q -n bovo-%{version}
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
%kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%_kde4_iconsdir/hicolor/*/apps/bovo.*
%{_kde4_appsdir}/bovo/
%{_kde4_htmldir}/en/bovo/
%{_kde4_applicationsdir}/bovo.desktop
%{_kde4_bindir}/bovo
%dir %{_kde4_appsdir}/appdata
%{_kde4_appsdir}/appdata/bovo.appdata.xml
%changelog